ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to set rpi system time at MAVROS startup through Flight Controller GPS?

asked 2021-06-21 14:31:23 -0500

Aaron_Sims gravatar image

I want to set a Raspberry Pi 4 companion computer running Mavros system time using the GPS time in my flight controller via mavlink. The issue I've discovered is I can't start mavros successfully unless the times sync up within a very short range, and if there is no internet connection mavros won't start. It only makes logical sense since there are two embedded systems connected directly to each other and the time is coming off of the GPS from the flight controller that mavros should be smart enough or have a module to set the system time on the Raspberry Pi.

Anybody have a solution? Thanks for any assistance you were able to provide.

Sincerely,

Aaron

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-21 07:11:27 -0500

Zdanek gravatar image

Hi.
Did you get this working? Did you see https://ardupilot.org/dev/docs/ros-ti... it might help you.

Best regards, Zdanek

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-06-21 14:31:23 -0500

Seen: 352 times

Last updated: Jun 21 '21