UCM-MESA / mav-visual-stabilizer

1 stars 0 forks source link

mavlink timesync error #2

Open mchen0037 opened 7 years ago

mchen0037 commented 7 years ago

When running the Gazebo simulator in the PX4 Firmware (make posix_sitl_default gazebo), the simulator runs and continuously queues this error message "ERROR [mavlink] [timesync] Hard setting offset."

screenshot from 2017-11-04 14-28-56

Haven't tried running simulator on a different computer yet, but see https://github.com/PX4/Firmware/issues/7263

gzhang8 commented 7 years ago

Good job @mchen0037 . I do have a desktop for you to use. I will show you after my TA today

mchen0037 commented 6 years ago

in Firmware/src/modules/mavlink/mavlink_receiver.cpp, you can edit the error. Search for "Hard setting offset" in the code. (was originally "if (_time_offset != 0) " screenshot from 2018-01-09 23-17-22

I tried setting the error to a larger millisecond count, but it eventually came back, so I just commented the error message out for now.