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

2 vues (au cours des 30 derniers jours)
Ivana
Ivana le 13 Sep 2012
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 commentaire
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer le 13 Sep 2012
Modifié(e) : Rolfe Dlugy-Hegwer le 13 Sep 2012
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Robotics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by