mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
flight_mode_manager: delete unused avoidance waypoint
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
#include <uORB/topics/vehicle_command.h>
|
||||
#include <uORB/topics/vehicle_constraints.h>
|
||||
#include <uORB/topics/vehicle_attitude.h>
|
||||
#include <uORB/topics/vehicle_trajectory_waypoint.h>
|
||||
#include <uORB/topics/home_position.h>
|
||||
#include <lib/geo/geo.h>
|
||||
|
||||
@@ -132,12 +131,6 @@ public:
|
||||
*/
|
||||
const landing_gear_s &getGear() { return _gear; }
|
||||
|
||||
/**
|
||||
* Get avoidance desired waypoint
|
||||
* @return desired waypoints
|
||||
*/
|
||||
const vehicle_trajectory_waypoint_s &getAvoidanceWaypoint() { return _desired_waypoint; }
|
||||
|
||||
/**
|
||||
* All setpoints are set to NAN (uncontrolled), timestamp to zero
|
||||
*/
|
||||
@@ -251,12 +244,6 @@ protected:
|
||||
|
||||
landing_gear_s _gear{};
|
||||
|
||||
/**
|
||||
* Desired waypoints.
|
||||
* Goals set by the FCU to be sent to the obstacle avoidance system.
|
||||
*/
|
||||
vehicle_trajectory_waypoint_s _desired_waypoint{};
|
||||
|
||||
DEFINE_PARAMETERS_CUSTOM_PARENT(ModuleParams,
|
||||
(ParamFloat<px4::params::MPC_XY_VEL_MAX>) _param_mpc_xy_vel_max,
|
||||
(ParamFloat<px4::params::MPC_Z_VEL_MAX_DN>) _param_mpc_z_vel_max_dn,
|
||||
|
||||
Reference in New Issue
Block a user