Commit Graph

15597 Commits

Author SHA1 Message Date
Robert Lefebvre a5af151a91 Copter: Initial expansion of Aux Switch to Ch7-12 2015-03-17 21:18:41 +09:00
Andrew Tridgell ecd2a6f515 DataFlash: log temperature of IMUs
this is the first step towards supporting temperature calibration of
IMUs
2015-03-17 13:33:26 +11:00
Andrew Tridgell 23272e4013 AP_InertialSensor: added get_temperature() interface
this will allow logging of individual temperature sensors
2015-03-17 13:32:54 +11:00
Andrew Tridgell 9468a59204 Plane: require 3 seconds of not flying to declare a crash on land 2015-03-17 10:40:16 +11:00
Tom Pittenger 1b0ed277b3 Plane: Disarm On Land
After a landing has occur using a LAND waypoint, automatically disarm
after this many seconds have passed. Use 0 to not disarm.
2015-03-17 10:30:41 +11:00
Andrew Tridgell 90bb97a144 Plane: added last_flying_ms to auto_state
used to find out how long it is since we were last flying
2015-03-17 10:12:00 +11:00
Andrew Tridgell 18b277a9d2 Plane: use arm_motors() and disarm_motors() 2015-03-17 10:12:00 +11:00
Andrew Tridgell dd1059cecf Plane: added arm_motors() and disarm_motors() helper functions 2015-03-17 10:12:00 +11:00
mirkix 1f85a087ac Linux_HAL_Essentials: Move pwmpru and rcinpru to subfolder pru 2015-03-17 08:21:46 +11:00
mirkix a0f183e6ce Linux_HAL_Essentials: Move PFX DT files to devicetree/pxf 2015-03-17 08:20:51 +11:00
Randy Mackay 7f25938834 AHRS: fix example sketch 2015-03-16 20:29:19 +09:00
Randy Mackay b01f9505b1 Mission: fix example sketch
Also replace printf with print where possible
2015-03-16 20:29:05 +09:00
Randy Mackay 385b3744ea MotorTri: check servo_out above min_throttle 2015-03-16 14:49:38 +09:00
Randy Mackay f9e29a7f77 MotorSingle: check servo_out above min_throttle
We need to recalc radio_out or the motors could fall below min throttle
2015-03-16 14:49:37 +09:00
Randy Mackay 8de5d16f96 MotorCoax: check servo_out above min_throttle
We need to recalc radio_out or the motors could fall below min throttle
2015-03-16 14:49:35 +09:00
Randy Mackay b10730f35c Copter: remove THR_MAX parameter 2015-03-16 14:49:34 +09:00
Leonard Hall 9a3f48cc1f AC_PosControl: ensure throttle output above zero 2015-03-16 14:49:33 +09:00
Leonard Hall 31a55b2bd6 MotorsMatrix: fix div by zero by ensuring throttle is above min 2015-03-16 14:49:31 +09:00
Andrew Tridgell 86ef4a738c Plane: only pass through throttle in failsafe if armed 2015-03-16 16:45:49 +11:00
Andrew Tridgell e55350a5d6 Plane: added crash detection in autoland
if we are no longer flying then flare, which turns off the motor

