juancarlostinoco / ardupilot-mega

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

CONDITION_CHANGE_ALT #758

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
CONDITION_CHANGE_ALT enter these (apparent) valid values:
Rate cm/sec = 200
Alt = 100

Write that to apm, then read from apm, result:
Rate cm/sec = 32
Alt = 0

MAVLinkTypes.cs defs and explanations say:
Ascend/descend at rate.  <Delay mission state machine until desired altitude 
reached> |Descent / Ascend rate (m/s)| Empty| Empty| Empty|Lat|Long| Finish 
Altitude
Change_ alt |Rate cm/sec | Alt

Observations:
Not saving desired terminal alt?
Rate being changed cm/sec from 200, to 32?
<cm/sec> units used in display, yet its <m/s> in MAVLinkTypes.cs?

The command being ignored when next waypoint is reached when according to 
MAVLinkTypes.cs it says <Delay mission state machine until desired altitude 
reached>?

I know that this command is treated as a <may> command, re 
http://code.google.com/p/ardupilot-mega/wiki/MAVLink and contradicted in 
MAVLinkTypes.cs. Although there is an override available in the bit-mask (not 
implemented) but I guess the inputs might/sould still be active, to allow 
<Delay mission state machine until desired altitude reached>.

Peter

Original issue reported on code.google.com by multisp...@yahoo.co.uk on 19 Sep 2012 at 11:01