11-01-2024, 05:33 AM
Hello!
I've recently been starting to work with the InstructionListJoints() method of the API, and I can't get it to behave as documented:
My repro project is simple:
When I simulate this program, it behaves as expected - a single continuous linear motion from the first to the last pose. But when I extract the list of poses with InstructionListJoints and plot them, the result shows the robot ramping up and down between each target point. In fact, a closer look actually shows some weird double-move for each MoveL operation (see plots below).
Am I missing something, or is this a bug?
Plots of the output from InstructionListJoints:
(RoboDK 5.8.0 on Windows)
I've recently been starting to work with the InstructionListJoints() method of the API, and I can't get it to behave as documented:
Quote:Linear moves are rounded according to the smoothing parameter set inside the program.
My repro project is simple:
- New Station
- Add a program
- In the program, set a rounding (smoothing) instruction with a non-zero parameter
- Add a MoveJ to the current robot position
- Move the TCP linearly a shortish way (~50mm) in some direction
- Add a MoveL to this position
- Repeat the last two steps a few times so that the program should now be a series of collinear MoveL actions.
When I simulate this program, it behaves as expected - a single continuous linear motion from the first to the last pose. But when I extract the list of poses with InstructionListJoints and plot them, the result shows the robot ramping up and down between each target point. In fact, a closer look actually shows some weird double-move for each MoveL operation (see plots below).
Am I missing something, or is this a bug?
Plots of the output from InstructionListJoints:
(RoboDK 5.8.0 on Windows)