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

Big mechanism

#1
Screenshot 2025-10-16 152419.png   
We are trying to model a machine with a large number of linear actuators. all actuators are parallel and move independently. 
I does not need to be synchronized with the robot as it will be used mostly for collision detection
I haven't found a way to build a mechanism as such in robotDK so I thought of using a Python script to control it. Is there a better way?
#2
A Python script is the best way to model an array of linear actuators like the one you are showing. I recommend you to use the function to update poses in bulk (setPoses):
Code:
RDK.setPoses(item_list, pose_list)
This will quickly and efficiently place all objects representing your axes with respect to the base object, provoking only one render event.

You can find more information here:
https://robodk.com/doc/en/PythonAPI/robo...k.setPoses
#3
Is it possible to add breakpoints to a Python script for debugging purposes? When added in VSCodium the execution does not stop
#4
You can run your Python script in debug mode in VSCodium or VSCode by selecting Run-Start Debugging (F5).
  




Users browsing this thread:
1 Guest(s)