Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autonomy-payload
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
SASC
autonomy-payload
Commits
b1039ab4
Commit
b1039ab4
authored
6 years ago
by
Davis, Duane T
Browse files
Options
Downloads
Patches
Plain Diff
MISSION_PLANNING: Changed swarm_manager.py to not send WPs to AP in standby
parent
a456e769
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ap_mission_planning/src/ap_mission_planning/swarm_manager.py
+1
-7
1 addition, 7 deletions
ap_mission_planning/src/ap_mission_planning/swarm_manager.py
with
1 addition
and
7 deletions
ap_mission_planning/src/ap_mission_planning/swarm_manager.py
+
1
−
7
View file @
b1039ab4
...
@@ -349,13 +349,7 @@ class SwarmManager(nodeable.Nodeable):
...
@@ -349,13 +349,7 @@ class SwarmManager(nodeable.Nodeable):
'''
'''
if
self
.
__swarm_state
==
enums
.
SWARM_READY
or
\
if
self
.
__swarm_state
==
enums
.
SWARM_READY
or
\
self
.
__swarm_state
==
enums
.
OUT_OF_GAME
:
self
.
__swarm_state
==
enums
.
OUT_OF_GAME
:
if
self
.
__swarm_behavior
==
enums
.
SWARM_STANDBY
:
if
self
.
__swarm_behavior
!=
enums
.
SWARM_STANDBY
:
self
.
wp_cmd_msg
.
lat
=
self
.
ap_wpt
.
x
self
.
wp_cmd_msg
.
lon
=
self
.
ap_wpt
.
y
self
.
wp_cmd_msg
.
alt
=
self
.
ap_wpt
.
z
self
.
__publish_wpt
(
self
.
wp_cmd_msg
)
else
:
with
self
.
locks
[
SwarmManager
.
BEHAVIORS
]:
with
self
.
locks
[
SwarmManager
.
BEHAVIORS
]:
try
:
try
:
behavior
=
self
.
__behaviors
[
self
.
__swarm_behavior
]
behavior
=
self
.
__behaviors
[
self
.
__swarm_behavior
]
...
...
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