PX4 Firmware
PX4 Autopilot Software http://px4.io
ObstacleAvoidance.cpp File Reference
Include dependency graph for ObstacleAvoidance.cpp:

Go to the source code of this file.

Variables

static constexpr uint64_t TRAJECTORY_STREAM_TIMEOUT_US = 500_ms
 Timeout in us for trajectory data to get considered invalid. More...
 
static constexpr uint64_t TIME_BEFORE_FAILSAFE = 500_ms
 If Flighttask fails, keep 0.5 seconds the current setpoint before going into failsafe land. More...
 
static constexpr uint64_t Z_PROGRESS_TIMEOUT_US = 2_s
 

Variable Documentation

◆ TIME_BEFORE_FAILSAFE

constexpr uint64_t TIME_BEFORE_FAILSAFE = 500_ms
static

If Flighttask fails, keep 0.5 seconds the current setpoint before going into failsafe land.

Definition at line 46 of file ObstacleAvoidance.cpp.

Referenced by ObstacleAvoidance::ObstacleAvoidance().

◆ TRAJECTORY_STREAM_TIMEOUT_US

constexpr uint64_t TRAJECTORY_STREAM_TIMEOUT_US = 500_ms
static

Timeout in us for trajectory data to get considered invalid.

Definition at line 44 of file ObstacleAvoidance.cpp.

Referenced by ObstacleAvoidance::injectAvoidanceSetpoints().

◆ Z_PROGRESS_TIMEOUT_US

constexpr uint64_t Z_PROGRESS_TIMEOUT_US = 2_s
static

Definition at line 47 of file ObstacleAvoidance.cpp.

Referenced by ObstacleAvoidance::ObstacleAvoidance().