-
Notifications
You must be signed in to change notification settings - Fork 9
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
Ocean-server battery driver crashes #69
Comments
I did not expect to see this error for the next 20 years yet..
I assume you synchronized your clocks before?
My first hypothesis would be that your battery controller reports
overly long runtime left. This value is parsed into a rostime without
further checks:
https://github.com/PR2/pr2_power_drivers/blob/kinetic-devel/ocean_battery_driver/src/ocean_battery_driver/ocean.cpp#L666
Patches welcome.
Otherwise just look through all the other places where rostime is used and you will probably find
the source of your error soon..
Did you install ros kinetic on an actual PR2?
If yes, please publish your progress somewhere (discourse.ros.org/the pr2-users ml).
This is very interesting for other groups!
|
If only I had seen the message sooner... I have spent the last few hours writing up a python version of the driver. |
:D
Glad to help.
|
This should solve the problem #71 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I installed the version from the ROS repo using apt install ros-kinetic-ocean-battery-driver
When I try to run the rosnode using rosrun ocean_battery_driver ocean_server, I get an error saying:
Any thoughts on what might be going on?
Cheers,
Vik
The text was updated successfully, but these errors were encountered: