Commit Graph

14034 Commits

Author SHA1 Message Date
Brad Bosch 74fedc0897 Copter: allow starting autotune from flightmode switch
ch5 switch to AutoTune is equivalent to starting autotune via sw7/8.
2014-11-05 21:08:36 +09:00
squilter ad3bce105c Copter: remove abbreviations from GCS messages 2014-11-05 20:04:52 +09:00
Andrew Tridgell 7e3b8a30f5 HAL_PX4: use px4io generated values for servo output readback
this makes it easier to observe the behaviour of IO failsafe
2014-11-05 21:54:53 +11:00
Randy Mackay 95827e59c1 AutoTest: fix fly_mission to recognise end of mission
Copter's behaviour after completing a mission has changed so it does not
automatically switch to Loiter mode but rather stays at the last
waypoint.  This was confusing the fly_mission function.
2014-11-05 18:03:47 +09:00
Andrew Tridgell 2b48434e60 AP_TECS: fixed throttle demand on underspeed
thanks to Philipp Oettershagen for finding this bug!
2014-11-05 07:55:18 +11:00
priseborough d6508acfa5 AP_TECS : Prevent throttle undershoot after climb
If the plane was unable to achieve the climb and got significantly below the internal TECS demanded climb profile, the the PD term would be a large value at the top of climb, and would take some time to reduce due to the rate limiter. This meant that the integrator state could be pushed to a very low value and effectively cause the throttle to sit on the lower limit for longer than desired after levelling out.
2014-11-05 07:49:03 +11:00
Andrew Tridgell 3518cf5480 AP_InertialSensor: fixed default MPU9250 orientation for NavIO 2014-11-04 16:18:35 +11:00
Randy Mackay c682a6ee96 ArduPilot: fixup README format 2014-10-31 22:37:24 +09:00
Randy Mackay bf30e2b5b7 ArduPilot: update README.md 2014-10-31 22:01:59 +09:00
Randy Mackay 5104d5f0fe Copter: re-order init_sonar
No functional change.
2014-10-31 20:40:24 +09:00
Randy Mackay 8a61f5acd2 Copter: add comments to control switch debouncing 2014-10-31 15:48:28 +09:00
Jonathan Challinger 5c8b39562f Copter: rework control switch debouncing 2014-10-31 15:30:27 +09:00
Jonathan Challinger b0594e8d56 Copter: supply wp_nav with attitude_control 2014-10-31 15:23:54 +09:00
Jonathan Challinger 369839c7ca AC_WPNav: Use target yaw instead of current yaw for close waypoints 2014-10-31 15:23:52 +09:00
Randy Mackay 1e4ec5f6a2 Camera: add f to float constants 2014-10-31 14:46:51 +09:00
Randy Mackay ad7a9bf81b Camera: initialise image_index 2014-10-31 14:46:49 +09:00
Randy Mackay 44dbf50101 Copter: fix camera feedback msg handling
If the camera was disabled, camera message handling would fall though to
status-text msg handling.
2014-10-31 14:46:47 +09:00
Arthur Benemann 7bb4a39608 Camera: record number of pictures taken since boot
The field is useful for detecting in a GCS if a mavlink_msg_camera_feedback message was dropped.
2014-10-31 14:46:45 +09:00
Arthur Benemann b587025ad1 Copter: send a camera_feedback message when there is a camera trigger 2014-10-31 14:46:42 +09:00
Arthur Benemann b48edf479b GCS_MAVLink: add CAMERA_FEEDBACK to enum 2014-10-31 14:46:40 +09:00
Arthur Benemann 2e4812afb5 Camera: Added feedback message support
Now the autopilot can publish the state of the camera via the mavlink_msg_camera_feedback message.
2014-10-31 14:46:38 +09:00
Randy Mackay 8eb866adef Copter: minor update to AC3.2-rc14 ReleaseNotes 2014-10-31 10:57:43 +09:00
Andrew Tridgell 4e87056631 Replay: fixed build with AP_NavEKF API change 2014-10-31 10:47:57 +11:00
Andrew Tridgell 96a87b6990 Plane: added DF logging of 2nd battery voltage 2014-10-30 21:17:17 +11:00
Andrew Tridgell 34a43b2d99 autotest: fixed backup of autotest .bin logs 2014-10-30 18:30:15 +11:00
Andrew Tridgell 538cf68005 Plane: removed unused function 2014-10-30 18:23:29 +11:00
Jonathan Challinger 84da5d2d98 DataFlash: use new interface functions for EKF IMU weighting and accel biases 2014-10-30 18:17:38 +11:00
Jonathan Challinger 967986d5c6 AP_NavEKF: Split getAccelBias into getAccelZBias and getIMU1Weighting 2014-10-30 18:17:38 +11:00
Jonathan Challinger ac2e5f644c DataFlash: fix bug in ekf gyro bias logging 2014-10-30 18:17:37 +11:00
Jonathan Challinger bb6d8fd44a AP_NavEKF: Set prevDelAng after using it 2014-10-30 18:17:37 +11:00
priseborough aca78d321f DataFlash : Remove unused numerical divergence metric 2014-10-30 18:17:37 +11:00
Jonathan Challinger 210f4397da Replay: clean up unused variables deltaGyroBias and divergeRate 2014-10-30 18:17:37 +11:00
priseborough 296dfad600 Replay : Remove unused numerical divergence metric 2014-10-30 18:17:37 +11:00
Jonathan Challinger 0727ac5c79 AP_NavEKF: clean up unused variable lastDivergeTime_ms 2014-10-30 18:17:37 +11:00
priseborough 5e51c09978 AP_NavEKF : Remove ineffective numerical divergence checks 2014-10-30 18:17:37 +11:00
priseborough 638d63aa90 DataFlash : Change to more descriptive EKF logging names 2014-10-30 18:17:37 +11:00
priseborough 6f759fdb8e AP_AHRS : Tidy up logic used to enable synthetic sideslip fusion 2014-10-30 18:17:36 +11:00
Andrew Tridgell 8506e8b5fb HAL_Linux: fixed linux build 2014-10-30 17:47:18 +11:00
John Williams b9f0310b82 hal_ap_linux: Make PRU constants private to reduce #define namespace pollution.
Forthcoming Zynq port AP_HAL_Linux uses similar constants with different
values - move these as private member constants to avoid collisions.

