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
bc7178c5
Commit
bc7178c5
authored
8 years ago
by
sander
Committed by
Lorenz Meier
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Allow mission with active DL and DLL failsafe off
parent
e8a87538
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/commander/state_machine_helper.cpp
+2
-3
2 additions, 3 deletions
src/modules/commander/state_machine_helper.cpp
with
2 additions
and
3 deletions
src/modules/commander/state_machine_helper.cpp
+
2
−
3
View file @
bc7178c5
...
...
@@ -801,10 +801,9 @@ bool set_nav_state(struct vehicle_status_s *status, struct commander_state_s *in
/* datalink loss disabled:
* check if both, RC and datalink are lost during the mission
* or
RC is
lost after the mission finishes in air: this should always trigger RCRECOVER */
* or
all links are
lost after the mission finishes in air: this should always trigger RCRECOVER */
}
else
if
(
!
data_link_loss_enabled
&&
((
status
->
rc_signal_lost
&&
status
->
data_link_lost
)
||
(
status
->
rc_signal_lost
&&
!
landed
&&
mission_finished
)))
{
}
else
if
(
!
data_link_loss_enabled
&&
status
->
rc_signal_lost
&&
status
->
data_link_lost
&&
!
landed
&&
mission_finished
)
{
status
->
failsafe
=
true
;
if
(
status_flags
->
condition_global_position_valid
&&
status_flags
->
condition_home_position_valid
)
{
...
...
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