Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to simulate robot movements using an external input device

#1
I want to simulate a robot in RoboDK using a joystick.
I will be using a Yaskawa 6-axis articulated robot, and the joystick will first try to move the tool coordinate system in x, y, z, rx, ry, rz using keyboard input. What functions and procedures can be used to move a robot in RDK simulation?
#2
I recommend you to take a look a this example which shows how you can move a robot using a keyboard:
https://robodk.com/doc/en/PythonAPI/exam...a-keyboard

You can improve it to integrate any input device such as an XBox controller. You can find the Add-in to control a robot using a Game controller here:
https://robodk.com/addin/com.robodk.app.gamecontroller

And the source code of this Add-in is available here:
https://github.com/RoboDK/Plug-In-Interf...Controller
  




Users browsing this thread:
1 Guest(s)