Signed-off-by: John Williams <john@whelanwilliams.net>
2014-10-30 13:51:41 +11:00
Mikhail Avkhimenia 81de994fef HAL_Linux: separate RCInput for PRU and Navio 2014-10-30 13:30:07 +11:00
Mikhail Avkhimenia e05151f0e0 HAL_Linux: Initialize i2c before rcoutput (required by i2c pwm chips for initialization) 2014-10-30 13:30:07 +11:00
Mikhail Avkhimenia 2f0900b0a8 HAL_Linux: add GPIO driver for Raspberry Pi 2014-10-30 13:30:07 +11:00
Mikhail Avkhimenia 07ed93cea0 HAL_Linux: add PCA9685 based RCOutput for Navio 2014-10-30 13:30:07 +11:00
Andrew Tridgell d95a1be3d6 scripts: fixed devrelease permissions 2014-10-30 12:32:42 +11:00
Alexander Mergel 14c401c0f4 AP_HAL_Linux: [Bugfix] prevent memory acces violation in process_dsm_pulse
When a S.Bus signal is fed into the rcin-Pin AruPlane on the BBB get's a
Segmentation fault. This patch prevents the memory acces to dsm_state.bytes[16] outside
of the array bounds. The patch should be reviewed by sombody who knows the DSM protocol,
as i don't.
2014-10-30 11:57:35 +11:00
Andrew Tridgell 05b903654e autotest: added link to devbuild tree 2014-10-30 11:13:36 +11:00
Andrew Tridgell c0f18272ed autotest: added developer build support
this creates firmware builds for developers in the devbuild directory
2014-10-30 11:12:17 +11:00
Andrew Tridgell 1adacf42b9 PX4: fixed startup log msg location 2014-10-30 08:30:38 +11:00
Andrew Tridgell 6bf76acf96 PX4: add TESTS_MATHLIB_DISABLE define
this helps building with upstream master
2014-10-30 08:09:39 +11:00
Andrew Tridgell 500ecebf57 PX4: conditionally build auth command and libraries
this makes it possible to build with upstream master
2014-10-30 08:09:38 +11:00