Skip to content

Commit f8da711

Browse files
authored
Update Octomap to work with servo for bite transfer (#33)
* Update octomap to work with servo for bite transfer * Increase singularity threshold to account for head pose far to the left of nominal * Further increased singularity thresholds
1 parent 0166e1b commit f8da711

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

ada_moveit/config/mock_servo.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ servo_node:
4040
# NOTE: If a different node in your system is responsible for the "primary" planning scene instance (e.g. the MoveGroup node),
4141
# then is_primary_planning_scene_monitor needs to be set to false.
4242
is_primary_planning_scene_monitor: false
43+
monitored_planning_scene_topic: "monitored_planning_scene"
4344

4445
## MoveIt properties
4546
move_group_name: jaco_arm # Often 'manipulator' or 'arm'
@@ -56,8 +57,8 @@ servo_node:
5657
num_outgoing_halt_msgs_to_publish: 0
5758

5859
## Configure handling of singularities and joint limits
59-
lower_singularity_threshold: 30.0 # Start decelerating when the condition number hits this (close to singularity)
60-
hard_stop_singularity_threshold: 90.0 # Stop when the condition number hits this
60+
lower_singularity_threshold: 100.0 # Start decelerating when the condition number hits this (close to singularity)
61+
hard_stop_singularity_threshold: 200.0 # Stop when the condition number hits this
6162
joint_limit_margin: 0.2 # added as a buffer to joint limits [radians]. If moving quickly, make this larger.
6263
leaving_singularity_threshold_multiplier: 2.0 # Multiply the hard stop limit by this when leaving singularity (see https://github.com/ros-planning/moveit2/pull/620)
6364

ada_moveit/config/real_servo.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ servo_node:
4040
# NOTE: If a different node in your system is responsible for the "primary" planning scene instance (e.g. the MoveGroup node),
4141
# then is_primary_planning_scene_monitor needs to be set to false.
4242
is_primary_planning_scene_monitor: false
43+
monitored_planning_scene_topic: "monitored_planning_scene"
4344

4445
## MoveIt properties
4546
move_group_name: jaco_arm # Often 'manipulator' or 'arm'
@@ -56,8 +57,8 @@ servo_node:
5657
num_outgoing_halt_msgs_to_publish: 0
5758

5859
## Configure handling of singularities and joint limits
59-
lower_singularity_threshold: 30.0 # Start decelerating when the condition number hits this (close to singularity)
60-
hard_stop_singularity_threshold: 90.0 # Stop when the condition number hits this
60+
lower_singularity_threshold: 100.0 # Start decelerating when the condition number hits this (close to singularity)
61+
hard_stop_singularity_threshold: 200.0 # Stop when the condition number hits this
6162
joint_limit_margin: 0.2 # added as a buffer to joint limits [radians]. If moving quickly, make this larger.
6263
leaving_singularity_threshold_multiplier: 2.0 # Multiply the hard stop limit by this when leaving singularity (see https://github.com/ros-planning/moveit2/pull/620)
6364

@@ -72,4 +73,4 @@ servo_node:
7273
check_collisions: true # Check collisions?
7374
collision_check_rate: 10.0 # [Hz] Collision-checking can easily bog down a CPU if done too often.
7475
self_collision_proximity_threshold: 0.01 # Start decelerating when a self-collision is this far [m]
75-
scene_collision_proximity_threshold: 0.0001 # Start decelerating when a scene collision is this far [m]
76+
scene_collision_proximity_threshold: 0.01 # Start decelerating when a scene collision is this far [m]

ada_moveit/config/sensors_3d.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ default_sensor:
99
near_clipping_plane_distance: 0.02
1010
far_clipping_plane_distance: 5.0
1111
shadow_threshold: 0.2
12-
padding_scale: 4.0
13-
padding_offset: 0.03
12+
padding_scale: 1.0
13+
padding_offset: 0.00
1414
max_update_rate: 3.0
1515
filtered_cloud_topic: filtered_cloud
1616

0 commit comments

Comments
 (0)