-
Notifications
You must be signed in to change notification settings - Fork 68
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
[SW-822] Spot Driver without gripper #430
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.
I didn't realize this wasn't already a feature??
Pull Request Test Coverage Report for Build 9961613953Details
💛 - Coveralls |
This is maybe a topic for another PR, but how does this work with the image publishers? Eg what will happen if the robot is gripperless but the C++ image publishers try to request the hand camera? |
if has_arm and not self.gripperless: | ||
all_cameras.append("hand") | ||
self.declare_parameter("cameras_used", all_cameras) |
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.
I think this param is not used at all in this node and can be completely deleted (it's all in C++ now)
@@ -861,7 +867,7 @@ def __init__(self, parameter_list: Optional[typing.List[Parameter]] = None, **kw | |||
self.handle_graph_nav_set_localization, | |||
callback_group=self.group, | |||
) | |||
if has_arm: | |||
if has_arm and self.gripperless: |
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.
@tcappellari-bdai shouldn't this be if has_arm and not self.gripperless
?
Change Overview
Added a parameter "gripperless" to indicate if the gripper is attached to the arm or not. If the arm is present but gripper is not, it will skip making the gripper and hand camera services.
Goes with bdaiinstitute/spot_wrapper#125
Testing Done
Tested on a Spot with a special gripperless firmware
Please create a checklist of tests you plan to do and check off the ones that have been completed successfully. Ensure that ROS 2 tests use
domain_coordinator
to prevent port conflicts. Further guidance for testing can be found on the ros utilities wiki.