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
304e00f1
Commit
304e00f1
authored
6 years ago
by
Dennis Mannhart
Committed by
Daniel Agar
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ALTITUDE_THRESHOLD lower to 0.3 meters
parent
511563d4
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
+2
-1
2 additions, 1 deletion
src/modules/mc_pos_control/mc_pos_control_main.cpp
with
2 additions
and
1 deletion
src/modules/mc_pos_control/mc_pos_control_main.cpp
+
2
−
1
View file @
304e00f1
...
...
@@ -161,7 +161,8 @@ private:
static
constexpr
int
NUM_FAILURE_TRIES
=
10
;
/**< If Flighttask fails, keep 0.2 seconds the current setpoint before going into failsafe land */
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 */
static
constexpr
float
ALTITUDE_THRESHOLD
=
0.3
f
;
/**
* Hysteresis that turns true once vehicle is armed for MPC_IDLE_TKO seconds.
...
...
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