-
Notifications
You must be signed in to change notification settings - Fork 65
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
Adds timesync timeout to params #552
Adds timesync timeout to params #552
Conversation
Thanks for the PR! Along with the other comments, could you please also add to the unit tests in |
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.
not to familiar with the stack, but based on the diff it seems like we can avoid using int8_t
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.
Looks good to me! I'm learning this repository myself, so holding off approval because I'm not qualified to issue it. Thank you for the contribution!
Hi @khughes-bdai and @bjin-bdai, thanks for your review and suggestions. Ran the test cases locally. All green. Tested with a robot via WAN VPN. |
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 have one comment about a potential risk with the chrono
usage, but otherwise LGTM
Co-authored-by: Brian Jin <163037159+bjin-bdai@users.noreply.github.com>
Thanks, added your suggestions and tested again. Should be ready to merge. |
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 -- just tested on a robot to double check the behavior. I think this actually might have slightly increased our image publishing speeds too 🎉 thanks!
Merge activity
|
Change Overview
PR #544 added the
WaitForSync
call to establish a timesync with the robot. This function has atimeout
parameter which was hardcoded before. This PR now adds the timeout to theParameterInterface
I needed to add a rclcpp node to
default_spot_api
to get the parameter values, not sure if this is how you intended the use of theParameterInterface
. If you like another approach I am happy to change it :)Testing Done