Commit Graph

16995 Commits

Author SHA1 Message Date
Randy Mackay
ac76562638 RangeFinder: init state and drivers
resolves a coverity defect
2015-06-08 14:46:14 +09:00
Randy Mackay
7bbaeac55f OpticalFlow: init _last_update_ms member
This resolves a defect found with coverity
2015-06-08 14:46:11 +09:00
Eugene Shamaev
ca482cf44a StorageManager: added example sketch 2015-06-08 10:05:05 +09:00
Eugene Shamaev
c6c6e2dc13 AP_GPS: add comments to example sketch 2015-06-08 10:04:36 +09:00
Grant Morphett
f314b243ee Rover: Make guided operate the same way as Plane/Copter.
This is a safety change.  Lets say you have a GCS which is in
followme mode which is really GUIDED mode with continually updated
waypoints.  If the user then changes mode with the RC transmitter to
HOLD or anything else then the Rover should STOP listening to the
updated guided mode waypoints.  This is how Plane/Copter work.
2015-06-05 21:07:00 +10:00
Max Basescu
32994a5b1e AP_HAL_AVR: Changed constrain_period to use RC_OUTPUT bounds instead of RC_INPUT
Done in order to get full range of motion for servo output
2015-06-05 21:03:03 +10:00
Max Basescu
de50217809 AP_HAL: Added RC_OUTPUT_MIN_PULSEWIDTH set to 400 and RC_OUTPUT_MAX_PULSEWIDTH set to 2100
For use in AP_HAL_AVR in RCOutput_APMx
2015-06-05 21:03:03 +10:00
Randy Mackay
382f5d087f AC_PosControl: explicitly set set_alt_target_from_climb_rate params 2015-06-05 15:51:02 +09:00
Randy Mackay
ee3ba48097 Copter: set Brake speed to 250 2015-06-05 15:29:00 +09:00
Randy Mackay
6ea60aa662 AC_PosControl: remove default from set_alt_target_from_climb_rate 2015-06-05 15:15:03 +09:00
Randy Mackay
362a43c126 Copter: explicitly set alt_target_from_climb_rate parameter 2015-06-05 15:11:30 +09:00
Randy Mackay
11fee21f06 AC_PosControl: init accel_last_z_cms 2015-06-05 15:06:34 +09:00
Randy Mackay
b8e3fe8f26 Mount: AlexMos fix to stop crashing before init 2015-06-05 12:31:16 +09:00
Randy Mackay
66d2328163 Mount: Alexmos save 4 bytes of RAM 2015-06-05 12:31:14 +09:00
Randy Mackay
7a8fe5f4d4 Mount: Alexmos formatting fixes 2015-06-05 12:31:12 +09:00
Michael Oborne
7dcd24137e Plane: add bitmask documentation 2015-06-05 10:21:21 +09:00
Randy Mackay
fbec1e63ad autotest: fix typo in Bitmask keyword for autodocs 2015-06-05 09:19:26 +09:00
Michael Oborne
ebeb2b7ebb Copter: add bitmask documentation 2015-06-04 21:33:31 +09:00
Randy Mackay
7c851b781b autotest: allow Bitmask keyword in autodocs 2015-06-04 21:31:41 +09:00
Tim Ryan
d7fe6bfe0d Terrain: cast grid_spacing to fix OSX clang error 2015-06-04 21:01:34 +09:00
Tim Ryan
62816b28f6 Copter: corrects C11 errors in AutoTune for OS X with clang. 2015-06-04 21:01:30 +09:00
Lucas De Marchi
1d39f548dc AP_HAL: remove aliases FUNCTOR_[BIND|TYPEF]_VOID
Nobody is using them anymore, so kill them.
2015-06-04 13:37:41 +09:00
Lucas De Marchi
98a1a05933 AP_Scheduler: stop using alias FUNCTOR_BIND_VOID 2015-06-04 13:37:40 +09:00
Lucas De Marchi
34058787f3 AntennaTracker: stop using alias FUNCTOR_BIND_VOID 2015-06-04 13:37:39 +09:00
Lucas De Marchi
6bbf0e7770 Plane: stop using alias FUNCTOR_BIND_VOID 2015-06-04 13:37:38 +09:00
Lucas De Marchi
b9b921fc38 Rover: stop using alias FUNCTOR_BIND_VOID 2015-06-04 13:37:37 +09:00
Lucas De Marchi
a74113dde0 Copter: stop using alias FUNCTOR_BIND_VOID 2015-06-04 13:37:36 +09:00
Andrew Tridgell
bf396d7138 Plane: log to tlog when we set home via MAVLink 2015-06-04 13:26:39 +10:00
Andrew Tridgell
5942bf5cf0 Plane: added plane specific arming checks
added check for roll and pitch limits, after flyaway due to small
LIM_ROLL_CD
2015-06-04 13:26:39 +10:00
Andrew Tridgell
2de8c26c06 AP_Arming: allow pre_arm_checks() to be subclassed
this allows for vehicle specific arming checks
2015-06-04 13:26:39 +10:00
Tim Ryan
5d749b7bb3 Typo "stil" => "sitl" in help.mk 2015-06-04 12:18:00 +09:00
Randy Mackay
26fdaa0710 Tracker: reverse CR servo error calculation 2015-06-03 23:23:52 +09:00
rcairman
fba8ca3a98 AntennaTracker: continuous rotation servos
Global modifications for continuous rotation servos
2015-06-03 23:23:51 +09:00
Randy Mackay
ac05f0f1d4 Tracker: remove duplicate THISFIRMWARE define 2015-06-03 23:23:50 +09:00
rcairman
7382095d79 Tracker: version to 0.7.1 and release notes 2015-06-03 23:23:44 +09:00
Andrew Tridgell
dbff6cab43 HAL_Linux: added udp example to help 2015-06-03 21:47:01 +10:00
Randy Mackay
738e4d89db Copter: default RC_FEEL to Medium 2015-06-03 11:38:54 +09:00
Andrew Tridgell
b1002eae3b Replay: fixed -A0 for "arm immediately" 2015-06-03 12:31:21 +10:00
Paul Riseborough
d3f83e8ec6 AP_NavEKF: Improve gyro bias learning rate for plane and rover
This patch increases initial gyro bias uncertainty and plane and rover specific process noise to improve the rate of gyro bias learning.
This reduces the likelihood of a navigation failure due to rapid temperature changes in the inertial sensors causing rapid changes in zero rate offset.

