How do you repeat a mission?

I've got 4 WPs set up in square pattern (and the home position also) and want my plane to repeat the pattern indefinitely (e.g. WP1->WP2->WP3->WP4->WP1->WP2...and so on).

 I tried putting a DoJump after WP4 that says go to WP1, but the plane (both physically and in HIL mode w/ X-Plane) goes to the home location and circles after WP4.  I've tried setting the repeat value at -1 as well as something > 1 with the same results.  Obviously I'm not doing something right here. Any help would be appreciated!

Thanks,
David 

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

Join diydrones

Email me when people reply –

Replies

  • It turns out the Dummy WP is no longer needed after the DO_JUMP command. It was apparently a bug that has been squashed.
    http://diydrones.com/forum/topics/using-the-mission-planner-do-jump...

  • I can't get it to work. Here is a screen grab of my mission. The text file for the mission is also attached.

    I've tried it using a location as the last point, after DO_JUMP, as well as RETURN_TO_LAUNCH after the DO_JUMP. Both ways it continues from the the waypoint before the DO_JUMP to the waypoint after the DO_JUMP and ends the mission.

    DO_JUMP_testing.txt

  • Developer

    put one more waypoint after the do jump, this is because once your repeat count is 0, it will go to this point.
    so 1 > 2 > 3 >4 >dojump > 5

    this will fly 1 > 2> 3> 4> > 1 > 2> 3 >4 untill repeat = 0, > 5

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 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 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
More…