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
# If is_primary_planning_scene_monitor is set to true, the Servo server's PlanningScene advertises the /get_planning_scene service,
33
34
# which other nodes can use as a source for information about the planning environment.
34
35
# NOTE: If a different node in your system is responsible for the "primary" planning scene instance (e.g. the MoveGroup node),
35
36
# then is_primary_planning_scene_monitor needs to be set to false.
36
37
is_primary_planning_scene_monitor: true
38
+
check_octomap_collisions: false # Check collision against the octomap (if a 3D sensor plugin is available)
37
39
38
40
## MoveIt properties
39
-
move_group_name: panda_arm # Often 'manipulator' or 'arm'
40
-
planning_frame: panda_link0 # The MoveIt planning frame. Often 'base_link' or 'world'
41
-
42
-
## Other frames
43
-
ee_frame: panda_hand # The name of the end effector link, used to return the EE pose
41
+
move_group_name: panda_arm # Often 'manipulator' or 'arm'
44
42
45
43
## Configure handling of singularities and joint limits
46
-
lower_singularity_threshold: 17.0# Start decelerating when the condition number hits this (close to singularity)
47
-
hard_stop_singularity_threshold: 30.0# Stop when the condition number hits this
48
-
joint_limit_margin: 0.1# added as a buffer to joint limits [radians]. If moving quickly, make this larger.
49
-
leaving_singularity_threshold_multiplier: 2.0# Multiply the hard stop limit by this when leaving singularity.
44
+
lower_singularity_threshold: 30.0# Start decelerating when the condition number hits this (close to singularity)
45
+
hard_stop_singularity_threshold: 50.0# Stop when the condition number hits this
46
+
leaving_singularity_threshold_multiplier: 2.0# Multiply the hard stop limit by this when leaving singularity (see https://github.com/moveit/moveit2/pull/620)
47
+
# Added as a buffer to joint variable position bounds [in that joint variable's respective units].
48
+
# Can be of size 1, which applies the margin to all joints, or the same size as the number of degrees of freedom of the active joint group.
49
+
# If moving quickly, make these values larger.
50
+
joint_limit_margins: [0.12]
50
51
51
52
## Topic names
52
53
cartesian_command_in_topic: ~/delta_twist_cmds # Topic for incoming Cartesian twist commands
53
-
joint_command_in_topic: ~/delta_joint_cmds # Topic for incoming joint angle commands
54
-
joint_topic: /joint_states
55
-
status_topic: ~/status # Publish status to this topic
56
-
command_out_topic: /panda_arm_controller/joint_trajectory # Publish outgoing commands here
54
+
joint_command_in_topic: ~/delta_joint_cmds # Topic for incoming joint angle commands
55
+
joint_topic: /joint_states# Get joint states from this tpoic
56
+
status_topic: ~/status # Publish status to this topic
57
+
command_out_topic: /panda_arm_controller/joint_trajectory # Publish outgoing commands here
57
58
58
59
## Collision checking for the entire robot body
59
-
check_collisions: true # Check collisions?
60
-
collision_check_rate: 10.0# [Hz] Collision-checking can easily bog down a CPU if done too often.
61
-
self_collision_proximity_threshold: 0.01# Start decelerating when a self-collision is this far [m]
62
-
scene_collision_proximity_threshold: 0.02# Start decelerating when a scene collision is this far [m]
60
+
check_collisions: true # Check collisions?
61
+
collision_check_rate: 10.0# [Hz] Collision-checking can easily bog down a CPU if done too often.
62
+
self_collision_proximity_threshold: 0.01# Start decelerating when a self-collision is this far [m]
63
+
scene_collision_proximity_threshold: 0.02# Start decelerating when a scene collision is this far [m]
@@ -222,7 +224,11 @@ selected using the *command_out_type* parameter, and published on the topic spec
222
224
223
225
The command type can be selected using the ``ServoCommandType`` service, see definition :moveit_msgs_codedir:`ServoCommandType <srv/ServoCommandType.srv>`.
224
226
225
-
From cli : ``ros2 service call /<node_name>/switch_command_type moveit_msgs/srv/ServoCommandType "{command_type: 1}"``
227
+
From the CLI:
228
+
229
+
.. code-block:: bash
230
+
231
+
ros2 service call /<node_name>/switch_command_type moveit_msgs/srv/ServoCommandType "{command_type: 1}"
226
232
227
233
Programmatically:
228
234
@@ -248,10 +254,22 @@ Similarly, servoing can be paused using the pause service ``<node_name>/pause_se
248
254
249
255
When using the ROS interface, the status of Servo is available on the topic ``/<node_name>/status``, see definition :moveit_msgs_codedir:`ServoStatus <msg/ServoStatus.msg>`.
Once the demo is running, the robot can be teleoperated through the keyboard.
254
264
255
-
Launch the keyboard demo: ``ros2 run moveit_servo servo_keyboard_input``.
265
+
Launch the keyboard demo:
266
+
267
+
.. code-block:: bash
268
+
269
+
ros2 run moveit_servo servo_keyboard_input
256
270
257
271
An example of using the pose commands in the context of servoing to open a door can be seen in this :codedir:`example <examples/realtime_servo/src/pose_tracking_tutorial.cpp>`.
0 commit comments