Skip to content

Optional robot state initialization - #61

Open
captain-yoshi wants to merge 1 commit into
PickNikRobotics:noetic-develfrom
captain-yoshi:initial-state
Open

Optional robot state initialization#61
captain-yoshi wants to merge 1 commit into
PickNikRobotics:noetic-develfrom
captain-yoshi:initial-state

Conversation

@captain-yoshi

Copy link
Copy Markdown

Ability to set the desired robot state upon startup :

  • Optional parameter
  • If the size of joints and initial_state does not match
    • A warning is issued
    • The robot state reverts to it's default behavior -> 0.0
hardware_interface:
  sim_control_mode: 0
  joints:
    - shoulder_pan_joint
    - shoulder_lift_joint
    - elbow_joint
    - wrist_1_joint
    - wrist_2_joint
    - wrist_3_joint
  initial_state:
    - 0.0
    - 1.5707
    - 0.0
    - 1.5707
    - 0.0
    - 0.0

I can change the warning print and the ros param key to your liking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant