After my plane has flown its waypoints it returns home, as it should. But how can I get it to start the mission again, without having to land and restart ?
So what I want to do is be able to toggle out of auto mode into say manual, then toggle back to auto mode and have the plane restart the mission from waypoint 1 again.
Cheers
Jamie
Tags:
Permalink Reply by Trent on August 13, 2011 at 3:09am i know in the flight data box it has a button "restart mission" but that's for telemetry.
If you dont have telemetry then im not sure how you would accomplish this.
Permalink Reply by wilsonj on August 13, 2011 at 1:16pm
Permalink Reply by Andre S on August 20, 2011 at 10:07pm I was trying the same but either it was removed or I didn't get the timing right. Now planning to add some extra code that would reset the waypoint index depending on one of the other channel inputs. Not sure how tricky this is actually but let's see.
Has anybody of you found a neat solution (besides installing telemetry:-)?
Permalink Reply by Andre S on August 21, 2011 at 10:37am So, a slightly hacky solution which at least appears to be working on my workbench is to add a couple of lines to process_next_command() inside commands_process.pde, something along the lines of
if (g.waypoint_index > g.waypoint_total) {
if(g.rc_7.radio_in > 1800) {
SendDebug_P("MSG RESTARTING MISSION");
change_command(1);
}}
where channel rc7 is set to a switch on the remote. This is with APM release 2.22.
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.87 members
1280 members
7 members
179 members
16 members
© 2013 Created by Chris Anderson.
Powered by
