mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:33:33 +08:00
mavlink: implement COMPONENT_INFORMATION
- implement COMP_METADATA_TYPE_VERSION & add component_version.json.gz to ROMFS for all targets. - implement COMP_METADATA_TYPE_PARAMETER (only enabled for SITL currently)
This commit is contained in:
@@ -104,6 +104,7 @@ using matrix::wrap_2pi;
|
||||
#include "streams/ATTITUDE_TARGET.hpp"
|
||||
#include "streams/AUTOPILOT_VERSION.hpp"
|
||||
#include "streams/COLLISION.hpp"
|
||||
#include "streams/COMPONENT_INFORMATION.hpp"
|
||||
#include "streams/DISTANCE_SENSOR.hpp"
|
||||
#include "streams/ESC_INFO.hpp"
|
||||
#include "streams/ESC_STATUS.hpp"
|
||||
@@ -3151,6 +3152,9 @@ static const StreamListItem streams_list[] = {
|
||||
#if defined(STORAGE_INFORMATION_HPP)
|
||||
create_stream_list_item<MavlinkStreamStorageInformation>(),
|
||||
#endif // STORAGE_INFORMATION_HPP
|
||||
#if defined(COMPONENT_INFORMATION_HPP)
|
||||
create_stream_list_item<MavlinkStreamComponentInformation>(),
|
||||
#endif // COMPONENT_INFORMATION_HPP
|
||||
#if defined(RAW_RPM_HPP)
|
||||
create_stream_list_item<MavlinkStreamRawRpm>()
|
||||
#endif // RAW_RPM_HPP
|
||||
|
||||
Reference in New Issue
Block a user