mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 13:48:54 +08:00
mavlink: rename OPTICAL_FLOW header and defines to OPTICAL_FLOW_RAD
Signed-off-by: Antonio Sanjurjo Cortés <74329840+antonio-sc66@users.noreply.github.com>
This commit is contained in:
committed by
Daniel Agar
parent
7dde298664
commit
aa80167b47
@@ -121,7 +121,7 @@ using matrix::wrap_2pi;
|
||||
#include "streams/HIL_STATE_QUATERNION.hpp"
|
||||
#include "streams/MOUNT_ORIENTATION.hpp"
|
||||
#include "streams/OBSTACLE_DISTANCE.hpp"
|
||||
#include "streams/OPTICAL_FLOW.hpp"
|
||||
#include "streams/OPTICAL_FLOW_RAD.hpp"
|
||||
#include "streams/ORBIT_EXECUTION_STATUS.hpp"
|
||||
#include "streams/PING.hpp"
|
||||
#include "streams/PROTOCOL_VERSION.hpp"
|
||||
@@ -3945,9 +3945,9 @@ static const StreamListItem streams_list[] = {
|
||||
create_stream_list_item<MavlinkStreamRCChannels>(),
|
||||
create_stream_list_item<MavlinkStreamManualControl>(),
|
||||
create_stream_list_item<MavlinkStreamTrajectoryRepresentationWaypoints>(),
|
||||
#if defined(OPTICAL_FLOW_HPP)
|
||||
#if defined(OPTICAL_FLOW_RAD_HPP)
|
||||
create_stream_list_item<MavlinkStreamOpticalFlowRad>(),
|
||||
#endif // OPTICAL_FLOW_HPP
|
||||
#endif // OPTICAL_FLOW_RAD_HPP
|
||||
create_stream_list_item<MavlinkStreamActuatorControlTarget<0> >(),
|
||||
create_stream_list_item<MavlinkStreamActuatorControlTarget<1> >(),
|
||||
#if defined(NAMED_VALUE_FLOAT_HPP)
|
||||
|
||||
+3
-3
@@ -31,8 +31,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef OPTICAL_FLOW_HPP
|
||||
#define OPTICAL_FLOW_HPP
|
||||
#ifndef OPTICAL_FLOW_RAD_HPP
|
||||
#define OPTICAL_FLOW_RAD_HPP
|
||||
|
||||
#include <uORB/topics/optical_flow.h>
|
||||
|
||||
@@ -110,4 +110,4 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // OPTICAL_FLOW_HPP
|
||||
#endif // OPTICAL_FLOW_RAD_HPP
|
||||
Reference in New Issue
Block a user