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 

Tags: DoJump, mission, planner, repeat, waypoints

Views: 94

Reply to This

Replies to This Discussion

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

Thanks Michael, that worked!

RSS

Social Networking

Contests

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.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service