Auto Take off and loiter for unlimited...
Something was definitely not right.
It took off perfectly but then started to rotate as in video.
I would imagine i did something wrong with the script.
I want to be able to take the copter anywhere, regardless of location. Then do an auto takeoff and loiter.
Heres the video:
Here is the mission script:
#define WP_RADIUS 3 // What is the minimum distance to reach a waypoint?
#define LOITER_RADIUS 3 // How close to Loiter?
#define HOLD_CURRENT_ALT 0 // 1 = hold the current altitude, 0 = use the defined altitude to for RTL
#define ALT_TO_HOLD 5
float mission[][5] = {
{TAKEOFF,0,3,0,0},
{LOITER_UNLIM,0,3,0,0},
};
Replies
Keep trying.
It will work all of a sudden.
Hey, I tried to do the same basic thing and it seemed to take off and loiter for a second but then when it should have RTL and land it just seemed to go off into the field. I was wondering if you had figured out any thing yet?
It will hold whatever Yaw it is set to when it was engaged. It may have rotated 180° past the hold value and continued around to the proper location. This can happen if there is an imbalance somewhere causing it to Yaw on higher throttle.
Only way to tell for sure is the internal flight log.
Jason