mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 13:21:36 +08:00
mavlink_messages: add GPS_GLOBAL_ORIGIN
sending out local position reference. Only send as anser to a request message command or when the origin was changed from externally to verify.
This commit is contained in:
@@ -113,6 +113,7 @@ using matrix::wrap_2pi;
|
||||
#include "streams/ESC_STATUS.hpp"
|
||||
#include "streams/EXTENDED_SYS_STATE.hpp"
|
||||
#include "streams/FLIGHT_INFORMATION.hpp"
|
||||
#include "streams/GPS_GLOBAL_ORIGIN.hpp"
|
||||
#include "streams/GPS_STATUS.hpp"
|
||||
#include "streams/HIGH_LATENCY2.hpp"
|
||||
#include "streams/HIL_STATE_QUATERNION.hpp"
|
||||
@@ -4301,6 +4302,9 @@ static const StreamListItem streams_list[] = {
|
||||
create_stream_list_item<MavlinkStreamAttitude>(),
|
||||
create_stream_list_item<MavlinkStreamAttitudeQuaternion>(),
|
||||
create_stream_list_item<MavlinkStreamVFRHUD>(),
|
||||
#if defined(GPS_GLOBAL_ORIGIN_HPP)
|
||||
create_stream_list_item<MavlinkStreamGpsGlobalOrigin>(),
|
||||
#endif // GPS_GLOBAL_ORIGIN_HPP
|
||||
create_stream_list_item<MavlinkStreamGPSRawInt>(),
|
||||
create_stream_list_item<MavlinkStreamGPS2Raw>(),
|
||||
create_stream_list_item<MavlinkStreamSystemTime>(),
|
||||
|
||||
Reference in New Issue
Block a user