Arthur Benemann
4bdae02cfd
AP_Gimbal: disable gimbal motors if copter is fliped
2015-04-21 21:45:34 +09:00
Arthur Benemann
ebaf1e28b1
AP_Gimbal: smooth the RC input with a low pass filter
2015-04-21 21:45:33 +09:00
Arthur Benemann
534790634b
AP_Gimbal: add a radio failsafe state to the gimbal
2015-04-21 21:45:32 +09:00
Arthur Benemann
7cf883a61c
Copter: increase the telemetry receive function rate to 400Hz
...
gimbal loop runs at 100Hz so to respond in time the gcs_check_input must run at a faster rate, the process are asyncronus
2015-04-21 21:45:31 +09:00
Arthur Benemann
1da4be3a87
AP_Gimbal: initial implementation of the rate controlled gimbal library
2015-04-21 21:45:30 +09:00
Arthur Benemann
1d9beed42f
AP_SmallEKF: add function to report if the EKF is stable
2015-04-21 21:45:29 +09:00
Arthur Benemann
7b28bf7d44
AP_NavEKF: Remove small EKF dependency on navigation EKF
2015-04-21 21:45:28 +09:00
Arthur Benemann
558a69bdca
Mount_MAVLink: remove code now in AP_Gimbal
2015-04-21 21:44:56 +09:00
Jonathan Challinger
2053d5e42e
GCS_MAVlink: add GIMBAL_ and GOPRO_ messages
2015-04-21 21:40:05 +09:00
Randy Mackay
87e6452ee9
Mission: bug fix when jump target is zero
...
This would result in copter flying to a waypoint high above home
2015-04-21 20:42:49 +09:00
Andrew Tridgell
a0969905ce
AP_AHRS: make get_error_rp() and get_error_yaw() const
...
this makes them usable by multiple consumers, and allows use by EKF
2015-04-21 21:42:17 +10:00
Andrew Tridgell
3300de2c9d
autotest: added some gyro and accel noise to copter sim
...
this noise should be kinematically consistent, so will be better for
the EKF
2015-04-21 21:33:27 +10:00
Andrew Tridgell
79f6d93dc9
autotest: change SIM_GPS_DELAY in parameters to 1
...
better matches uBlox
2015-04-21 21:05:07 +10:00
Andrew Tridgell
2dfe3cb844
DataFlash: added a perf counter for microSD overruns
...
this allows us to tell if a microSD can handle a high logging rate
2015-04-21 20:45:30 +10:00
Andrew Tridgell
03b5305837
autotest: allow for negative col pitch in crrcsim heli
...
this allows for hovering upside down in acro mode
2015-04-21 20:45:30 +10:00
Andy Piper
b0937154f5
DataFlash: log compass health
...
This patch simply logs the health of each compass for easy diagnosis.
2015-04-21 13:18:24 +09:00
Randy Mackay
cebd578403
Frame Params: remove unused Advanced, Beginner
2015-04-21 10:44:26 +09:00
Andrew Tridgell
c153d31dd2
DataFlash: speed up DataFlash in Replay
2015-04-21 10:14:41 +10:00
Andrew Tridgell
dcb25632fb
AP_Compass: removed old setHIL compass offset
2015-04-21 08:30:05 +10:00
Andrew Tridgell
a4bad1c703
HAL_SITL: use SIM_MAG_OFS in SITL compass
2015-04-21 08:29:51 +10:00
Andrew Tridgell
1ce9cb693a
SITL: added SIM_MAG_OFS for setting compass offsets in SITL
2015-04-21 08:29:27 +10:00
Andrew Tridgell
5f8c05b712
autotest: fixed extraction of defaults
2015-04-20 15:12:51 +10:00
Andrew Tridgell
8f09ee077c
Replay: try to cope better with millisecond timestamps in 400Hz copter logs
2015-04-20 15:12:51 +10:00
Andrew Tridgell
179e47c618
HAL_Linux: prevent time from going backwards in Replay
2015-04-20 15:12:51 +10:00
Andrew Tridgell
d7000c4105
AP_Compass: fixed compass timestamps in Replay
2015-04-20 15:12:51 +10:00
Randy Mackay
dc3fdf76a3
Rover: remove call to empty camera.configure_msg
2015-04-20 13:50:23 +09:00
Jaime Machuca
7330b5e91b
Rover: add call to send digicam configure messages from a mission item
...
Also add log_picture to separate the triggering of a picture
from the dataflash logging and feedback message to the GCS
2015-04-20 13:50:21 +09:00
Jaime Machuca
5de15464b6
Copter: add call to send digicam configure messages from a mission item
...
Also add log_picture to separate logging and feedback from
the do_take_picture function so that it can be used when pictures
are triggered from a mission command
2015-04-20 13:50:19 +09:00
Jaime Machuca
ab1cf2261d
Plane: add call to send digicam configure messages from a mission item
...
Also add log_picture to separate the taking of a picture
from the dataflash logging and feedback to GCS
2015-04-20 13:50:17 +09:00
Randy Mackay
337a94e52e
Camera: remove empty configure_msg method
2015-04-20 13:50:15 +09:00
Randy Mackay
d456b97fd2
Camera: control_cmd triggers pic
2015-04-20 13:50:12 +09:00
Jaime Machuca
38491c4ff7
Camera: fix mission cmds sending msgs to components
...
mission commands were triggering the sending of
mavlink mission items when they should have been sending
command long messages
2015-04-20 13:50:10 +09:00
Randy Mackay
4eb3263653
Camera: mission cmds send do-digicam msgs to components
...
This allows digicam-control and digicam-configure mission
command to trigger sending the equivalent mavlink messages
to components
2015-04-20 13:50:08 +09:00
Randy Mackay
8dcd555037
Camera: trigger_pic sends do-digicam-control to components
...
This (optionally) allows pictures triggered from ch7/ch8
switch to send a mavlink do-digicam-control message to
components
2015-04-20 13:50:06 +09:00
Randy Mackay
1f705eb6a3
GCS_MAVLink: add send_to_components method
2015-04-20 13:50:04 +09:00
Randy Mackay
888c2289ce
Mission: support do-digicam-control parameters
2015-04-20 13:50:01 +09:00
Randy Mackay
a27f383612
Copter: remove duplicate IMU/ATT logging
...
Previously IMU and ATT data could be logged at both a high rate
and a low rate. This patch makes it skip the low rate logging
if the high rate is enabled
2015-04-20 13:49:09 +09:00
Randy Mackay
06b3935beb
Copter: LOG_BITMASK parameter def get All+FastIMU, All+FastATT
2015-04-20 13:49:06 +09:00
Randy Mackay
dfb720bab6
Copter: rename FULL_IMU logging to IMU_FAST
...
This naming is consistent with the earlier ATTITUDE_FAST option and
clarifies that it's the rate that's increased rather than the content.
2015-04-20 13:49:04 +09:00
Randy Mackay
2dbff9c544
Copter: remove scheduler table for 100hz CPUs
...
We only support high performance CPUs capable of 400hz
2015-04-20 13:49:01 +09:00
Peter Barker
5a45de5e00
Copter: IMU full-rate logging LOG_BITMASK flag
2015-04-20 13:48:58 +09:00
Randy Mackay
803be1c255
Revert ".gitattributes: automatically clean up newlines in source files"
...
This reverts commit d66eec536f
.
2015-04-20 11:04:59 +09:00
Andrew Tridgell
664c92fb81
Plane: fixed RUDDER_ONLY to not combine direct rudder output
...
this prevents us over-rolling in FBWA
2015-04-20 09:09:23 +10:00
Andrew Tridgell
76a81069c2
autotest: removed unused Rascal XML config
2015-04-20 09:09:23 +10:00
Andrew Tridgell
edec706c12
Plane: added RUDDER_ONLY parameter
...
this gives much easier setup for rudder only aircraft.
2015-04-20 09:09:23 +10:00
Andrew Tridgell
4fe39c67b4
Build: use git checkout -f
...
this is an attempt to avoid CRLF attributes breakage with builds
2015-04-20 08:59:50 +10:00
Andrew Tridgell
ffd4662ec4
autotest: convert rover sim to use sim_wrapper.py
2015-04-20 08:36:52 +10:00
Andrew Tridgell
dbeaccc3d9
autotest: auto-adjust frame rate for crrcsim
2015-04-20 08:20:50 +10:00
Andrew Tridgell
6897bfdc6b
autotest: fixes for crrcsim with heli model
2015-04-20 08:05:29 +10:00
Andrew Tridgell
e9b6863b23
autotest: changed to new crrcsim FDM protocol format
2015-04-19 15:49:05 +10:00