Skip to content
Snippets Groups Projects
Commit 096d7da4 authored by Matthias Grob's avatar Matthias Grob Committed by Beat Küng
Browse files

mc_pos_control: fix doxygen comments, @bkueng review input

parent 35a486bf
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ public: ...@@ -102,7 +102,7 @@ public:
private: private:
bool _in_smooth_takeoff = false; /**<true if takeoff ramp is applied */ bool _in_smooth_takeoff = false; /**< true if takeoff ramp is applied */
orb_advert_t _att_sp_pub{nullptr}; /**< attitude setpoint publication */ orb_advert_t _att_sp_pub{nullptr}; /**< attitude setpoint publication */
orb_advert_t _traj_sp_pub{nullptr}; /**< trajectory setpoints publication */ orb_advert_t _traj_sp_pub{nullptr}; /**< trajectory setpoints publication */
...@@ -163,13 +163,13 @@ private: ...@@ -163,13 +163,13 @@ private:
bool _in_failsafe = false; /**< true if failsafe was entered within current cycle */ bool _in_failsafe = false; /**< true if failsafe was entered within current cycle */
/**< Timeout in us for trajectory data to get considered invalid */ /** Timeout in us for trajectory data to get considered invalid */
static constexpr uint64_t TRAJECTORY_STREAM_TIMEOUT_US = 500000; static constexpr uint64_t TRAJECTORY_STREAM_TIMEOUT_US = 500000;
/**< number of tries before switching to a failsafe flight task */ /** number of tries before switching to a failsafe flight task */
static constexpr int NUM_FAILURE_TRIES = 10; static constexpr int NUM_FAILURE_TRIES = 10;
/**< If Flighttask fails, keep 0.2 seconds the current setpoint before going into failsafe land */ /** If Flighttask fails, keep 0.2 seconds the current setpoint before going into failsafe land */
static constexpr uint64_t LOITER_TIME_BEFORE_DESCEND = 200000; static constexpr uint64_t LOITER_TIME_BEFORE_DESCEND = 200000;
/**< During smooth-takeoff, below ALTITUDE_THRESHOLD the yaw-control is turned off ant tilt is limited */ /** During smooth-takeoff, below ALTITUDE_THRESHOLD the yaw-control is turned off ant tilt is limited */
static constexpr float ALTITUDE_THRESHOLD = 0.3f; static constexpr float ALTITUDE_THRESHOLD = 0.3f;
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment