Skip to content

Investigation of Velocity and Acceleration Scaling Factors in Pilz Industrial Motion Planner #648

Answered by lkaising
lkaising asked this question in Q&A
Discussion options

You must be logged in to vote

After investigating further, I can confirm that MTC (Move Task Constructor) is functioning correctly. Using a debugger to trace the scaling factor values, I set a breakpoint on TrajectoryGenerator::validateRequest with a relative motion stage set to 0.1:

(gdb) break TrajectoryGenerator::validateRequest
Breakpoint 1 at 0x7e98b28d0060 (2 locations)
(gdb) continue
Continuing.
...
(gdb) print req.max_velocity_scaling_factor
$4 = 0.10000000000000001
(gdb) print req.max_acceleration_scaling_factor
$5 = 0.10000000000000001

This confirms that the scaling factors are being properly conveyed through the system.

While investigating, I discovered this exact issue has been documented in MoveIt issue #…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lkaising
Comment options

Answer selected by lkaising
@rhaschke
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants