Commit Graph

7464 Commits

Author SHA1 Message Date
Randy Mackay 574756908d Copter: set wpinav controller targets in nav calls
All navigation commands now properly set wpinav controller targets
except CIRCLE related commands.
2013-02-24 14:41:36 +09:00
Randy Mackay 00bc28adcc Copter: take-off code cleanup
remove redundant setting of loiter target.
explicitely set throttle mode to THROTTLE_AUTO
2013-02-24 14:41:32 +09:00
Randy Mackay 67c69a19ee Copter: remove baro-only alt hold
Saves 8 bytes of memory and more importantly simplifies the alt hold
calculations
2013-02-24 14:41:29 +09:00
Randy Mackay 37d3e1d7e4 Copter: add zero slope checks to wpinav
also added RTL fix to set wpinav target explicitly
2013-02-24 14:41:25 +09:00
Randy Mackay b74da54c98 Copter: enable inav xy by default 2013-02-24 14:41:21 +09:00
Randy Mackay 53ab1d5d9b Copter: add advance track call to actually move towards waypoint
Also added unrelated check that waypoint is valid before updating
waypoint distance.
2013-02-24 14:41:17 +09:00
Randy Mackay 766ccdf6f8 Copter: add selection of inertial nav wp controller to APM_Config.h 2013-02-24 14:41:13 +09:00
Randy Mackay fcf102b2cf Copter: inertial nav waypoint controller
#define added to allow compile time selection of traditional or inav
based loiter and wp controllers
2013-02-24 14:41:09 +09:00
Pat Hickey e0457f21de AP_HAL_PX4: fix off-by-one error in RCOutput channel sending 2013-02-23 15:04:17 -08:00
Jason Short 4c3ee76900 AC: Moving flip speed back to 400°/s to prevent oscillation around change in speed.
Would like to add a more gradual speed change in the finish. Might require a new state as the copter passes -90°
2013-02-23 13:14:15 +09:00
Jason Short 7d5b975da2 AC: Flip code fix
Flight tested it today and made some flips. Throttle adjusted in Manual throttle modes. Not tested in AP throttle modes such as alt hold.
2013-02-23 13:14:11 +09:00
Randy Mackay 8e4c9518ea Copter: increase low voltage check to 10.5v
Change requested by Rob Lefebvre and Richie Wilson
2013-02-23 00:36:51 +09:00
Jason Short abd0fb9099 AC : global static variables should not be initialized to zero 2013-02-22 17:34:18 +09:00
Andrew Tridgell a3ef58ac92 AP_HAL: moved AnalogIn example to generic examples
it is not AVR specific anymore
2013-02-22 12:50:47 +11:00
Andrew Tridgell 5b92c67286 HAL_AVR: fixed analog input with high channel numbers 2013-02-22 12:48:54 +11:00
Andrew Tridgell fae396e64f HAL_AVR: expand analog input test to more channels 2013-02-22 12:48:29 +11:00
Andrew Tridgell 5f4c5f8201 Plane: update SERIAL0_BAUD parameter description 2013-02-22 08:39:02 +11:00
Andrew Tridgell bf6198be40 Rover: tweaked parameters and added SPEED_TURN_GAIN and SPEED_TURN_DIST 2013-02-22 08:38:13 +11:00
Andrew Tridgell 52800e52b9 Rover: added 'level' CLI and reboot command 2013-02-22 07:49:07 +11:00
Andrew Tridgell 1cb9f71370 Rover: fixed comments 2013-02-22 07:48:52 +11:00
Andrew Tridgell 882f058e7d Rover: don't override declination on startup 2013-02-22 07:14:54 +11:00
Andrew Tridgell 06ccf8495b Rover: default magnetometer to enabled
will be disabled by auto-detect code if not attached
2013-02-22 07:14:38 +11:00
Andrew Tridgell b9a204419a Rover: removed obsolete files 2013-02-22 07:14:07 +11:00
Andrew Tridgell 4c7a1a1806 Copter: change PX4 main baud rate back to 115200
we now use USB console
2013-02-22 07:04:23 +11:00
Andrew Tridgell 7e4d4b07c3 Rover: change PX4 main baud rate back to 115200
we now use USB console
2013-02-22 07:03:52 +11:00
Andrew Tridgell a77b5e9954 build: fixed eclipse build on Windows for PX4 2013-02-21 21:03:55 +11:00
Andrew Tridgell ded192be3f build: split up the build system to allow for better board support
this will make it easier to support boards like the VRBrain
2013-02-21 16:48:49 +11:00
Andrew Tridgell a84cc00580 Merge pull request #96 from jason4short/master
Please add this GitIgnore
2013-02-20 21:11:42 -08:00
Jason Short a9671c2d97 Git: Adding MacOS gitignore .DS_Store 2013-02-20 21:09:06 -08:00
Andrew Tridgell 139acc0530 Plane: ignore control mode changes when in throttle failsafe
this prevents the receiver causing a temporary mode change
2013-02-21 11:21:39 +11:00
Andrew Tridgell 1ebaa14a99 Plane: prepare for 2.70 release 2013-02-21 09:49:15 +11:00
Andrew Tridgell c373429a6e HAL_PX4: fixed a buffer handling bug
BUF_SPACE() was badly buggy, which could lead to memory corruption
2013-02-20 18:15:56 +11:00
Andrew Tridgell 160e5fa311 HAL_PX4: show a message if we fail to upgrade PX4IO firmware 2013-02-20 18:15:23 +11:00
Andrew Tridgell 0f239ae92c Rover: reset AHRS trim after levelling 2013-02-20 11:56:38 +11:00
Andrew Tridgell 0a0b51cc63 Plane: reset AHRS trim after a level operation 2013-02-20 11:56:02 +11:00
Andrew Tridgell f67480fa50 AP_GPS: ensure constructors zero all key variables
this prevents a crash on PX4 if a GPS is attached after startup
2013-02-20 11:33:39 +11:00
Andrew Tridgell 93ef403529 AP_GPS: removed unused AP_GPS_Shim.h 2013-02-20 11:33:39 +11:00
Andrew Tridgell 02c5c3ec4a HAL_PX4: changed scheduler priorities
put sensor priority above main sketch, to prevent occasional blocking
for sensor data
2013-02-20 11:30:54 +11:00
Andrew Tridgell 24826c0c74 Plane: default the stream rates to 1Hz 2013-02-20 10:08:49 +11:00
Andrew Tridgell 1007f2ef07 Plane: fixed a bug with setting stream rates
this is what caused the "no sensors" problem in the 2.69 release
2013-02-20 09:32:01 +11:00
Randy Mackay 963231a19b AHRS: fix example sketch to use roll/pitch trim 2013-02-19 18:56:09 +09:00
Randy Mackay 3321db8dde AHRS: limit trim to 10 degrees 2013-02-19 18:50:57 +09:00
Randy Mackay 2ecf34e509 Copter: update version to 2.9.1 ahead of release 2013-02-19 13:52:04 +09:00
Randy Mackay d48aebea8e Copter: updated release notes for 2.9.1-rc2 2013-02-19 13:49:53 +09:00
Randy Mackay 9904e9f4db Copter: update firmware version to 2.9.1-rc1 2013-02-19 13:43:36 +09:00
Randy Mackay b7a4814e22 Rover: integrate automatic roll and pitch trims 2013-02-19 13:31:03 +09:00
Randy Mackay 9c984b18db Plane: integrate automatic roll and pitch trims 2013-02-19 13:30:51 +09:00
Randy Mackay 6601bd37cf Copter: integrate automatic roll and pitch trims 2013-02-19 12:51:24 +09:00
Randy Mackay 21de9f5f47 AP_InertialSensor: return roll and pitch trim angles 2013-02-19 12:45:44 +09:00
Andrew Tridgell 54e7bce75e HAL_PX4: cope with O_NONBLOCK not working in NuttX on ttyACM0
writes will block anyway, which clags up APM
2013-02-19 12:02:46 +11:00