mavlink

receiving and sending mavlink messages using pymavlink library

蓝咒 提交于 2020-01-25 07:30:13
问题 I have created a proxy between QGC(Ground Control Station) and vehicle in Python. Here is the code: gcs_conn = mavutil.mavlink_connection('tcpin:localhost:15795') gcs_conn.wait_heartbeat() print("Heartbeat from system (system %u component %u)" %(gcs_conn.target_system, gcs_conn.target_system)) vehicle = mavutil.mavlink_connection('tcp:localhost:5760') vehicle.wait_heartbeat() # recieving heartbeat from the vehicle print("Heartbeat from system (system %u component %u)" %(vehicle.target_system,

Have any of these attempts to get GPS time into a mavlink been successful?

我只是一个虾纸丫 提交于 2019-12-25 09:11:04
问题 I'm trying to get GPS time out of a pixhawk. I've found a bunch of discussions about such but none that appear to have been resolved. Is there any update? This guy and this guy were both told to just use system time (which is not UTC) I also tried to get GLOBAL_POSITION_INT_COV but found it was not available. Here is a long dev discussion about such that was never resolved (circa 2013) Another dev discussion that references a bunch of pull requests for such - but doesn't look like any of them