Anyone know the current status

of this command?  I noticed in

the past there were a few bugs.

When I try using in the sim,

it seems to have no effect at all,

or (once) it had an erratic effect...



Views: 354

Reply to This

Replies to This Discussion

More -- when i set do_control_speed to 0,1,1 (airspeed, 1 m/s, 1% throt), and had it fly

to a waypoint at the same altitude it started at, it did fine until it started to stall

(ie, it glided with no throt).  Then it went nuts trying to right itself.

I should note I have Alt_Cntl_Alg set to 1, so that I can dive steeply.

My guess is it is programmed to not let itself stall and crash.  Given the

various commands I've given it, it's going a bit nuts...

I'm going to try setting a series of way points, each at a lower altitude,

set at horizontal distances that should be no problem to make (throttle off),

given the glide ratio of the RC plane.  Hopefully I'll never hit stall conditions,

and the do_control_speed command won't wig out.

More later,


I discovered this while playing with the HIL Sim, I put it in the wiki here under basic commands: (http://code.google.com/p/ardupilot-mega/wiki/MPWaypoint)

All DO_xxx commands currently need a dummy waypoint placed after the command


Home will be set at WAYPOINT_1 but will not work if WAYPOINT_2 is not there.

I've got waypoints after the Do_Chg_Spd command.  But they

have lat/long data.  When you say "dummy" do you mean 

empty waypoints (all fields set to 0)?

I could only get my do commands to work if there was a waypoint after the do command, but the waypoint wasn't going to be used in my case. I did add it with all fields set to 0.

I didn't try the Chg_Spd command though, just the Set_Servo and Set_Home

Reply to Discussion


Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service