-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add lease to graph_nav #141
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.
LGTM, thank you for the PR!
Pull Request Test Coverage Report for Build 11054013245Details
💛 - Coveralls |
@IoTDan can you run |
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.
good to merge after linting
@tcappellari-bdai @khughes-bdai pre-commit run and new commit submitted. thanks! |
bdaiinstitute/spot_ros2#486
Hello!
thank you for creating and maintaining this repo. It has been extremely helpful.
I did some work with the GraphNav ROS2 services and action server.
While I was able to get it working, i encountered some issues, and wanted to share them.
I very well could have been using the ROS2 interfaces for SPOT incorrectly, but this usage pattern was built off reading the SPOT V4.0.3 documentation and samples, and looking at the examples, source code and documentation in this REPO.
To get SPOT working using GraphNav, I did the following:
These work without any issue, with the 3rd step being the waypoint where our base station is.
we did all these from teh command line.
the fourth step , which calls the action server navigate_to had issues.
We found we had to make 3 changes to use this ROS2 action server:
in spot_wrapper/spot_Wrapper/spot_graph_nav.py, we had to add the request for a lease in set_initial_localization_waypoint (new lines 296-298)
in spot_driver/spot_driver/spot_ros2.py (lines 2823 - 2826) we had to change
to
waypoint_id=goal_handle.request.waypoint_id,
in spot_msgs/action/NavigateTO.action we needed to change the definition from
string upload_path # Absolute path to map_directory, which is downloaded from tablet controller
string navigate_to # Waypoint id string for where to go
bool initial_localization_fiducial # Tells the initializer whether to use fiducials
string initial_localization_waypoint # Waypoint id to trigger localization
bool success # indicate successful run of triggered service
string message # informational, e.g. for error messages
string waypoint_id
to
It looks as though the action server interface changed in implementation, but the action server interface was not updated.
did I call the API wrong, or did we find valid bugs?
thanks
Dan