Andrew Tridgell
3c0440b0b4
Math: use common degrees() and radians() functions
2012-12-20 14:53:22 +11:00
Andrew Tridgell
06357c40f2
Copter: use new functions
2012-12-20 14:53:22 +11:00
Pat Hickey
2ad4fed8cd
Rover/Copter/Plane: change from vsnprintf to vsnprintf_P
2012-12-20 14:52:38 +11:00
Pat Hickey
54b98c0a7c
ArduPlane: use hal's vsnprintf
2012-12-20 14:52:37 +11:00
Andrew Tridgell
a02f723f3a
Copter: fixed HIL builds
2012-12-20 14:52:37 +11:00
Andrew Tridgell
2e8e84ba8b
Copter: switch to using targets.mk
2012-12-20 14:52:36 +11:00
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
2012-12-20 14:52:35 +11:00
Andrew Tridgell
9e986801c9
Copter: fixed SITL for ArduCopter
2012-12-20 14:52:34 +11:00
Andrew Tridgell
08b1c2d590
Copter: fixed GPS init
2012-12-20 14:52:33 +11:00
Pat Hickey
9a28ed2df6
ArduCopter: refactor Makefile targets in terms of Arduino.mk targets
2012-12-20 14:52:31 +11:00
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
2012-12-20 14:52:30 +11:00
Pat Hickey
22ac39a4ef
ArduCopter: disable and remove InertialNav defines from APM_Config
...
* We're not going to have the RAM available to support those in general release
2012-12-20 14:52:29 +11:00
Pat Hickey
d5d97be837
ArduCopter: add param loader properly implement parameters
...
* thanks tridge!
2012-12-20 14:52:29 +11:00
Pat Hickey
5e63491994
ArduCopter: fix issues with HAL/HIL mixup and baro/compass instances
2012-12-20 14:52:29 +11:00
Pat Hickey
21d0da84a6
ArduCopter: temporarily disable AP_Param::setup_sketch_results
...
* rebased away tridge's AP_Param changes as they seemed possibly buggy?
2012-12-20 14:52:29 +11:00
Pat Hickey
a0151aa66c
ArduCopter: fix cliSerial null ptr, do AP_Param::setup_sketch_defaults
...
* plus make SITL DataFlash available.
2012-12-20 14:52:29 +11:00
Pat Hickey
1e48d0fc69
Makefile Targets rewritten to use per-target extension style
2012-12-20 14:52:29 +11:00
Pat Hickey
524e52f449
ArduCopter: changed makefile to inherit environments properly
2012-12-20 14:52:29 +11:00
Pat Hickey
d93d932831
ArduCopter: defines fixes
...
Conflicts:
libraries/AP_Common/Arduino.mk
2012-12-20 14:52:28 +11:00
Pat Hickey
2aa4657315
ArduCopter: changes to use CONFIG_HIL_BOARD
2012-12-20 14:52:28 +11:00
Pat Hickey
ade7099d75
ArduCopter: add AP_HAL_MAIN
2012-12-20 14:52:28 +11:00
Pat Hickey
5bd7046a95
ArduCopter: sketch cpp builds!
2012-12-20 14:52:28 +11:00
Pat Hickey
8b49208771
ArduCopter: some fixes
2012-12-20 14:52:28 +11:00
Pat Hickey
13c044ab3e
ArduCopter: fixes to radio.pde
2012-12-20 14:52:28 +11:00
Pat Hickey
7af03127f6
ArduCopter: more work
2012-12-20 14:52:28 +11:00
Pat Hickey
b90889dd11
ArduCopter: add ArduPlane's compat.h & compat.pde
2012-12-20 14:52:28 +11:00
Pat Hickey
70f4739522
ArduCopter: more fixes
2012-12-20 14:52:28 +11:00
Pat Hickey
4b84e99f85
remove dumb user hooks comments
2012-12-20 14:52:28 +11:00
Pat Hickey
901c692ee3
arducopter: type fix
2012-12-20 14:52:28 +11:00
Pat Hickey
f281d9265e
ArduCopter: reworked sonar analog source creation
2012-12-20 14:52:28 +11:00
Pat Hickey
d9e0bbbbab
ArduCopter: first pass at AP_HAL porting
...
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
2012-12-20 14:52:27 +11:00
Pat Hickey
b7a7eceef8
ArduCopter: add nocore.inoflag and Arduino.h
2012-12-20 14:51:40 +11:00
Pat Hickey
ada10f6eb2
ArduCopter: change comment references to AP_Var to AP_Param
...
* jsut to clean up the grep for "AP_Var"
2012-12-20 14:51:31 +11:00
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
2012-12-20 14:51:28 +11:00
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
2012-12-20 14:51:19 +11:00
Jason Short
0419dc8dfd
ACM: Simplified control mode code
2012-12-14 13:30:48 -08:00
Jason Short
19ae5c30eb
ACM : Formatting
2012-12-13 20:12:39 -08:00
rmackay9
52177c63f7
ArduCopter: only attempt to change settings of optical flow sensor if it has been successfully initialised
2012-12-11 00:14:29 +09:00
rmackay9
af77425636
ArduCopter: fix Failed to Init Optflow message at startup
2012-12-11 00:09:45 +09:00
rmackay9
2f748f8382
ArduCopter: renamed BATT_FAILSAFE to FS_BATT_ENABLE
2012-12-10 23:47:14 +09:00
rmackay9
d31efebd44
ArduCopter: rename throttle failsafe parameters.
...
Switch to LAND flight mode if throttle failsafe triggers and we do not have a GPS.
THR_FAILSAFE renamed to FS_THR_ENABLE.
THR_FS_VALUE renamed to FS_THR_VALUE.
THR_FS_ACTION removed (action is now controlled by setting FS_THR parameter).
2012-12-10 23:38:43 +09:00
rmackay9
2f1b2b70e6
ArduCopter: added ACRO_TRAINER parameter to allow enabling/disabling the acro training function which will bring the roll back to within +- 45 degrees
2012-12-10 22:27:46 +09:00
rmackay9
dadad8677e
ArduCopter: added descriptions for most parameters that did not have them
...
Renamed loiter_radius to circle_radius to better reflect it's purpose.
Removed some unused parameters including WP_MODE, WP_MUST_INDEX, LOG_LASTFILE, AXIS_P
2012-12-10 21:45:57 +09:00
rmackay9
f522ef078e
ArduCopter: remove unused functions do_target_yaw, do_loiter_at_location, get_altitude_error and clear_new_altitude
2012-12-10 17:30:50 +09:00
rmackay9
047f848cc7
ArduCopter: remove ThirdOrderCompFilter from list of includes
2012-12-10 09:14:44 +09:00
rmackay9
154e3c33f7
ArduCopter, AP_InertialNav: consolidated ThirdOrderComplementaryFilter into AP_InertialNav to save about 200bytes of RAM
2012-12-10 00:43:11 +09:00
rmackay9
cfe2507c0b
ArduCopter: reduce Rate Roll/Pitch P to 0.150 (was 0.175) and increase I to 0.1 (was 0.01)
2012-12-09 18:08:45 +09:00
rmackay9
56ceb230cb
ArduCopter: add YAW_OVR_BEHAVE to allow control of when autopilot takes back control of yaw after pilot overrides it during a mission
2012-12-09 18:04:31 +09:00
rmackay9
0f7bb79d89
ArduCopter: add comments to tuning parameters.
...
Use RC_CHANNEL types as defined by RC_Channel library.
Remove unused definitions.
2012-12-09 16:44:42 +09:00
rmackay9
9a05d3bd36
ArduCopter: add comments at the top of many navigation functions
2012-12-09 15:50:50 +09:00