#include <FixedwingLandDetector.h>
|
| DEFINE_PARAMETERS_CUSTOM_PARENT (LandDetector,(ParamFloat< px4::params::LNDFW_XYACC_MAX >) _param_lndfw_xyaccel_max,(ParamFloat< px4::params::LNDFW_AIRSPD_MAX >) _param_lndfw_airspd,(ParamFloat< px4::params::LNDFW_VEL_XY_MAX >) _param_lndfw_vel_xy_max,(ParamFloat< px4::params::LNDFW_VEL_Z_MAX >) _param_lndfw_vel_z_max) |
|
Definition at line 55 of file FixedwingLandDetector.h.
◆ FixedwingLandDetector()
land_detector::FixedwingLandDetector::FixedwingLandDetector |
( |
| ) |
|
◆ ~FixedwingLandDetector()
land_detector::FixedwingLandDetector::~FixedwingLandDetector |
( |
| ) |
|
|
overridedefault |
◆ _get_landed_state()
bool land_detector::FixedwingLandDetector::_get_landed_state |
( |
| ) |
|
|
overrideprotectedvirtual |
- Returns
- true if UAV is in a landed state.
Implements land_detector::LandDetector.
Definition at line 60 of file FixedwingLandDetector.cpp.
References land_detector::LandDetector::_actuator_armed, _airspeed, _airspeed_filtered, land_detector::LandDetector::_vehicle_acceleration, land_detector::LandDetector::_vehicle_local_position, _velocity_xy_filtered, _velocity_z_filtered, _xy_accel_filtered, actuator_armed_s::armed, hrt_elapsed_time(), vehicle_local_position_s::timestamp, airspeed_s::true_airspeed_m_s, vehicle_local_position_s::vx, vehicle_local_position_s::vy, vehicle_local_position_s::vz, and vehicle_acceleration_s::xyz.
◆ _update_topics()
void land_detector::FixedwingLandDetector::_update_topics |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ DEFINE_PARAMETERS_CUSTOM_PARENT()
land_detector::FixedwingLandDetector::DEFINE_PARAMETERS_CUSTOM_PARENT |
( |
LandDetector |
, |
|
|
(ParamFloat< px4::params::LNDFW_XYACC_MAX >) |
_param_lndfw_xyaccel_max, |
|
|
(ParamFloat< px4::params::LNDFW_AIRSPD_MAX >) |
_param_lndfw_airspd, |
|
|
(ParamFloat< px4::params::LNDFW_VEL_XY_MAX >) |
_param_lndfw_vel_xy_max, |
|
|
(ParamFloat< px4::params::LNDFW_VEL_Z_MAX >) |
_param_lndfw_vel_z_max |
|
) |
| |
|
private |
◆ _airspeed
airspeed_s land_detector::FixedwingLandDetector::_airspeed {} |
|
private |
◆ _airspeed_filtered
float land_detector::FixedwingLandDetector::_airspeed_filtered {0.0f} |
|
private |
◆ _airspeed_sub
◆ _velocity_xy_filtered
float land_detector::FixedwingLandDetector::_velocity_xy_filtered {0.0f} |
|
private |
◆ _velocity_z_filtered
float land_detector::FixedwingLandDetector::_velocity_z_filtered {0.0f} |
|
private |
◆ _xy_accel_filtered
float land_detector::FixedwingLandDetector::_xy_accel_filtered {0.0f} |
|
private |
◆ FLYING_TRIGGER_TIME_US
constexpr hrt_abstime land_detector::FixedwingLandDetector::FLYING_TRIGGER_TIME_US = 0_us |
|
staticprivate |
◆ LANDED_TRIGGER_TIME_US
constexpr hrt_abstime land_detector::FixedwingLandDetector::LANDED_TRIGGER_TIME_US = 2_s |
|
staticprivate |
The documentation for this class was generated from the following files: