Commit Graph

17488 Commits

Author SHA1 Message Date
Randy Mackay c57c0ee0d8 Copter: AC3.3-rc6 release notes 2015-06-25 20:31:00 +09:00
Michael du Breuil e45f3537cf APM_Control: Remove duplicate include statements 2015-06-25 10:23:47 +10:00
Michael du Breuil aa04c81e3c APM_Control: Fix a typo in the docstring for YAW2SRV_SLIP 2015-06-25 10:22:36 +10:00
Tom Pittenger e6122d1a4e AP_Mission: ensure cache coherence on mission resume
- when resuming a mission we should read the value from storage of the same index to ensure we're not continuing an old cached version of the mission item.
- inherent problem: DO commands will continue and will be unaffected unless the new mission has a different DO_ command structure. If so, a set_current_cmd() or reset() should be issued by the GCS.
2015-06-25 10:21:06 +10:00
Peter Barker d4a34b3da1 SITL: abort sim_vehicle.sh if build fails a second time
Previously a build could fail and we would end up running the old code
2015-06-25 10:16:24 +10:00
Andrew Tridgell a81590f7ac HAL_SITL: prevent FPE on zero range with optflow 2015-06-25 10:08:53 +10:00
Randy Mackay 14cf9b1621 Copter: reset ekf height if arming before home set 2015-06-24 16:25:17 +09:00
Randy Mackay 9f17fc17ab NavEKF: update parameter descriptions 2015-06-24 16:25:14 +09:00
Paul Riseborough 87e6a24154 AP_NavEKF: Add public method to reset EKF height datum and baro alt 2015-06-24 16:25:11 +09:00
Randy Mackay 814edfa457 Copter: shift yaw target if ekf yaw estimate resets 2015-06-24 11:49:35 +09:00
Randy Mackay 1e3e65e443 AC_AttControl: add shift_ef_yaw_target
This allows shifting the target heading in case the EKF shifts it's
heading estimate
2015-06-24 11:49:32 +09:00
Paul Riseborough e3ccb74e12 AP_NavEKF: Publish amount of in-flight yaw angle reset 2015-06-24 11:49:29 +09:00
Robert Lefebvre 8891cd159a Copter: Tradheli to check rotor_runup_complete before allowing takeoff. 2015-06-24 11:42:48 +09:00
Andrew Tridgell 48828a7834 autotest: more changes to cope with older builds without submodules 2015-06-24 09:36:21 +10:00
Andrew Tridgell fd17a69cd1 autotest: skip binary builds without submodules
the build_binaries is trying to build for navio and pxf without
submodules
2015-06-23 21:43:44 +10:00
Andrew Tridgell 54e2ebde1c PX4Firmware: submodule update 2015-06-23 14:27:49 +10:00
Andrew Tridgell 63895cbe75 autotest: build pxf and navio binaries for firmware.diydrones.com 2015-06-23 14:27:49 +10:00
Lucas De Marchi 5bf5261734 README.md: fix typo in dronecode description 2015-06-23 12:09:11 +09:00
Andrew Tridgell 3572ad8fcb README: added Jon as Solo maintainer 2015-06-23 10:50:42 +10:00
Peter Barker 54efa3d727 Replay: split off a ReplayVehicle class
Like "Copter copter" and "Plane plane": "ReplayVehicle replayvehicle"
2015-06-23 09:49:13 +10:00
Craig Elder a22f9bc695 Add Dronecode.org to README.md 2015-06-22 16:06:28 -07:00
Gustavo Jose de Sousa c72dc9bd45 AP_InertialSensor: make single rotation on MPU9250
The previous implementation made some boards apply two rotations to suit
their default orientation. That was happening because there was an
unconditional rotation being done (commented as "rotate for bbone
default").

This commit makes that unconditional rotation as a default rotation
instead and adjusts the former additional rotations to be single
rotations.
2015-06-22 17:45:20 +10:00
Gustavo Jose de Sousa 3dad768e8b AP_InertialSensor: log failure to initialize after max attempts on MPU9250
This happens for example when you are trying to use an SPI speed that's
above the one supported by the sensor or the controller.
2015-06-22 17:45:20 +10:00
Gustavo Jose de Sousa 587471ab54 AP_InertialSensor: disable I2C on MPU9250
As the datasheet says: "To prevent switching into I2C mode when using
SPI, the I2C interface should be disabled by setting the I2C_IF_DIS
configuration bit."

We also reset the sensor like PX4Firmware does for initializing the
MPU6000.  See: ee1d8cd770/src/drivers/mpu6000/mpu6000.cpp (L695)
2015-06-22 17:45:20 +10:00
Michael du Breuil 54c06cde02 Plane: Log the steering controller PID state 2015-06-22 15:41:44 +10:00
Michael du Breuil 6cd81ae1fb APM_Control: Add PID logging to yaw controller 2015-06-22 15:41:44 +10:00
Michael du Breuil 1a121f543b Plane: Use PIDS for steering rather then PIDY 2015-06-22 15:41:44 +10:00
Michael du Breuil 225c946af0 DataFlash: Add PIDS for steering logging 2015-06-22 15:41:44 +10:00
Robert Lefebvre 11214b3414 AP_Motors: move constraints to set_throttle 2015-06-22 13:52:59 +09:00
Randy Mackay 89345bad7a Copter: clarify takeoff_timer_start alt units
No functional change
2015-06-22 13:24:01 +09:00
Randy Mackay f79ac46d60 Copter: fix althold take-off state
Also abort takeoff when switching into AltHold
2015-06-22 13:24:00 +09:00
Randy Mackay 15c57342a5 Copter: remove some comments from althold 2015-06-22 13:23:58 +09:00
Robert Lefebvre a642c88e34 Copter: AltHold state machine 2015-06-22 13:23:53 +09:00
Grant Morphett 84ac8abc42 AP_Mount: Fixed a bug with wrapping of panning angles. 2015-06-22 09:32:26 +09:00
Andrew Tridgell 568b0fde3f PX4Firmware: submodule update 2015-06-21 18:19:32 +10:00
Andrew Tridgell 4aac2c5c96 Plane: trigger OVERRIDE_CHAN in px4io
setup the MODESWITCH channel as our OVERRIDE_CHAN, allowing for
instant manual passthru in px4io when OVERRIDE_CHAN goes above 1750

This makes for faster switching, and avoids bugs where a still enabled
FMU channel disables override
2015-06-21 18:19:16 +10:00
Andrew Tridgell f628440df9 Travis: removed parallism from coverity build
prevent compiler faults
2015-06-20 17:03:15 +10:00
Andrew Tridgell a424686d2f DataFlash: reduce future merge conflicts
an enum makes it easier to merge new messages
2015-06-20 16:18:50 +10:00
Andrew Tridgell 81e6d88560 StorageManager: fixed hang in erase()
found by coverity
2015-06-20 15:00:57 +10:00
Andrew Tridgell 4eab27abe9 AP_InertialSensor: fixed logic bug in MPU6000 init
thanks to coverity
2015-06-20 14:53:04 +10:00
Andrew Tridgell 248bf8c5a3 Plane: disable geofence on APM2 2015-06-20 14:52:42 +10:00
Andrew Tridgell 131b345ccc APM_Control: cleanup some coverity warnings 2015-06-20 13:30:32 +10:00
Andrew Tridgell 2dbe372b2f Plane: cleanup some coverity warnings 2015-06-20 13:26:34 +10:00
Andrew Tridgell ae1f2e8bea Plane: fixed missing break statement 2015-06-20 12:35:07 +10:00
Andrew Tridgell 520d6cae6d build: fixed typo 2015-06-19 18:08:49 +10:00
Andrew Tridgell cfa63254b6 build: added support for developer.mk (at request of David) 2015-06-19 17:57:13 +10:00
Andrew Tridgell c4c97b14d3 build: only build required boards in NuttX archives
this speeds up the px4 build a lot
2015-06-19 17:44:18 +10:00
Randy Mackay 8f95bc3b67 Copter: parachute check uses lean angle error of 30deg
Also slightly restructured
2015-06-19 15:46:13 +09:00
Leonard Hall 4154ecdf18 Copter: use angle error instead of absolute angle 2015-06-19 15:46:12 +09:00
Leonard Hall 911bee3518 Copter: set throttle_mix to min when disarmed 2015-06-19 15:46:11 +09:00