필터 지우기
필터 지우기

How to send position data to a robot arm through UDP?

조회 수: 3 (최근 30일)
Ivana
Ivana 2012년 9월 13일
I have a functioning Simulink model for a robot arm. Currently it receives data through UDP from a "game" hosted on a Windows PC (the robot arm functions in Real Time Linux). I would like to comunicate to the motors of the robot through a MATLAB code using the udp function, but I don't understand how this should be done. I know I have to create an object, and I have the address and port I want to send the data to, but WHAT do I have to write to say "bring the end effector to position (0,0,0)"?
  댓글 수: 1
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2012년 9월 13일
편집: Rolfe Dlugy-Hegwer 2012년 9월 13일
Hi Ivana. Thanks for asking. Could you help us understand your setup by providing more detailed information? For example, you could say...
I have:
  • ZebraBot ZX-12 Robot Arm running Real Time Linux
  • A "game" running on Windows that controls the robot arm
  • A Simulink model of a Robot Arm
  • MATLAB code that uses the udp function to control the Simulink model
You might be able to discover the data format for controlling the robot arm by:
  • Reading the robot arm documentation
  • Sniffing UDP packets sent to the robot arm

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by