Maritime-Robotics-Student-Society / sailing-robot

Southampton sailing robot
http://www.sotonsailrobot.org
Other
87 stars 46 forks source link

setclock doesn't get time messages #243

Open Nanoseb opened 6 years ago

Nanoseb commented 6 years ago

Setting the clock via GPS with setclock doesn't seems to work if the node was run before. We just waited for a while and it didn't found any time message (we had a gps fix). Maybe the time messages is turned off via the ublox messages we send when running the gps node. I think the best way to do that would be to activate time messages at the beginning of setclock.

Nanoseb commented 6 years ago

after reading the code it seems that time messages are already being activated at the beginning of setclock. So something else happened or we just didn't wait for long enough.