Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
Ivana
Ivana el 13 de Sept. de 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 comentario
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer el 13 de Sept. de 2012
Editada: Rolfe Dlugy-Hegwer el 13 de Sept. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Robotics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by