Andrew Tridgell
3b0250b414
AP_HAL: define RC_12
...
we have 12 channels on PX4FMU+PX4IO
12 years ago
Randy Mackay
cb5f8826f8
Copter: Leonard's fix for trapezoidal frame
...
We need to allow yaw_factors to be floats in the add_motor method
12 years ago
Randy Mackay
1a7cffefe6
TradHeli: change coll_out to int16_t
...
was incorrectly defined as an AP_Int16 parameter
12 years ago
Randy Mackay
7f79398989
AP_Limits: fixed return of AP_Int8 parameters from object
...
we should return the base type, not the parameter, or callers could
use set on the result
12 years ago
Andrew Tridgell
3659b532be
AP_Common: added BIT_IS_SET() macro
...
makes bit mask testing safer on PX4
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
709a277c7f
DataFlash: chamged FMT message to include labels
...
this makes it easier for MP to parse and display
12 years ago
Andrew Tridgell
9ef34943af
DataFlash: change log extension to *.bin
12 years ago
Andrew Tridgell
fd2cd0d1c2
DCM: fixed formatting
12 years ago
jschall
610069e729
DCM: fixed airspeed bug
...
we incorrectly went via the wind estimate when we had a working airspeed sensor
12 years ago
Randy Mackay
42bca90676
INS: add calibrated check
...
Checks is the scaling vector has been updated. Required for pre-arm
checks for ArduCopter
12 years ago
Andrew Tridgell
2c05030fb1
AP_Motors: use the right constrain() function
12 years ago
Andrew Tridgell
014c9376e7
AP_AHRS: use const references where possible
12 years ago
Andrew Tridgell
dcc3873056
AP_Buffer: remove bool return from add() method
12 years ago
Andrew Tridgell
26fa5c40f1
Compass: use const references for some functions
12 years ago
Andrew Tridgell
1849aca0e9
AP_InertialNav: optimise some multiplies
12 years ago
Andrew Tridgell
01a4fabf9e
AP_Param: make things a bit more efficient
12 years ago
Andrew Tridgell
3d325043b0
AP_InertialNav: make some more functions const
12 years ago
Andrew Tridgell
08c57c2587
AP_InertialNav: reduce number of multiplies
12 years ago
Andrew Tridgell
bad478134d
AP_Buffer: instantiate as a .cpp file, and optimise for const usage
12 years ago
Andrew Tridgell
ad40ba57be
AC_WPNav: optimise to reduce memory copies
...
save a few cycles
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
5f1bd1a452
HAL_AVR: constrain Vcc used in voltage_average()
...
this ensures a bad Vcc reading doesn't throw off analog inputs too
much
12 years ago
Andrew Tridgell
c437900a49
AP_Scheduler: added SCHED_DEBUG=2
...
used to show overruns and slips
12 years ago
Randy Mackay
2fc25da4c3
Copter: Leonard's fix for get_loiter_accel_to_lean_angle
12 years ago
Andrew Tridgell
844e1b9ef9
DataFlash: added support for printing flight mode as a string
...
makes analysing logs easier.
Pair-Programmed-With: Randy
12 years ago
Andrew Tridgell
c3abdaf308
AP_GPS: removed duplicate print_latlon()
12 years ago
Andrew Tridgell
b5ae588341
DataFlash_File: fixed creation of 0.log
12 years ago
Andrew Tridgell
735d60c493
DataFlash: convert example sketch to new API
12 years ago
Andrew Tridgell
62f190ed15
DataFlash: simplify code now that copter is converted
...
no longer need as many public functions
12 years ago
Andrew Tridgell
cf0c8331c2
DataFlash: use print_latlon()
12 years ago
Andrew Tridgell
e1f9297551
AP_Math: move print_latlon() to location.cpp
12 years ago
Andrew Tridgell
c29d870497
DataFlash: dump the format of logs at the start of the log
12 years ago
Andrew Tridgell
916e8d0992
DataFlash: new dataflash logging system
...
this allows us to remove the display functions in the vehicle code,
and also allows us to store the format of a log file in the log. It
also stores the parameters used in a flight, rather than the
parameters set at the time the log is dumped
12 years ago
Andrew Tridgell
17d7f1fbe5
AP_InertialSensor: make some interfaces const
12 years ago
Andrew Tridgell
4fe5ce8a09
AP_Common: added a define for PACKED
...
neater than a pragma
12 years ago
Andrew Tridgell
8d727614b4
AP_GPS: make status() const
12 years ago
Andrew Tridgell
9171d5587d
AP_Param: make it easier to show the value of a parameter
12 years ago
Andrew Tridgell
7ad293e270
AP_AHRS: made a few methods const
12 years ago
Randy Mackay
1c046fa49f
AC_WPNav: increase max descent speed to 1.5m/s
12 years ago
Randy Mackay
ed298363f4
AC_WPNav: remove unnecessary limit in leash calc
12 years ago
Randy Mackay
764853bd56
AC_WPNav: add climb and descent params, dynamic leash length
12 years ago
Randy Mackay
effd5b0da7
AC_WPNav: improved comments
...
Made SPEEDZ a parameter although it's not yet used
12 years ago
Andrew Tridgell
fa493a0fb3
AP_Param: added ops needed for ArduCopter build
12 years ago
tobias
fbe7daa477
AP_Param: fixed assignment handling and const
...
this fixes radio_min = radio_max = radio_trim = 0; in RC_Channel
12 years ago
Andrew Tridgell
02bd24cf57
AP_Scheduler: fixed _last_run initialisation
...
another valgrind bug
12 years ago
Andrew Tridgell
0a25d6220a
AP_InertialNav: initialise _gps_last_time
...
found with valgrind
12 years ago
Andrew Tridgell
b3ec5187f2
AP_GPS: fixed uninitialied variable bugs found with valgrind
12 years ago
Randy Mackay
a656b619f5
AP_Motors: remove auto_armed
...
redundant flag that was already held in the main code which is where it
belongs.
12 years ago
Andrew Tridgell
68051f3ea6
AP_Menu: fixed crash bug in strtok_r() handling
...
on PX4 this causes a hard fault in CLI menus
12 years ago
Andrew Tridgell
af7381e9e0
AP_HAL: added register_io_process()
...
this is used to register a low priority IO task. Used for file IO in
DataFlash_File.cpp
12 years ago
Andrew Tridgell
5df4796b9a
RangeFinder: fixed a warning
12 years ago