Add MavlinkStreamGPSStatus status class stream via GPS_STATUS.hpp and add PRN code to satellite_info.msg.

This commit is contained in:
mcsauder
2020-10-14 08:26:42 +02:00
committed by Beat Küng
parent de6d31ef3e
commit 047531b924
7 changed files with 112 additions and 6 deletions
+4 -1
View File
@@ -118,6 +118,7 @@ using matrix::wrap_2pi;
#include "streams/ESC_STATUS.hpp"
#include "streams/EXTENDED_SYS_STATE.hpp"
#include "streams/FLIGHT_INFORMATION.hpp"
#include "streams/GPS_STATUS.hpp"
#include "streams/HIGH_LATENCY2.hpp"
#include "streams/HIL_STATE_QUATERNION.hpp"
#include "streams/OBSTACLE_DISTANCE.hpp"
@@ -1761,7 +1762,6 @@ protected:
}
};
class MavlinkStreamGPSRawInt : public MavlinkStream
{
public:
@@ -5021,6 +5021,9 @@ static const StreamListItem streams_list[] = {
#if defined(FLIGHT_INFORMATION_HPP)
create_stream_list_item<MavlinkStreamFlightInformation>(),
#endif // FLIGHT_INFORMATION_HPP
#if defined(GPS_STATUS_HPP)
create_stream_list_item<MavlinkStreamGPSStatus>(),
#endif // GPS_STATUS_HPP
#if defined(STORAGE_INFORMATION_HPP)
create_stream_list_item<MavlinkStreamStorageInformation>(),
#endif // STORAGE_INFORMATION_HPP