Owne / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

WP_total meaning #212

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?

Does WP_total include or exclude home? and are we assuming it is base 0 or base 
1.

There are conflicting implementations.

Original issue reported on code.google.com by Meee...@gmail.com on 21 Oct 2010 at 9:22

GoogleCodeExporter commented 8 years ago
Please point out where you have seen conflicting implementations so that we can 
fix them.

Thx

Original comment by dewei...@gmail.com on 25 Oct 2010 at 5:34

GoogleCodeExporter commented 8 years ago
Possibly related: in line 220 of system.pde it seems that the loop runs over 
the last waypoint, see
http://code.google.com/p/ardupilot-mega/source/browse/ArduPilotMega/trun/system.
pde#220

At least when looking at the data after sending a command list message it 
appears that the command is empty (non-existing command id 255).

Original comment by andre.sc...@gmx.de on 30 Oct 2010 at 12:14

GoogleCodeExporter commented 8 years ago
Related to the parent post: from my current understanding home has index 0 and 
wp_total does not include home (so valid command/waypoint indices are 0, 1, .., 
wp_total).

Original comment by andre.sc...@gmx.de on 30 Oct 2010 at 12:17

GoogleCodeExporter commented 8 years ago

Original comment by jasonshort on 30 Oct 2010 at 6:30

GoogleCodeExporter commented 8 years ago
Jason, could you please comment on the issue status change? system.pde still 
seems to run over the last valid waypoint index, is this so? Thanks..

Original comment by andre.sc...@gmx.de on 31 Oct 2010 at 7:41