Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
a1e79f46
Commit
a1e79f46
authored
Sep 06, 2010
by
Mariano Lizarraga
Browse files
Minor comments on the WP Manager
parent
b903fb33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uas/UASWaypointManager.cc
View file @
a1e79f46
...
...
@@ -451,6 +451,7 @@ void UASWaypointManager::writeWaypoints()
current_partner_compid
=
MAV_COMP_ID_WAYPOINTPLANNER
;
//clear local buffer
//TODO: Why not replace with waypoint_buffer.clear() ?
while
(
!
waypoint_buffer
.
empty
())
{
delete
waypoint_buffer
.
back
();
...
...
@@ -473,6 +474,7 @@ void UASWaypointManager::writeWaypoints()
cur_d
->
orbit_direction
=
0
;
cur_d
->
param1
=
cur_s
->
getOrbit
();
cur_d
->
param2
=
cur_s
->
getHoldTime
();
// TODO: Replace this value depending on the type of waypoint
cur_d
->
type
=
1
;
//FIXME: we only use local waypoints at the moment
cur_d
->
seq
=
i
;
// don't read out the sequence number of the waypoint class
cur_d
->
x
=
cur_s
->
getX
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment