Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
096d7da4
Commit
096d7da4
authored
6 years ago
by
Matthias Grob
Committed by
Beat Küng
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mc_pos_control: fix doxygen comments, @bkueng review input
parent
35a486bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/mc_pos_control/mc_pos_control_main.cpp
+5
-5
5 additions, 5 deletions
src/modules/mc_pos_control/mc_pos_control_main.cpp
with
5 additions
and
5 deletions
src/modules/mc_pos_control/mc_pos_control_main.cpp
+
5
−
5
View file @
096d7da4
...
@@ -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.3
f
;
static
constexpr
float
ALTITUDE_THRESHOLD
=
0.3
f
;
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment