-
Notifications
You must be signed in to change notification settings - Fork 116
Add time factor support for trajectory time parametrization #547
Add time factor support for trajectory time parametrization #547
Conversation
@@ -609,11 +609,35 @@ | |||
</sizepolicy> | |||
</property> | |||
<property name="maximum"> | |||
<number>1000</number> | |||
<double>1000.000000000000000</double> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this really have changed? Seems this might be affecting something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll revert and test this. It appears a bit weird that the number of planning attempts is set in a QDoubleSpinBox. This should be a plain (integer) SpinBox. Maybe fodder for another (unrelated) Pull Request.
Great job with this! I implemented a similar feature just a few weeks ago, but only in moveit_core. This is much needed. I'm not sure I like the term "motion_execution_time_factor", isn't it more a "motion_execution_velocity_factor" ? In my version I just named it 'velocity_scale'. I'm also curious what we should do about the max acceleration limits - should it also be scaled? The same amount? This might be naive question, I haven't looked into it much though. |
Could you add a quick screenshot of the UI change? |
Hold on merging this until the moveit_msgs release makes it through the pipeline |
@davetcoleman Here's a screenshot of the UI change. I think it makes the motion planning widget a little bit larger. |
That's what I was afraid of... the UI is already too wide IMHO. Can we name it something shorter like Velocity Scale? |
I think it only got higher, not wider. Will make a tad shorter as suggested nevertheless. |
moveit_msgs is in shadow-fixed http://www.ros.org/debbuild/indigo.html?q=moveit_msgs |
I have confirmed it slows down trajectories when displayed in REALTIME in the motion planning rviz plugin. |
…uest Add time factor support for trajectory time parametrization
Thanks for merging -- I'll push new releases shortly |
Released new moveit_core in order to get this building again. |
This adds support for setting a motion_execution_time_factor in the MotionPlanRequest msg, which can be used to scale the velocity bounds in add_time_parametrization.
Includes necessary changes to
Requires other pulls requests in moveit_msgs and moveit_core which are stated below.