mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 11:13:34 +08:00
mavlink: initial OPEN_DRONE_ID_BASIC_ID/OPEN_DRONE_ID_LOCATION support
This commit is contained in:
committed by
Daniel Agar
parent
b179427b4c
commit
0af87ec745
@@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (c) 2012-2020 PX4 Development Team. All rights reserved.
|
||||
* Copyright (c) 2012-2022 PX4 Development Team. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -95,6 +95,8 @@
|
||||
#include "streams/MOUNT_ORIENTATION.hpp"
|
||||
#include "streams/NAV_CONTROLLER_OUTPUT.hpp"
|
||||
#include "streams/OBSTACLE_DISTANCE.hpp"
|
||||
#include "streams/OPEN_DRONE_ID_BASIC_ID.hpp"
|
||||
#include "streams/OPEN_DRONE_ID_LOCATION.hpp"
|
||||
#include "streams/OPTICAL_FLOW_RAD.hpp"
|
||||
#include "streams/ORBIT_EXECUTION_STATUS.hpp"
|
||||
#include "streams/PING.hpp"
|
||||
@@ -517,6 +519,12 @@ static const StreamListItem streams_list[] = {
|
||||
#if defined(OBSTACLE_DISTANCE_HPP)
|
||||
create_stream_list_item<MavlinkStreamObstacleDistance>(),
|
||||
#endif // OBSTACLE_DISTANCE_HPP
|
||||
#if defined(OPEN_DRONE_ID_BASIC_ID_HPP)
|
||||
create_stream_list_item<MavlinkStreamOpenDroneIdBasicId>(),
|
||||
#endif // OPEN_DRONE_ID_BASIC_ID_HPP
|
||||
#if defined(OPEN_DRONE_ID_LOCATION)
|
||||
create_stream_list_item<MavlinkStreamOpenDroneIdLocation>(),
|
||||
#endif // OPEN_DRONE_ID_LOCATION
|
||||
#if defined(ESC_INFO_HPP)
|
||||
create_stream_list_item<MavlinkStreamESCInfo>(),
|
||||
#endif // ESC_INFO_HPP
|
||||
|
||||
Reference in New Issue
Block a user