Skip to content

Commit

Permalink
Add fields in GetCartesianPath srv to scale velocity and acceleration (
Browse files Browse the repository at this point in the history
…#154)

* Add fields to scale velocity and acceleration

Signed-off-by: Yadunund <yadunund@gmail.com>

* Update srv/GetCartesianPath.srv

Co-authored-by: Sebastian Jahr <sebastian.jahr@tuta.io>

* Update documentation in MotionPlanRequest

Signed-off-by: Yadunund <yadunund@openrobotics.org>

---------

Signed-off-by: Yadunund <yadunund@gmail.com>
Signed-off-by: Yadunund <yadunund@openrobotics.org>
Co-authored-by: Sebastian Jahr <sebastian.jahr@tuta.io>
  • Loading branch information
Yadunund and sjahr committed Mar 23, 2023
1 parent a511441 commit e97a788
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions msg/MotionPlanRequest.msg
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ int32 num_planning_attempts
float64 allowed_planning_time

# Scaling factors for optionally reducing the maximum joint velocities and
# accelerations. Allowed values are in (0,1]. The maximum joint velocity and
# acceleration specified in the robot model are multiplied by thier respective
# factors. If either are outside their valid ranges (importantly, this
# includes being set to 0.0), the factor is set to the default value of 1.0
# accelerations. Allowed values are in (0,1]. The maximum joint velocity and
# acceleration specified in the robot model are multiplied by their respective
# factors. If a factor is outside its valid range (importantly, this
# includes being set to 0.0), this factor is set to the default value of 1.0
# internally (i.e., maximum joint velocity or maximum joint acceleration).
float64 max_velocity_scaling_factor
float64 max_acceleration_scaling_factor
Expand Down
9 changes: 9 additions & 0 deletions srv/GetCartesianPath.srv
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ bool avoid_collisions
# Specify additional constraints to be met by the Cartesian path
Constraints path_constraints

# Scaling factors for optionally reducing the maximum joint velocities and
# accelerations. Allowed values are in (0,1]. The maximum joint velocity and
# acceleration specified in the robot model are multiplied by their respective
# factors. If a factor is outside its valid range (importantly, this
# includes being set to 0.0), this factor is set to the default value of 1.0
# internally (i.e., maximum joint velocity or maximum joint acceleration).
float64 max_velocity_scaling_factor
float64 max_acceleration_scaling_factor

---

# The state at which the computed path starts
Expand Down

0 comments on commit e97a788

Please sign in to comment.