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
Andrew Tridgell
da5a5ea368
DataFlash: added file based 'dataflash' logging
12 years ago
Andrew Tridgell
9d3b32bd27
SITL: change default wind speed to zero
...
makes starting SITL easier for new users
12 years ago
Randy Mackay
b8974dec99
Copter: compass learn off by default
12 years ago
Janne Mäntyharju
7a04fe9915
AP_Baro: Fixed build for APM2 Beta hardware
12 years ago
Randy Mackay
8046fe2cf3
AC_WPNav: increase max accel to 8m/s/s
12 years ago
Randy Mackay
8fe3e689f4
Copter: add WPNAV log message
12 years ago
Randy Mackay
b48864e1ad
Copter: allow CH6 tuning of compass declination
12 years ago
priseborough
9ff0888a17
AP_L1_Control : Fixed potential divide by zero in Nu1 angle calculation
12 years ago
Andrew Tridgell
97bfd16bd1
L1_Control: constrain the roll to handle floating point errors
12 years ago
Andrew Tridgell
83dc7dbc92
AP_Math: handle NaN in constrain(), returning average
...
this makes it less likely a NaN will propogate
12 years ago
Andrew Tridgell
b69481f74d
AP_InertialNav: fixed build of example
12 years ago
Andrew Tridgell
571c48b9d5
L1_Control: cleanup some unused code and variables
12 years ago
priseborough
a423d102e0
Plane : AP_L1_Control : Fix wrong way turn behaviour on loiter entry
12 years ago
Andrew Tridgell
d01d754ba8
HAL_PX4: if we have lost RC input then set channel 3 to 900
...
this allows failsafe to kick in
12 years ago
Andrew Tridgell
181f7368a3
AP_L1_Control: change turn_distance() to be min of wp_radius and L1 distance
...
this gives less surprising behaviour for users
12 years ago
Andrew Tridgell
a4d25f5a82
AHRS: removed AHRS_BARO_USE option
...
this option has caused users too much trouble. The vertical velocity
is too noisy from the baro
12 years ago
Andrew Tridgell
87b0fb05ce
AHRS: changed default RP and YAW gain to 0.3
...
this reduces the impact of hard acceleration on takeoff, and reduces
the impact of GPS lag
Note that this doesn't affect copters, as they override to 0.1
12 years ago
Randy Mackay
0eab3e87b2
AC_WPNav: use prev wp as origin for next wp
12 years ago
Randy Mackay
0351c2ae33
AC_WPNav: allow setting of horizontal velocity
...
Also added accessor function for waypoint radius parameter
12 years ago
Randy Mackay
252e98ec57
AC_WPNav: use global gravity constant
12 years ago