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:
Matthias Grob
2020-11-19 19:00:37 +01:00
parent 41b56f20b8
commit 0ca63120eb
3 changed files with 112 additions and 0 deletions
+4
View File
@@ -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>(),