Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional robot state initialization #61

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Conversation

captain-yoshi
Copy link

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