This is based on work by Tom Pittenger
2015-03-16 10:59:53 +11:00
Andrew Tridgell fb8b96ba0d Plane: make is_flying() a bit more accurate in landing approach
prevent false negatives using the sink rate
2015-03-16 10:58:36 +11:00
Paul Riseborough 9c2f1ce869 AP_Mount: Fix bug in mavlink gimbal attitude control 2015-03-16 09:54:43 +11:00
ahcorde 103bb2a08d AP_InertialSensor: Fix orientation MPU6000 PXF 2015-03-16 09:50:51 +11:00
mirkix bd34ffa7db Linux_HAL_Essentials: RC AIO PRU firmware. Does RC input (5ns accuracy) and 12 PWM RC ouputs (better than 1us accuracy) with only one PRU. 2015-03-16 09:33:55 +11:00
mirkix d4d42599b0 AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
mirkix a6b018eab9 AP_HAL_Linux: BBBMINI use kernel CS now 2015-03-16 09:15:06 +11:00
mirkix b88dc40e79 Linux_HAL_Essentials: Add device tree for BBBMINI 2015-03-16 09:15:06 +11:00
Jonathan Challinger dff899647f AP_Mount: use AP_AHRS_TYPE instead of AP_AHRS_MOUNT 2015-03-16 09:14:03 +11:00
Jonathan Challinger f92c711d14 AP_AHRS: define AP_AHRS_TYPE to be the type of AHRS in use 2015-03-16 09:14:03 +11:00
Andrew Tridgell 569626ac1a AP_TECS: fixed APM2 build 2015-03-16 08:40:18 +11:00
Andrew Tridgell cf2445dc97 AP_InertialSensor: prevent nested accelerometer calibration 2015-03-15 15:22:59 +11:00
Andrew Tridgell 1c1798fb11 Plane: support much smoother flare transitions
provide the height above the ground to TECS so it can make a smarter
pre-flare transition
2015-03-15 13:53:08 +11:00
Andrew Tridgell 8fc58d1cbe AP_Vehicle: expose LAND_FLARE_SEC in vehicle parameters for fixed wing 2015-03-15 13:52:34 +11:00
Andrew Tridgell 060f553097 AP_TECS: provide a much smoother transition before flare
this moves the pitch constraint smoothly between unconstrained and
fully constrained over two time constants before the flare. This
greatly reduces the sudden pitch changes at flare
2015-03-15 13:52:17 +11:00
Andrew Tridgell 9c0614c7bb AP_RangeFinder: default test to I2C Lidar 2015-03-15 13:50:59 +11:00
Andrew Tridgell c8b0970e61 AP_Compass: show compass count in example 2015-03-14 20:00:29 +11:00
Andrew Tridgell c565d3b805 AP_Airspeed: fixed example build 2015-03-14 20:00:15 +11:00
Andrew Tridgell 9ec9d58fb2 autotest: removed flymaple copter build
doesn't support NavEKF
2015-03-14 20:00:04 +11:00
Andrew Tridgell f4455d063e AP_Compass: fixed example 2015-03-14 17:07:39 +11:00
Andrew Tridgell 0bafd33cfa autotest: disable remaining APM1 build for copter 2015-03-14 15:04:22 +11:00
Andrew Tridgell cac7714693 Plane: fixed parameter typo 2015-03-14 14:53:02 +11:00
Randy Mackay 74b46818bd AutoTest: add 10sec before starting copter test
We should probably replace this with a check that the EKF has completed
it's initialisation and has not gone into constant position mode.
2015-03-14 11:03:15 +09:00
Andrew Tridgell 585a105128 AP_AHRS: use compass->last_update_usec() 2015-03-14 12:31:50 +11:00
Andrew Tridgell de3f461a55 AP_NavEKF: use compass->last_update_usec() 2015-03-14 12:31:39 +11:00
Andrew Tridgell 1962706a33 AP_Compass: fixed last_update, using last_update_usec()
this broke use of compass in the EKF
2015-03-14 12:31:23 +11:00
Georacer 9b29a9cd5d autotest: Enable SITL code to call an external ROS simulator for ArduPlane
sim_vehicle.sh code was modified to call the ROS/runsim.py file
instead of the default /jsbsim/runsim.py. ROS/runsim.py uses roslaunch
command to launch the last_letter simulator
https://github.com/Georacer/last_letter, which should be cloned
and compiled in the system.

GIT_Success.txt file was modified to depict the author's current
mindstate.

The location LGAT (Former National Airport of Athens, now an unofficial
model park) was added in the locations.txt file, since this is my
base of operations and start for my missions.
2015-03-14 09:07:52 +11:00
Andrew Tridgell 86fc90f54c AP_Compass: removed spurious rotation in PX4 backend
and cleanup rotation macros
2015-03-14 08:52:37 +11:00
Andrew Tridgell d7bac39539 AP_Compass: removed two unused functions 2015-03-14 08:52:37 +11:00
Randy Mackay 2a47337dc1 Copter: fix multiple flight-mode fail log messages
When the vehicle failed to enter a flight mode it was logging the
failure repeatedly in the dataflash
2015-03-13 22:15:27 +09:00
Andrew Tridgell 57273b41b4 autotest: removed 2560 build for copter 2015-03-13 22:58:21 +11:00