-
Notifications
You must be signed in to change notification settings - Fork 310
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
PoseSensor
semantic component
#1775
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grand! 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1775 +/- ##
==========================================
+ Coverage 87.19% 87.26% +0.07%
==========================================
Files 118 121 +3
Lines 11369 11429 +60
Branches 1049 1038 -11
==========================================
+ Hits 9913 9974 +61
Misses 1094 1094
+ Partials 362 361 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please have a look at the failing precommit job.
4df0863
to
7a358ea
Compare
Thanks for the fast review! The pre-commit errors should be fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add this to the release_notes document?
d1c5315
Sure, i added a line to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(cherry picked from commit 8cdded3) # Conflicts: # controller_interface/CMakeLists.txt # controller_interface/package.xml # doc/release_notes.rst
(cherry picked from commit 8cdded3) # Conflicts: # doc/release_notes.rst
This PR implements a new semantic components for robots or sensors that can meassure a cartesian pose. I will add a PR for a
pose_broadcaster
controller using this toros2_controllers
shortly.My use-case for this functionality is for robots that can provide their cartesian TCP pose in addition to their normal joint state (e.g. UR and Kuka arms). This can be more accurate than forward kinematics, as the robot can use its factory calibration for determining this pose. In the future, there could also be different kinds of sensors implementing this (e.g. mocap) to allow their data to be used in a controller.
I tried my best to keep the implementation close to the existing fts and imu components. The tests should also cover similar use, in particular loading of the controller and lifecycle transitions as well as verifying a published pose.