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

2 次查看(过去 30 天)
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