ros2_control controller template package [WIP] #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
For my group it was useful to have a package template for
ros2_controlcontrollers. I have started implementation of this to create a controller package and showcase some useful tricks, which became super simple withros2-pkg-create!I created this draft PR to let you know I am working on this and give updates on the progress. I am also curious if you would be interested to merge this alongside the other templates.
The controller which is generated is a joint impedance controller meant for a Franka FR3 robot, a 7-DoF robotic arm. The controller will take in a position reference and generate a torque output based on stiffness and damping parameters.
I currently have implemented:
ros2_controlcontroller including dependencies and a load test.use_subscriberflag is used).use_publisherflag is used).use_subscriberand/oruse_publisherare set.common_interfacessuch asgeometry_msgs/msg/Twistandgeometry_msgs/msg/Wrench. But I decided to stick with joint impedance for now since that is a lot simpler to implement 😉.And I also have some more stuff planned:
Some stuff I am not sure about because of time constraints (any help would be super welcome 😄):
franka_descriptionpackage, but I did not look for a generally available robot description package. Also, it would require quite some refactoring of the code.Let me know what you think!