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},
};
Tags:

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
Permalink Reply by Gareth Rens on November 14, 2011 at 11:34am Can I download the internal flight log over xbee? or do i need to connect the usb?

Permalink Reply by Michael Pursifull on November 14, 2011 at 11:40am Unless its changed recently, I think you have to connect via USB, if only to access Serial0/CLI. I wired up an xbee to the bent pins on an APM I have where the oilpan USB connector was stripped off the board. It gave me wireless CLI. Not surprisingly, the logs take over twice as long to pull :)

Permalink Reply by Michael Pursifull on November 14, 2011 at 11:37am Or maybe an issue with the magnetometer? I'm not keeping up with the internals as I'd like to, so I guess that is a "learning question."
Permalink Reply by Gareth Rens on November 15, 2011 at 10:09am when the copter approaches a waypoint (that it must loiter at for 30 seconds) but overshoots the waypoint. Will it yaw 180 and try to get back to that waypoint or will it keep its orientation the same as when it was on the ground???
Permalink Reply by u4eake on November 16, 2011 at 5:35am In my experience it will yaw back to the missed waypoint.

Permalink Reply by Jeff Cartwright on November 17, 2011 at 9:42pm 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?
Permalink Reply by bergsprekken on November 18, 2011 at 3:08am Sounds like what happend to my mission test. (The sudden unexpected wandering into the field).
Keep trying.
It will work all of a sudden.
Permalink Reply by Jeff Cartwright on November 18, 2011 at 7:41am I did kinda noticed that.. the first attempt she shot straight up and I though it would never come down... the second she actually stopped at the desired altitude yet kinda wondered away...
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.1353 members
202 members
719 members
155 members
24 members
© 2013 Created by Chris Anderson.
Powered by
