Moderator

### Using the Mission Planner DO_JUMP command to loop a Mission

I'm branching out trying to understand all the functions of the Mission Planner so I might better take advantage of it's capabilities. I have been searching for an answer to the question of how to create a mission that will loop either 'X' times, or in this case an infinite number of times, and as of yet I haven't found a concise answer.

The two things I find in common with all the references I've found have been the use of the DO_JUMP command and the use of a 'Dummy Way-point'. As I understand it, it's fairly straightforward to understand what to do for 'X' number of repeats of the DO_JUMP command, you simply enter a number equal to the number of times you want the event to repeat. Also if you want it to repeat forever, as is the case here, you assign a value of -1.

There are two aspects which I am unclear about; the fields for Lat, Lon, and Alt are blank in the DO_JUMP command, presumably because this is a command to be applied not to a specific way-point but rather to the mission as a whole, and the second thing is the creation of a dummy way-point after the DO_JUMP command.

In the attached mission file, I have created a 4 way-point mission followed by a DO_JUMP command set to jump to way-point 1 and which repeats forever. Lastly I have created a 'Dummy Way-point' following the DO_JUMP command.

If the mission is setup correctly what I expect is that it will fly way-points 1-4 then jump back to way-point 1 and fly the mission again where it will again hit the DO_JUMP command and start all over again.

Questions:

1) Could someone confirm that I have this setup correctly?

2) Why is the Dummy Way-point necessary?

3) Totally off the subject but does anyone know what ROI stands for in the Mission Planner?

Regards,

Nathaniel ~KD2DEY

DO_JUMP Loop Rooney Rd Box.txt

You need to be a member of diydrones to add comments!

#### Replies

• DO_JUMP IS OK from MissonPlanner 1.3.5

• It turns out the Dummy WP is no longer needed after the DO_JUMP command. It was apparently a bug that has been squashed.
I flew my plane today with no Dummy WP after the DO_JUMP command and the plane flew the loop continuously. I took off in Auto with the TAKEOFF for WP1. It went into it's loop with no issues, I let it fly around in the loop for while. Then I took the plane out of Auto and flew it around in FBW-A and Manual mode with no issue. After (during the same flight) I put the plane back into Auto and the plane continued with the DO_JUMP Auto mission until I too it out of Auto and landed it.

No need for the Dummy WP, Bugs been squished.
DO_JUMP command works great.

• Moderator

Yes, you are correct, the dummy WP issue has long since been resolved. These posts are from 2013.

• Great advice.

I'm having some trouble, whenever I set a dummy WP after my DO_JUMP command I get GPS Coordinates and an altitude. If I try to set my dummy WP to 0 in the GPS Coordinate, than I get a WP near Africa as this is 0 Lat 0 Long. I just can't seem to simply add a dummy WP.

I'm using MP 1.3.37, have things changed in this release that I don't know about?

• Moderator

1) Yes it's correct, if you highlight the DO_JUMP command the only two parameters to change are the waypoint number to jump to and the number of times to repeat the loop.

2) Not sure, there was some explanation but I don't recall it now

3) Region Of Interest

This reply was deleted.

### Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022