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

Add optional pre/post chain segment to the default robot_chain #189

Open
wants to merge 4 commits into
base: ros1
Choose a base branch
from

Conversation

captain-yoshi
Copy link

Allows to make every parameter's and computation wrt. a new robot base. This is handy if one wants to have everything computed wrt. a fixed hand frame. I needed a way to be in the hand frame, but also have the PD cartesian gains to also be in the hand frame.

Allows to set an optionnal offset to the end effector. E.g. Be able to reason about a screwdriver (no URDF link) grasped from a gripper.

Uses a ROS Service to update the pre/post segments as a geometry_msgs/PoseStamped. Just set the frame_id to apply the desired pre/post segments. An empty frame_id will remove the corresponding segment.

# Ability to add a chain before or after the robot chain (parsed by the URDF)

# Removes the chain if the frame_id is empty. Otherwise, overwrites the previous chain.
geometry_msgs/PoseStamped pre_robot_chain_offset    # Attached before the robot base link
geometry_msgs/PoseStamped post_robot_chain_offset   # Attached after end effector link
---
bool success
string message

This should only bet set when the controller is stopped.

TODO

  • Update the feedback states with the correct frame_id.
  • Only permit when the controller has not started ?
  • Test with motion controller.
  • Test with compliance controller.
  • Document it.

Ability to update the kinematic chain after the controller's initialization.
Usefull if one wants to have all parameters wrt. a different base link.
E.g. Have everything wrt. the hand frame at startup.

Usefull if one wants to add an offset to the end effector link.
E.g. A gripper that grasps a screwdriver.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants