Paul Riseborough
d62636d309
Plane: added new TECS altitude controller
...
Includes improvements to takeoff/launch detect logic to support hand
launching for X-8 flight
12 years ago
Andrew Tridgell
93cd0f9a31
Plane: switch to new AP_Scheduler
...
this gives us more accurate task scheduling in ArduPlane, plus better
monitoring of task timing (via SCHED_DEBUG)
12 years ago
Andrew Tridgell
fb9bf21522
Plane: allow channel mapping of first 4 channels
...
this makes it easier to support DSM and SBUS radios
12 years ago
Andrew Tridgell
91a04ab654
Plane: fixed headers for mode logging
12 years ago
Andrew Tridgell
dd633fcf3f
Plane: make voltage and battery capacity failsafe settable at runtime
...
this also fixes issue #292
12 years ago
Andrew Tridgell
c5f1570f32
Plane: fixed flash logging of ATT
...
fixed types to be int16
12 years ago
Andrew Tridgell
bdf0a2da69
Plane: log mode number as well as mode string
...
this makes graphing mode changes easier
12 years ago
Andrew Tridgell
1956d9c2dc
Plane: show modes as strings in log
12 years ago
Randy Mackay
f47a2e951a
Plane: add I2C error count to PM message
12 years ago
Andrew Tridgell
2e5834cc7f
Plane: print flight mode as string in logs
12 years ago
Andrew Tridgell
991d6598ef
Plane: log board voltage
12 years ago
Andrew Tridgell
5c553852ed
Plane: when logging is disabled don't include DataFlash at all
12 years ago
Andrew Tridgell
0c5b393919
Plane: added compass logging
12 years ago
Andrew Tridgell
c56f338fe0
Plane: convert to new logging system
12 years ago
Andrew Tridgell
c8af70a18d
Plane: make the plane code compatible with the new logging system
...
not actually converted yet
12 years ago
Andrew Tridgell
a329e32ccb
Plane: added gps status to flashlog
12 years ago
Andrew Tridgell
a12323c9fd
Plane: fixed logging for new API
12 years ago
Andrew Tridgell
11eb0cfce1
Plane: update for new AP_Navigation controller class
...
this switches ArduPlane over to use the L1 navigation controller, via
a generic nav_controller object pointer.
Note that the nav_controller controls all types of navigation now,
including level flight and heading hold. This provides a cleaner
abstraction than the old method of special case navigation handling
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago
Andrew Tridgell
a69c9ff674
Plane: added logging of DIGICAM events
12 years ago
Andrew Tridgell
de55e19eec
Plane: updates for new dataflash API
12 years ago
Andrew Tridgell
b3213b7113
Plane: fixes for new DataFlash API
12 years ago
Andrew Tridgell
3caaa27526
Plane: fixed build errors in logging
12 years ago
Randy Mackay
7297a1ff83
Plane: renamed RAW dataflash message to IMU
12 years ago
Randy Mackay
e674626fd6
Plane: rename CUR and CURR to CURRENT for logging
...
Based on user complaint that log was enabled/disabled using CUR while
message that appeared in log was CURR.
12 years ago
Randy Mackay
6f46f4a7d0
Plane: logging changes to use new faster packet method
...
also RAW message renamed to IMU
12 years ago
Andrew Tridgell
fa3a4c68b6
Plane: use common log reading function
12 years ago
Andrew Tridgell
92c9a4c1ce
Plane: start update logging for new API
12 years ago
Andrew Tridgell
c63c4f22e2
Plane: fixed formatting
12 years ago
Pat Hickey
a14621534c
ArduPlane: port from hal.dataflash to old DataFlash api
12 years ago
Pat Hickey
92b0c302f2
ArduPlane: Ported to AP_HAL
12 years ago
Andrew Tridgell
805a340350
Plane: enable attitude and raw logging in HIL modes
12 years ago
Andrew Tridgell
84300c85d6
APM: make it possible to run the CLI on any serial port
12 years ago
rmackay9
ef727bbb3c
ArduPlane: move to use new INS library instead of IMU library
12 years ago
Andrew Tridgell
cebb67e1df
APM: removed the unused sonar code
...
when we start supporting a sonar we'll add a AP_Sonar library, like
AP_Airspeed
13 years ago
Andrew Tridgell
37cb56f3e1
APM: save another few bytes
13 years ago
Andrew Tridgell
12dc2e79cf
APM: save 100 bytes of memory
...
remove flight_mode_strings array
13 years ago
uncrustify
39ab309b87
uncrustify ArduPlane/Log.pde
13 years ago
rmackay9
360c1198a6
ArduPlane: more "int" to "int16_t" and added cast to (int) in printf statements.
...
Also modified dump_log function's last_log_num to be int16_t which matches return type from DataFlash's find_last_log method.
13 years ago
Andrew Tridgell
0868bb76e5
APM: fixed SITL build
13 years ago
Andrew Tridgell
5bfd1200d6
APM: change variables to use _cm, _cd and _ms suffix for units
...
this makes it less likely that we mix up units
13 years ago
Andrew Tridgell
7e697e4abd
APM: switch back to old nav_roll calculation
...
the old nav_roll will be used for the 2.50 release to prevent the need
for re-tuning. For the release after that we will use the new
calculation
13 years ago
Andrew Tridgell
de3c9ce56d
Airspeed: change APM to use new AP_Airspeed library
...
the next step is AHRS dead reckoning
13 years ago
Andrew Tridgell
66544a5db2
Log: don't print '+' while erasing logs
...
we no longer do page based erase, so printing a + every 128 pages
makes no sense
13 years ago
Andrew Tridgell
8e01bc3593
MAVlink: update ArduPlane for param fetch during DataFlash erase
...
same changes as for ArduCopter
13 years ago
Andrew Tridgell
8afd196907
APM: adapt ArduPlane for AHRS framework
13 years ago
Andrew Tridgell
d75e883fe8
GCS: get_integrator() is now get_gyro_drift() in DCM
13 years ago
Andrew Tridgell
95ef9206dc
DCM: renorm_sqrt_count is now called renorm_range_count
13 years ago
Doug Weibel
69c7598db2
Update battery monitoring code for ArduPlane
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
13 years ago
Andrew Tridgell
8d87aa41b9
APM: Update for DataFlash changes
13 years ago