-
Notifications
You must be signed in to change notification settings - Fork 71
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
Conversation
d6150b3
to
1e5c229
Compare
Looks like Coveralls is failing this PR because I touched the python driver. Coveralls isn't reporting |
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.
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.
spot_driver_cpp/include/spot_driver_cpp/interfaces/parameter_interface_base.hpp
Outdated
Show resolved
Hide resolved
… allow early return
…d unnecessary pointer
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.
small things
spot_driver/include/spot_driver/robot_state/state_middleware_handle.hpp
Outdated
Show resolved
Hide resolved
spot_driver/include/spot_driver/robot_state/state_publisher.hpp
Outdated
Show resolved
Hide resolved
Feedback from review Co-authored-by: Griswald Brooks <157394791+gbrooks-bdai@users.noreply.github.com>
spot_driver/test/include/spot_driver/mock/mock_tf_interface.hpp
Outdated
Show resolved
Hide resolved
## 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.
) - Add a C++-based Spot state publisher node, which replaces the previous functionality in the Spot Python driver. - Update the spot_driver.launch.py launch file to start the new state publisher node. --- Co-authored-by: Joe Schornak <jschornak@theaiinstitute.com> Co-authored-by: gremigi-bdai <146826329+gremigi-bdai@users.noreply.github.com> Co-authored-by: Griswald Brooks <157394791+gbrooks-bdai@users.noreply.github.com>
…te#282) ## 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 bdaiinstitute#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.
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++ publisherHow to Test
Launch the Spot driver through its launch file, and observe that the topics containing info about Spot's state are being published.