You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Servo] Use velocity scaling properly in Cartesian and pose tracking commands (moveit#3007)
* [Servo] Use velocity scaling properly in Cartesian and pose tracking commands
* Tweak tests
* Update moveit_ros/moveit_servo/config/servo_parameters.yaml
Co-authored-by: Sebastian Jahr <[email protected]>
* Tweak configs
* Reduce joint velocity and delay in tests
* Reduce scalings
* Fix expected value with lower speeds
* Coding from your phone is a bad idea
* Update expected values and tolerances
* Protect against division by zero
* More time before integration test starts
---------
Co-authored-by: Sebastian Jahr <[email protected]>
Copy file name to clipboardExpand all lines: moveit_ros/moveit_servo/config/servo_parameters.yaml
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -86,24 +86,23 @@ servo:
86
86
linear: {
87
87
type: double,
88
88
default_value: 0.4,
89
-
description: "Max linear velocity. Unit is [m/s]. Only used for Cartesian commands."
89
+
description: "Max linear velocity in m/s if using speed units or tracking a pose, else a scaling factor on the unitless commanded velocity. Used for Cartesian and pose tracking commands."
90
90
}
91
91
rotational: {
92
92
type: double,
93
93
default_value: 0.8,
94
-
description: "Max angular velocity. Unit is [rad/s]. Only used for Cartesian commands."
94
+
description: "Max angular velocity in rad/s if using speed units or tracking a pose, else a scaling factor on the unitless commanded velocity. Used for Cartesian and pose tracking commands."
95
95
}
96
96
joint: {
97
97
type: double,
98
98
default_value: 0.5,
99
-
description: "Max joint angular/linear velocity. Only used for joint commands on joint_command_in_topic."
99
+
description: "Joint angular/linear velocity scale. Only used for unitless joint commands."
100
100
}
101
101
102
-
103
102
incoming_command_timeout: {
104
103
type: double,
105
104
default_value: 0.1,
106
-
description: "Commands will be discarded if it is older than the timeout.\
105
+
description: "Commands will be discarded if they are older than the timeout, in seconds.\
107
106
Important because ROS may drop some messages."
108
107
}
109
108
@@ -123,7 +122,7 @@ servo:
123
122
linear_tolerance: {
124
123
type: double,
125
124
default_value: 0.001,
126
-
description: "The allowable linear error when tracking a pose.",
125
+
description: "The allowable linear error, in meters, when tracking a pose.",
127
126
validation: {
128
127
gt<>: 0.0
129
128
}
@@ -132,7 +131,7 @@ servo:
132
131
angular_tolerance: {
133
132
type: double,
134
133
default_value: 0.01,
135
-
description: "The allowable angular error when tracking a pose.",
134
+
description: "The allowable angular error, in radians, when tracking a pose.",
0 commit comments