Testing Ardupilot 2.5 from Jason Short on Vimeo.
Here's a video of testing today. I had a flawless run of the T3 round two course. Everything was looking good. I'll post the code today on the repository.
Some flight notes. I completely remove the I term (by setting it to zero) for Roll and Pitch which helped tremendously. I went from highly unstable turns to nice smooth ones.
Altitude hold seems to have a slight oscillation for me. You can here the motor go up and down as the plane pitches up and down slightly. Any thoughts for dampening this out?
I reduced the loiter radius to 20 meters which the plane doesn't like. It tends to do figure eights around the home position. I'll increase that to 30 next time.
I'll post the code tonight.
Jason
Comments
I have a fix for that. It appears different versions of uBlox ouptut slightly differently. I am traveling in Korea for work right now and I can't give you a complete fix, but I think if you change this case in the ublox parser to the following it will fix the issue.
I added the TOW to my serial output, but didn't realize it output differently in autopilot mode.
I took a look through the code a bit, and can't seem to find where AUTO only prints attitude instead of position and attitude.
See log file....thanks!
JC
udall_3_3_10.txt
I think I found your bug. Check your mail for the fix. I'll post it as soon as I can get regular internet access.
Jason
wp_total 2
options 1000
wp_radius 10
Startup: Air
Loaded WP index:0
prev_WP: 0 0 0
next_WP: -261518750 279787450 8000
home: -261518750 279787450 4000
wp #1 -261508920 279780360 4000
wp #2 -261525580 279775210 4000
!!!LAT:-26109882,LON:28008905,SPD:0,CRT:-100,ALT:240,ALH:80,CRS:0,BER:0,WPN:0,DST:0,BTV:0,RSP:0,***
Problem is these: (CRS:0,BER:0,WPN:0,DST:0) are all zero, they should indicate the status to the next waypoint and I can't figure out why they aren't working
Jason, are you using the config tool to enter your waypoints?
Jason
http://ardupilot.googlecode.com/svn/branches/Ardupilot_25
byte startup_check(void){
Corrected on the SVN now.