Browse Source

Revert "reduced acceptable_joint_error for head tilt" because it is unnecessary as dynamixel servos do not require a push_command() call

bugfix/dropped-commands
hello-jackson 1 year ago
parent
commit
9655eca1a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      stretch_core/nodes/command_groups.py

+ 1
- 1
stretch_core/nodes/command_groups.py View File

@ -58,7 +58,7 @@ class HeadPanCommandGroup(SimpleCommandGroup):
class HeadTiltCommandGroup(SimpleCommandGroup): class HeadTiltCommandGroup(SimpleCommandGroup):
def __init__(self, range_rad=None, calibrated_offset_rad=None, calibrated_looking_up_offset_rad=None, backlash_transition_angle_rad=None, node=None): def __init__(self, range_rad=None, calibrated_offset_rad=None, calibrated_looking_up_offset_rad=None, backlash_transition_angle_rad=None, node=None):
SimpleCommandGroup.__init__(self, 'joint_head_tilt', range_rad, acceptable_joint_error=0.15, node=node)
SimpleCommandGroup.__init__(self, 'joint_head_tilt', range_rad, acceptable_joint_error=0.52, node=node)
if calibrated_offset_rad is None: if calibrated_offset_rad is None:
calibrated_offset_rad = node.controller_parameters['tilt_angle_offset'] calibrated_offset_rad = node.controller_parameters['tilt_angle_offset']
self.calibrated_offset_rad = calibrated_offset_rad self.calibrated_offset_rad = calibrated_offset_rad

Loading…
Cancel
Save