ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Plane: not possible to restart mission bug?

Open GrahamDyer opened this issue 13 years ago • 7 comments

Without the Mission Planner or rebooting the APM, it is apparently not possible to restart a mission once the mission has finished (completed it's last waypoint) using the mode switch.

Also with the mode switch it is also apparently not possible to do it during the RTL from last waypoint to home and neither is it possible to do it when the plane has finished RTL and is Loitering around home.

So, basically if you have no MP the only option is to land and reboot. Even if you have the MP then clicking the Restart Mission button works only if Auto and even then it only seems to actually restart the mission intermittently.

Tested this with APM2.5, AP2.74b, Parkzone Radian rudder/elev glider

GrahamDyer avatar Aug 05 '13 12:08 GrahamDyer

Hi Graham, Have you see the RST_MISSION_CH parameter?

http://plane.ardupilot.com/wiki/arduplane-parameters/#Reset_Mission_Channel_ArduPlaneRST_MISSION_CH

There are 3 ways to reset the mission:

  • use RST_MISSION_CH
  • set waypoint number to 0
  • use "reset mission"

If reset mission isn't working in MP then I think that is probably a MP bug. It does work in the plane code. Cheers, Tridge

tridge avatar Aug 14 '13 23:08 tridge

Hi Trigde

This assumes that everyone is or will be using telemetry, it also makes it more difficult or complex than it really needs to be. We flew a photo grid a few times and only with much button clicking and switch cycling got the mission to restart after it had finished.

Adding a RST_MISSION_CH command after the fact is not practical, neither is setting the WP # to 0 as these require time consuming fiddling with the MP.

All I'm asking is to make it super easy to reliably restart a mission, either at any time or automatically with a switch cycle after the mission finishes?

Graham

GrahamDyer avatar Aug 15 '13 05:08 GrahamDyer

Graham, I think you may have misunderstood the docs. The RST_MISSION_CH parameter is a RC channel to watch. It doesn't require telemetry. I have it connected to the spring loaded trainer switch on my transmitter - I click that switch whenever I want to restart the mission. Cheers, Tridge

tridge avatar Aug 15 '13 11:08 tridge

Thanks, yes, I did misunderstand that command, I will set that up.

I still feel that when a mission is completely finished and the AUTO mode is toggled it 'should' restart the mission, but maybe that only me :)

Graham

On Thu, Aug 15, 2013 at 1:35 PM, Andrew Tridgell [email protected]:

Graham, I think you may have misunderstood the docs. The RST_MISSION_CH parameter is a RC channel to watch. It doesn't require telemetry. I have it connected to the spring loaded trainer switch on my transmitter - I click that switch whenever I want to restart the mission. Cheers, Tridge

— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/ardupilot/issues/480#issuecomment-22697994 .

GrahamDyer avatar Aug 15 '13 12:08 GrahamDyer

Can someone confirm that "reset mission" is working from planner? When the mission is done, my plane just fly into the blue yonder, seemingly heading for the north pole. RTL, Cruize works, so it's not a GPS issue.

heinduplessis avatar Oct 09 '14 19:10 heinduplessis

Yes, it is working. If using the latest MP you should see a dotted line from your last waypoint to home indicating that the plane will RTL when finished (Home is set when arming). The restart mission button is for when you've aborted a mission and need to restart it before taking off again.

On Thu, Oct 9, 2014 at 9:31 PM, heinduplessis [email protected] wrote:

Can someone confirm that "reset mission" is working from planner? When the mission is done, my plane just fly into the blue yonder, seemingly heading for the north pole. RTL, Cruize works, so it's not a GPS issue.

— Reply to this email directly or view it on GitHub https://github.com/diydrones/ardupilot/issues/480#issuecomment-58564502.

GrahamDyer avatar Oct 10 '14 04:10 GrahamDyer

Thanks Graham. I'm gonna have to take the logs apart to see why my kite decided to migrate.

heinduplessis avatar Oct 10 '14 07:10 heinduplessis