The increase in process noise cannot be applied to Copter due to different numerical stability limits arising from the faster update rate.
2015-06-03 11:46:17 +10:00
Andrew Tridgell
367a87591a AP_Param: fixed build of eedump_apparam 2015-06-03 11:46:00 +10:00
Andrew Tridgell
3f3cca4415 Travis: added coverity scan travis rules 2015-06-03 06:44:17 +10:00
Andrew Tridgell
e25948c1b5 build: simple top level makefile
this is to make it easier to integrate with static analysis tools
2015-06-03 06:32:10 +10:00
Andrew Tridgell
47f4a5db10 Plane: try to load px4 mixer 10 times on boot
this allows for possible temporary failures
2015-06-02 21:59:03 +10:00
Andrew Tridgell
3e74b82bc4 Plane: fixed two bugs in px4io override code
First bug is going via microSD to poulate mixer. We can't rely on the
microSD being writeable or functioning properly. Instead create the
buffer in memory and only write a copy to the filesystem.

Second bug is related to extreme trim values on channels. If trim
values are well out of range then the mixer fails and override fails.
2015-06-02 21:48:18 +10:00
Andrew Tridgell
9a7b283322 AP_GPS: fixed enable of RXM_RAW on uBlox on Pixhawk
if version detection was disabled this would never trigger
2015-06-02 16:52:08 +10:00
Randy Mackay
08466d34e8 Frame: add SToRM32 gimbal parameters
These parameters can be used to configure ardupilot to control a SToRM32
3-axis gimbal attached to Pixhawk Telem2 port using the MAVLink
protocol.  Gimbal Tilt is controlled using the RC6 input
2015-06-02 14:49:40 +09:00
Randy Mackay
9ece826c28 Plane: Log_Write_Startup writes parameters 2015-06-01 20:22:50 +09:00
Randy Mackay
b2ca7ee3fa Copter: Log_Write_Startup writes parameters 2015-06-01 20:22:48 +09:00
Randy Mackay
31aae1f019 Rover: Log_Write_Startup writes parameters 2015-06-01 20:22:46 +09:00
Grant Morphett
7d1bf75aa8 DataFlash: Moving parameter logging to be after all systems have started
Moved Log_Write_Parameters to be public so we can call it from the
vehcile code at the end of the startup sequence.
We needed to do this because parameters like COMPASS_EXTERNAL are
modified by the startup code and if we log the parameters too early we
will be recording the wrong value.
2015-06-01 20:22:43 +09:00