Commit Graph

10463 Commits

Author SHA1 Message Date
Randy Mackay
b34664ea07 Copter: remove unused altitude error 2014-02-15 05:27:34 +11:00
Randy Mackay
e69eeea246 Copter: log alt target from PosControl 2014-02-15 05:27:34 +11:00
Randy Mackay
44e731ea40 Copter: control_stabilize reports alt target 2014-02-15 05:27:34 +11:00
Randy Mackay
3ce1c0a9d5 AC_PosControl: add get_alt_error method 2014-02-15 05:27:34 +11:00
Randy Mackay
abb42bcb41 Copter: remove unused run_rate_controllers 2014-02-15 05:27:34 +11:00
Randy Mackay
e1bf4af1b8 Copter: bug fix to set angle_boost in stab mode 2014-02-15 05:27:34 +11:00
Randy Mackay
a0298aee29 AP_Motors: expose throttle min and max 2014-02-15 05:27:34 +11:00
Randy Mackay
89b7e6b1c8 AC_AttControl: implement angle_boost 2014-02-15 05:27:34 +11:00
Randy Mackay
77c38f4de4 Copter: integrate init take-off 2014-02-15 05:27:34 +11:00
Randy Mackay
8988b48ad8 AC_PosControl: add init take-off 2014-02-15 05:27:34 +11:00
Randy Mackay
2c03a3a3c6 Copter: set pos_control.set_dt 2014-02-15 05:27:34 +11:00
Randy Mackay
faf1e99f1a Copter: surface tracking to use pos_control 2014-02-15 05:27:33 +11:00
Randy Mackay
5649b7f4d9 Copter: integrate AC_PosControl constructor changes 2014-02-15 05:27:33 +11:00
Randy Mackay
4840ce238a Copter: skeleton AltHold flight mode 2014-02-15 05:27:33 +11:00
Randy Mackay
7784fc7645 Copter: update pos_control's hover throttle 2014-02-15 05:27:33 +11:00
Randy Mackay
33552b63d8 Copter: early integration of AC_PosControl 2014-02-15 05:27:33 +11:00
Randy Mackay
dcac124105 AC_PosControl: add throttle controller 2014-02-15 05:27:33 +11:00
Randy Mackay
05bb943a69 AC_AttControl: first draft of PosControl class 2014-02-15 05:27:33 +11:00
Randy Mackay
3146299a0f Copter: move control_stabilize yaw input higher 2014-02-15 05:27:33 +11:00
Randy Mackay
7f56b28767 Copter: move thr control to control_stabilize 2014-02-15 05:27:33 +11:00
Randy Mackay
2253cf9769 Copter: run main loop at 400hz for pixhawk 2014-02-15 05:27:33 +11:00
Randy Mackay
b7565affcd INS: add support for 400hz for PX4 2014-02-15 05:27:33 +11:00
Randy Mackay
3a78263921 Copter: skeleton init call for all flight modes 2014-02-15 05:27:33 +11:00
Randy Mackay
0431b7e1d4 Copter: bug fix for stabilize_run's yaw control 2014-02-15 05:27:33 +11:00
Randy Mackay
1fdfa751e6 Copter: integrate replacement of timers with set_dt 2014-02-15 05:27:33 +11:00
Randy Mackay
c8e277703d Copter: add acro_run skeleton 2014-02-15 05:27:33 +11:00
Randy Mackay
c2ca5c46b8 Copter: correct auto_run 2014-02-15 05:27:32 +11:00
Randy Mackay
1cf065e1df Copter: remove debug for control_stabilize 2014-02-15 05:27:32 +11:00
Randy Mackay
cbe56bba25 Copter: integrate AC_AttitudeControl 2014-02-15 05:27:32 +11:00
Randy Mackay
7b9a48107e Copter: move angle_max parameter to AP_Vehicle 2014-02-15 05:27:32 +11:00
Randy Mackay
0521806cc6 AP_Vehicle: add multicopter parameters 2014-02-15 05:27:32 +11:00
Randy Mackay
715c8eaf02 AC_AttitudeControl: first draft of library 2014-02-15 05:27:32 +11:00
Andrew Tridgell
6029ec53ae Rover: changed LOG_WHEN_DISARMED to 1<<16
this makes it possible to set via mavlink float interface
2014-02-15 05:12:48 +11:00
Andrew Tridgell
d853d65b84 AP_Airspeed: added ARSPD_TUBE_ORDER parameter
This allows for either order of tube connection by default, but the
order can be specified if need be
2014-02-15 05:12:15 +11:00
Andrew Tridgell
2bf7a46c9b Copter: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell
9d6005edd8 Rover: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell
7de8be1956 Plane: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell
bea0a46410 AP_HAL: added servorail_voltage and power_status_flags() API on AnalogIn 2014-02-15 05:00:09 +11:00
Andrew Tridgell
ce43e674fe DataFlash: added power status logging 2014-02-15 05:00:09 +11:00
Andrew Tridgell
87355127ca GCS_MAVLink: added send_power_status() 2014-02-15 05:00:09 +11:00
Andrew Tridgell
8797f38038 GCS_MAVLink: regenerate MAVLink headers 2014-02-15 05:00:08 +11:00
Andrew Tridgell
0cbd5a2ef0 GCS_MAVLink: added POWER_STATUS message 2014-02-15 05:00:08 +11:00
Andrew Tridgell
63910bf8cd DataFlash: work around a NuttX bug
the seek offset of files can get badly mucked up when it crosses
cluster boundaries. We need to fix this in NuttX, but meanwhile this
works around the bug. It seems that doing a lseek(fd, 0, SEEK_CUR)
fixes the seek offset in the file.

The bug seems to first happen at an offset of 315392. It also
doesn't happen every time - it is more likely to happen on the first
log download after booting
2014-02-15 05:00:08 +11:00
Andrew Tridgell
0aebc18b3f GCS_MAVLink: return early from log send if no log data to send 2014-02-14 21:51:00 +11:00
Andrew Tridgell
1497c33178 GCS_MAVLink: run a bit faster on serial ports with flow control
with flow control we can afford to push the radio a bit harder
2014-02-14 21:51:00 +11:00
Andrew Tridgell
7c1b9b344f AP_HAL: added get_flow_control() API 2014-02-14 21:51:00 +11:00
Andrew Tridgell
dfa95b3464 Plane: moved the always log flag to 1<<16
this prevent problems with transferring the bitmask as a float
2014-02-14 21:51:00 +11:00
Andrew Tridgell
81c5edbdb5 GCS_MAVLink: fixed a log download bug for repeated downloads
we were not resetting the offset to 0 correctly
2014-02-14 21:50:59 +11:00
Andrew Tridgell
dcd7f9d26d AP_Airspeed: use raw (signed) airspeed
this allows us to detect when the user has the ports the wrong way
around, and mark the sensor unhealthy
2014-02-14 21:50:59 +11:00
Andrew Tridgell
0a3476bbf1 Copter: change to new board_voltage() API 2014-02-14 21:50:59 +11:00