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

[PN-97] Implement Spot's Robot State Publisher in C++ #209

Merged
merged 97 commits into from
Feb 26, 2024

Conversation

abaker-bdai
Copy link
Contributor

@abaker-bdai abaker-bdai commented Dec 7, 2023

This PR adds a new C++-based Spot state publisher node, which replaces the previous functionality in the Spot Python driver.

The default spot_driver.launch.py launch file has been updated to use the C++ publisher

How to Test

Launch the Spot driver through its launch file, and observe that the topics containing info about Spot's state are being published.

@abaker-bdai abaker-bdai changed the title cpp robot state publisher [PN-97] Implement Spot's Robot State Publisher in C++ Dec 15, 2023
@abaker-bdai abaker-bdai marked this pull request as ready for review December 15, 2023 14:41
@abaker-bdai
Copy link
Contributor Author

Looks like Coveralls is failing this PR because I touched the python driver. Coveralls isn't reporting spot_driver_cpp so that's why I assume it's the python package that's having problems. Is there any way I can bypass this failure since all I did was remove code from the python package? @amessing-bdai @jiuguangw

Copy link
Contributor

@jschornak-bdai jschornak-bdai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some initial feedback!

In addition to what I commented on here, you should also add some tests for the geometry type conversion functions you added.

Copy link
Collaborator

@gbrooks-bdai gbrooks-bdai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small things

@jschornak-bdai jschornak-bdai merged commit ec523a2 into main Feb 26, 2024
6 checks passed
@jschornak-bdai jschornak-bdai deleted the abaker/PN-94/robot-state-cpp branch February 26, 2024 15:51
khughes-bdai added a commit that referenced this pull request Feb 26, 2024
## Change Overview

Current `spot_driver.launch.py` launchfile on main does not work, fails with
`executable 'kinematic_node' not found on the libexec directory`
and, when this was fixed,
`executable 'spot_robot_state_publisher_node' not found on the libexec directory`

These errors were introduced with #209 which implemented the robot state publisher in C++ and also changed the name of some nodes. This just updates to the correct node names.

## Testing Done

- [x] successfully able to launch the driver in a ROS 2 environment and control the robot, call services, etc.
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.

None yet

4 participants