Amilcar Lucas
aef8c7af0a
AP_Mount: Reduce parameter name length, to allow MNT2_* strings to be smaller than the limit of 15 characters
2012-08-10 00:16:52 +02:00
Andrew Tridgell
9bdf204e35
APM: support the MISSION_WRITE_PARTIAL_LIST command
...
this allows missions to be partially updated in flight
2012-08-09 17:13:36 +10:00
Andrew Tridgell
a2f802e5da
build: fixed more build warnings
2012-08-09 16:19:39 +10:00
Andrew Tridgell
0491188c03
MPU6000: fixed some build warnings
2012-08-09 16:19:21 +10:00
Andrew Tridgell
c69dccceb2
AP_MetaClass: fixed a warning
2012-08-09 16:19:04 +10:00
Andrew Tridgell
73d70354a3
AP_Param: fixed some build warnings
2012-08-09 16:18:53 +10:00
Andrew Tridgell
d3c399c5d9
MAVLink: removed obsolete files
2012-08-09 15:25:49 +10:00
Andrew Tridgell
52b6e4ab2e
MAVLink: added generator.sh script
...
this is used to re-generate our MAVLink C code
2012-08-09 15:25:06 +10:00
Andrew Tridgell
a7399c405d
MAVLink: removed the need for Mavlink_compat.h
...
we have now fully transitioned to MAVLink 1.0, so we no longer need
the compatibility layer and the old names in the code
2012-08-09 12:22:46 +10:00
Andrew Tridgell
16d63978f1
MAVLink: moved mavlink variables back to library
...
these were moved to the main sketches to allow for compile time
selection of MAVLink 0.9 vs 1.0. We no longer support 0.9, so we can
move it back, which simplifies some test sketches
2012-08-09 12:06:21 +10:00
Andrew Tridgell
4c77cbcd0b
APM: Added RST_MISSION_CH option
...
this allows a pilot to reset the mission using a transmitter
switch. Very useful for repeating a mission during testing
2012-08-09 10:33:16 +10:00
Andrew Tridgell
54f97bb9e7
APM: removed THROTTLE_REVERSE option
...
Better to use RC3_REV
2012-08-09 10:04:44 +10:00
Andrew Tridgell
988bc0238a
APM: tweak Rascal autotest settings
2012-08-09 10:03:52 +10:00
Andrew Tridgell
6e46db39a1
APM: Added STICK_MIXING option
...
this replaces the compile time option. Disabling during long distance
flights when the transmitter may be out of range is useful.
2012-08-09 08:53:29 +10:00
Amilcar Lucas
9a8fd4738e
Add an optional second mount to ArduPlane and ArduCopter
2012-08-08 23:22:24 +02:00
Amilcar Lucas
1683f18bff
Allow fully independent operation of two AP_Mount instances
2012-08-08 23:11:23 +02:00
Amilcar Lucas
f321f5d9c5
Add a second mount instance
2012-08-08 23:07:25 +02:00
Amilcar Lucas
45b10a51ff
AP_Mount: Enable Joystick speed code, now that the framework supports more than 16 parameters per group.
...
Save some bytes by skiping the redundant *_rc_in initialization in the AP_Mount() constructor
2012-08-08 22:45:36 +02:00
Andrew Tridgell
eeaa855b03
SITL: fixed deletion of eeprom.bin
...
with the new AP_Param constructor order, we need to erase rather than
unlink the eeprom
2012-08-08 18:01:06 +10:00
Andrew Tridgell
72935345ea
ACM: make it possible to set AHRS_GPS_GAIN on ArduCopter
...
this was affected by the AP_Param change, in particular the
constructor ordering. To ensure a user can set AHRS_GPS_GAIN to 1.0 if
they want to, we need to do a set_and_save() if the value isn't in
EEPROM
2012-08-08 17:36:01 +10:00
Andrew Tridgell
f33d15ab80
APM: removed pointless load() call
2012-08-08 16:51:23 +10:00
Andrew Tridgell
2ba08c2122
ACM: removed pointless load() calls
2012-08-08 16:51:14 +10:00
Andrew Tridgell
5e19c0cf04
AP_Airspeed: removed values passed to constructor
2012-08-08 16:38:39 +10:00
Andrew Tridgell
fc26d49260
AP_Param: avoid saving values within 0.01% of the default value
...
this saves some more space due to rounding errors
2012-08-08 13:13:30 +10:00
Andrew Tridgell
3159c9ed99
AP_Mount: fixed defaults for angles
...
this saves some eeprom space by not saving the 4500 values
2012-08-08 13:04:49 +10:00
Andrew Tridgell
7d9e4a7559
APM: fixed default flap speed
...
the default of 255 translates to -1 as a AP_Int8, so use zero to mean
no flaps
2012-08-08 13:04:21 +10:00
Andrew Tridgell
67f076a9db
APM: change variables to use _cm, _cd and _ms suffix for units
...
this makes it less likely that we mix up units
2012-08-08 12:12:30 +10:00
Andrew Tridgell
295a9ce39c
ACM: change to use get_bearing_cd() instead of get_bearing()
2012-08-08 12:12:30 +10:00
Andrew Tridgell
0fd763dda0
Rover: change to use get_bearing_cd()
2012-08-08 12:12:30 +10:00
Andrew Tridgell
891ed81f74
AP_Math: rename get_bearing() to get_bearing_cd() to make units obvious
2012-08-08 12:12:30 +10:00
Andrew Tridgell
b366205172
APM: removed cli slider and dipswitch options
...
use mavlink/eeprom for all config
2012-08-08 12:12:29 +10:00
Andrew Tridgell
3d6d013c55
AP_Param: updated APMrover2 code for new AP_Param syntax
2012-08-08 12:12:29 +10:00
Andrew Tridgell
d8106cf20f
AP_Param: update ArduCopter core for new AP_Param interface
2012-08-08 12:11:57 +10:00
Andrew Tridgell
f98b887dbe
AP_Param: update ArduPlane core for new AP_Param interface
2012-08-08 12:11:57 +10:00
Andrew Tridgell
de50fff5ad
AP_Param: update VARTest for new AP_Param interface
2012-08-08 12:11:57 +10:00
Andrew Tridgell
6245592447
SITL: added pgm_read_dword() and pgm_read_float()
2012-08-08 12:11:57 +10:00
Andrew Tridgell
e9d0ae3e7f
AP_Param: update remaining libraries for new constructor syntax
2012-08-08 12:11:57 +10:00
Andrew Tridgell
7be604cffd
AP_Param: update AHRS for new constructor syntax
2012-08-08 12:11:57 +10:00
Andrew Tridgell
3dfe55e72c
AP_Param: update PID libraries for new constructor syntax
2012-08-08 12:11:57 +10:00
Andrew Tridgell
45c7c9b8d1
AP_Param: major update to use default values in var_info table
...
this stores the default value for all scalar variables in the var_info
table, which makes it possible to avoid storing default values in
eeprom. That allows us to oversubscribe the eeprom space with a much
lower risk of overrun.
2012-08-08 12:11:57 +10:00
Andrew Tridgell
73c682faf6
Rover: fixed build with new RC_Channel code
2012-08-08 12:11:05 +10:00
Andrew Tridgell
b0e403e6fb
AP_Baro: the DerivativeFilter now handles duplicate data
...
this saves a few bytes of memory
2012-08-08 12:07:36 +10:00
Andrew Tridgell
fb90d16092
Filter: make the DerivativeFilter test GNUPlot friendly
...
makes testing easier
2012-08-08 12:07:36 +10:00
Andrew Tridgell
2de06df08d
Filter: automatically cope with duplicate timestamps
...
this makes it easier for callers to avoid excessive slope calculations
Thanks to Jon Challinger for the idea
2012-08-08 12:07:35 +10:00
Jonathan Challinger
e97305ea6e
APM: fixed rounding of altitude
...
the cast was rounding to the nearest meter
2012-08-08 12:07:35 +10:00
Andrew Tridgell
c9a56e2223
Filter: fixed a off-by-one DerivativeFilter bug
...
many thanks to Jon Challinger for noticing this!
2012-08-08 12:07:35 +10:00
rmackay9
40839fdea2
ArduCopter: Dan Gray's fix for Condition_Yaw
...
command_yaw_dir is an unsigned byte but was being set to a -ve number leading to very incorrect yaw target heading for counter clockwise turns.
command_yaw_end (i.e. turn's end target) was not being set if turn was of type "relative"
2012-08-07 06:43:10 -07:00
Michael Oborne
abd937a590
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
2012-08-07 19:27:16 +08:00
Michael Oborne
4b27564833
Mission Planner 1.2.4
...
remove geofence tab
add guided alt remeber
change wp upload retry to 200 ms
2012-08-07 19:26:10 +08:00
Amilcar Lucas
ff32fed176
ArduCopter: Use generic channel names for AP_Mount servos.
...
This simplifies mission planner, the same code can be used for plane and copter now.
2012-08-06 23:33:51 +02:00