Phil
9242c157ee
APM: Fix rudder in elevon mode.
...
elevon planes can have rudders too
2012-02-16 14:43:24 +11:00
Jason Short
a43ee36bee
CH 6 Range setup
2012-02-15 11:47:54 -08:00
Jason Short
3d63bb6cd4
Added acro_p to the params
2012-02-15 11:29:25 -08:00
Jason Short
e8b6f5ecee
allow auto-land if failsafe is triggered
2012-02-15 10:53:54 -08:00
Jason Short
fabeccad4a
Marco's updated Motor testing code
2012-02-15 10:49:35 -08:00
Jason Short
73591a0ca5
Added lengthy note about motor testing
2012-02-15 10:49:11 -08:00
Jason Short
9a3e862b55
added option in code for Loiter specific gains
2012-02-15 09:10:15 -08:00
Jason Short
e249c8466d
AP slew rate
2012-02-15 09:10:15 -08:00
Jason Short
21856e7696
new defaults for params
2012-02-15 09:10:15 -08:00
Jason Short
fcb24ee17d
Added Acro_P
2012-02-15 09:10:14 -08:00
Jason Short
574b86b02e
synced params
2012-02-15 09:10:14 -08:00
Jason Short
91edeeeef2
added RTL_land_enabled
...
added auto_pilot slew rate
2012-02-15 09:10:14 -08:00
Jason Short
aa0662008b
Added new params for CH6 Tuning
...
moved enums to give more room for additional PIDs for Loiter
added new Acro_P gain
added auto_land_enabled option
added pi_loiter_lon and pi_loiter_lat for separate tuning of loiter
2012-02-15 09:10:14 -08:00
Jason Short
05abe44f32
Added range setting via a parameter for CH6 tuning
2012-02-15 09:10:14 -08:00
Jason Short
026e4a6567
change constant to float 44330.0
2012-02-15 09:10:14 -08:00
Michael Oborne
2f81776b0d
eedump ap param in perl
2012-02-15 21:31:58 +08:00
Andrew Tridgell
a48a118128
SITL: adjust the SITL compass code to have saner z values
2012-02-15 22:34:16 +11:00
Andrew Tridgell
62326c0f72
Compass: enable compass offsets for HIL compass
...
this makes the null_offsets algorithm have an effect for the HIL
compass that is used for SITL, which makes for easier testing of
compass calibration
2012-02-15 22:33:50 +11:00
Andrew Tridgell
048aed5427
fixed dump size
2012-02-15 10:44:09 +11:00
Andrew Tridgell
089db43183
show group_element too
2012-02-15 10:42:21 +11:00
Andrew Tridgell
ea6a46fc9b
AP_Param: added eeprom_aaparam.c dump utility
2012-02-15 10:41:06 +11:00
Andrew Tridgell
c14097ffa1
APM: changed hold_course for landing to be based on yaw_sensor
...
when we are in the final stages of a landing (less than 2 seconds from
landing waypoint, or less than 3m above landing altitude) we switch
the navigation to use a fixed course. The code previously used the
crosstrack_bearing for this, but this can lead to a large nav_roll in
this final stage of the approach, which can put a wing into the
runway. In autotest we were seeing a nav_roll value of -45 degrees as
we crossed the transition point for the landing, which often led to a
crash.
This changes the code to use the current yaw_sensor value instead,
which is much less likely to lead to large rolls in the final landing
stages.
2012-02-15 08:50:45 +11:00
Andrew Tridgell
c662140a2b
APM: report the nav_bearing as hold_course when enabled
...
this gives a more accurate view of the navigation code, as when
hold_course is not -1 it overrides nav_bearing
2012-02-15 08:50:45 +11:00
Andrew Tridgell
330ff5dc8b
APM: added some comments related to hold_course
...
hold_course is either -1 (for disabled) or a course to hold for
takeoff/landing. This makes the code a bit clearer.
It also resets hold_course in all non-auto modes, to ensure it isn't
used
2012-02-15 08:50:45 +11:00
Andrew Tridgell
3e7cc2499b
autotest: increase the rudder gain
...
this gives a bit better landing approach and turns in auto
2012-02-15 08:50:45 +11:00
Andrew Tridgell
4398171374
SITL: catch floating point errors
...
if we get a FPE then log a message and exit
2012-02-15 08:50:45 +11:00
Andrew Tridgell
245d265c6a
DCM: added a SITL_debug() for DCM normalisation errors
...
I have seen normalisation errors during simulation runs, but have not
yet tracked down the cause. This log message may help track things
down.
2012-02-15 08:50:45 +11:00
Andrew Tridgell
601a991a46
added SITL_debug() macro
...
this can be used to print a message into the logs in the SITL
simulator. This will be used for critical conditions.
2012-02-15 08:50:45 +11:00
Andrew Tridgell
085cc00c33
RC_Channel_aux: fixed a uninitialied variable error, and save a bit of stack space
2012-02-15 08:50:45 +11:00
Michael Oborne
4b9c08d075
APM Planner 1.1.36
...
add guided mode wp
fix setup setting save (if closed without switching tabs)
2012-02-14 22:13:11 +08:00
Andrew Tridgell
11835508a7
when setting airspeed and groundspeed in a mission, don't save to EEPROM
...
If you include airspeed, throttle or groundspeed changes in a mission
then those should not be saved to EEPROM, as otherwise if you restart
and re-fly the mission you will be starting with different parameters
to the ones you used for the first flight.
This is particularly important for setting the target airspeed when
coming in for a landing. You typically set a low target, but if you
fly again the next day I think it would be a real surprise to find
that your loiter airspeed has then changed to the value from the
landing part of your last mission.
This one can be argued either way, but I think that not saving these
changes is the more conservative choice, and better fits the
'principal of least surprise'
2012-02-14 15:20:44 +11:00
Andrew Tridgell
090068bee4
autotest: use more rudder for steering
...
this helps the landing a lot
2012-02-14 15:16:35 +11:00
Andrew Tridgell
1e7d3f5d48
autotest: raise the target airspeed on landing
...
we were stalling the plane in the final meters of the approach
2012-02-14 12:30:46 +11:00
Andrew Tridgell
d62cc01b65
autotest: adjusted APM parameters
...
enable compass and tweak tuning
2012-02-14 11:26:42 +11:00
Andrew Tridgell
8f18d08eb5
autotest: added a lot more interal checking
...
check each of the sub-tests pass for overall pass
2012-02-14 11:26:42 +11:00
Andrew Tridgell
43c56be70c
SITL: add some magnetometer offsets
...
this ensures the compass null_offset algorithm has some work to do in
autotest
2012-02-14 11:26:42 +11:00
Andrew Tridgell
f95d7cadc5
fixed SITL GPS heading to be 0..360
2012-02-14 11:26:42 +11:00
Jason Short
c9b432955d
removed unused Vars
2012-02-13 15:25:23 -08:00
Jason Short
4faba2048c
Lowered for Jani
2012-02-13 15:25:23 -08:00
Andrew Tridgell
27cd2893af
autotest: fixed the directory that the git hash is fetched in
2012-02-14 09:06:24 +11:00
Andrew Tridgell
c042ef1298
APM: fixed some build warnings
2012-02-14 08:58:56 +11:00
Andrew Tridgell
8d1729b3ba
Mavlink: report the corrected pitch via MAVLink
...
this subtracts the TRIM_PITCH_CD from the pitch reported via
MAVLink. That gives a better indication of the true pitch in the tlog
2012-02-14 08:58:56 +11:00
Andrew Tridgell
6a42598ade
use stdint types in the compass code
2012-02-14 08:35:03 +11:00
Andrew Tridgell
be5ffdedbb
AP_Param: allow dumping of AP_Vector3f
...
this means the 'show' command in the CLI shows the compass offsets now
2012-02-14 08:34:50 +11:00
Andrew Tridgell
957df64b86
added some AP_Param testing of the compass
2012-02-14 08:34:25 +11:00
Andrew Tridgell
cdf296d8f6
fixed some printf casts
2012-02-14 08:34:10 +11:00
Andrew Tridgell
35badbb97d
APM: the CLI fits nicely on the 1280 again now
...
I find the CLI very useful for testing, so enable it by default on the
1280. Logging is still off by default.
2012-02-14 08:33:49 +11:00
Andrew Tridgell
d90dc4d893
GPS: change back to 4Hz for MTK GPS
...
this will hopefully fix the NO_GPS problems that have been regularly
happening in recent months. I will watch the logs carefully to see if
the problem recurs
2012-02-13 22:50:20 +11:00
Andrew Tridgell
804332c340
AP_Baro: fixed some signed/unsigned warnings
...
and a potential bug on timer wrap
2012-02-13 21:39:18 +11:00
Andrew Tridgell
d574c78c2c
autotest: fixed displayed git hash in autotest
2012-02-13 20:29:55 +11:00