Simulation plane by plane #93
-
Is it possible to simulation robot position by iterating over plane by plane? When I am using Program Simulation component with normalized values from 0 to 1. It is very hard check the target position. Ideally I would like to have a slider from 0.00 to n where n is the number of planes and each integer 1.00 or 2.00 would give a robot pose at the given plane. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, you can use the 'Deconstruct program targets' component. It outputs different parameters that are calculated for each target when creating the program. You connect it to the Program output of the 'create program' component. You can then use an integer slider and list item to extract parameters one by one. You could either extract the joints and then use the Kinematics component to visualize the robot, or you could use the partial sum of the 'delta time' and feed this as the time value of the simulation component. But I find that I usually don't really need this. I know where I placed the targets, and can snap to them with planes I created. I want to see in the simulation how the robot gets there and leaves in case it hits something or does something unexpected. |
Beta Was this translation helpful? Give feedback.
-
Thanks it works, I added short snippet:
|
Beta Was this translation helpful? Give feedback.
Yes, you can use the 'Deconstruct program targets' component. It outputs different parameters that are calculated for each target when creating the program. You connect it to the Program output of the 'create program' component.
You can then use an integer slider and list item to extract parameters one by one. You could either extract the joints and then use the Kinematics component to visualize the robot, or you could use the partial sum of the 'delta time' and feed this as the time value of the simulation component.
But I find that I usually don't really need this. I know where I placed the targets, and can snap to them with planes I created. I want to see in the simulation how the robo…