Commit Graph

17718 Commits

Author SHA1 Message Date
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
Randy Mackay
8cdfac8fcd Copter: remove baro and pilot thr from crash checks
Add acceleration < 3m/s/s check
Run crash and parachute checks at 400hz
2015-06-19 15:46:10 +09:00
Randy Mackay
e9829e0d82 Copter: remove unused landing detector definitions
Also separate from land mode definitions
2015-06-19 15:46:09 +09:00
Andrew Tridgell
322a61635f SITL: allow extra arguments to be passed to last_letter 2015-06-19 16:39:46 +10:00
Andrew Tridgell
7e23912d17 autotest: added -b option for build target to sim_vehicle.sh 2015-06-19 16:39:45 +10:00
Robert Lefebvre
ee6508d5a7 Copter: Event Log rotor speed going below critical 2015-06-19 15:10:54 +09:00
Robert Lefebvre
0c92565d23 AP_MotorsHeli: add Critical Rotor Speed param, use to switch off runup_complete 2015-06-19 15:10:53 +09:00
Robert Lefebvre
62079226ff Copter: add Heli Dataflash message 2015-06-19 15:10:52 +09:00
Robert Lefebvre
3ad6700c5d AP_MotorsHeli: add getters for rotor speed 2015-06-19 15:10:51 +09:00
Robert Lefebvre
8b917b82ee AP_MotorsHeli: Simplify set_desired_rotor_speed function definition 2015-06-19 15:10:50 +09:00
Robert Lefebvre
3e2e0d07a4 Copter: THO Check Rotor Speed before declaring not landed. 2015-06-19 15:10:49 +09:00
Robert Lefebvre
c6281c772d Copter: add rotor_runup_complete Event Logging 2015-06-19 15:10:48 +09:00
Robert Lefebvre
79e8c8f7f7 AP_MotorsHeli: whitespace fixes 2015-06-19 15:10:47 +09:00
Robert Lefebvre
ef80634435 Copter: auto_armed goes false for Heli when landed and motor shut off. 2015-06-19 15:10:46 +09:00
Grant Morphett
3da78052a1 Rover: Release 2.50! 2015-06-19 14:24:05 +10:00
Georacer
b375a8debf SITL: Allows last_letter to start at the location specified by the SITL arguments 2015-06-19 12:49:29 +10:00
Lucas De Marchi
8426553609 Move maintainers to a section in README.md
Move to README.md so it gains visibility and add more maintainers for
each board.
2015-06-19 10:00:18 +10:00
Grant Morphett
a602173c45 Rover: added the PID logging for steering into the mavlink message.
Copter/Plane already have this PID logging in the mavlink stream to
the GCS and now Rover does too.
2015-06-19 09:55:19 +10:00
Grant Morphett
268afc9d5a Rover: Added dataflash logging of the steering PID. 2015-06-19 09:55:19 +10:00
Leonard Hall
a87e06e6c2 Copter: Autotune Final Tweak 2015-06-18 23:07:10 +09:00
Leonard Hall
7745fb21a7 Copter: remove set_accel_roll_max 2015-06-18 23:07:08 +09:00