Commit Graph

8928 Commits

Author SHA1 Message Date
Andrew Tridgell b7e54bd463 AP_Airspeed: reduce speed of autocal
it was responding to noise too rapidly

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-09-12 07:48:57 +10:00
Andrew Tridgell 2171f2a80b AP_SteerController: move scaler onto integrator input
this should make integrator scale with speed

Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2013-09-12 07:48:57 +10:00
Randy Mackay a68966e077 Copter: integrate sprayer pump test 2013-09-11 17:05:25 +09:00
Randy Mackay 5e7a6b3b98 Sprayer: add pump min rate and test
If pump is enabled while copter is disarmed it will spray as if
travelling at 1m/s
2013-09-11 17:04:58 +09:00
Randy Mackay 152f5da880 Copter: integrate AP_Notify batt and radio failsafes 2013-09-11 14:36:38 +09:00
Randy Mackay b3c636dfa3 AP_Notify: add radio and battery failsafe
radio and battery failsafe are slow flashing yellow
pre-arm check failure changed to double flashing yellow
2013-09-11 14:36:05 +09:00
Randy Mackay 8f16dbf95e PX4: start rgbled driver 2013-09-11 13:15:35 +09:00
Randy Mackay 3abdf14e51 Build: sort .gitignore alphabetically, add .bin 2013-09-11 13:15:19 +09:00
Randy Mackay 9095c6ab30 Copter: update Release notes for AC3.1-rc1 again 2013-09-11 09:51:47 +09:00
Randy Mackay 8e0cacad39 Copter: disable low battery events when usb connected 2013-09-09 21:27:05 +09:00
Kevin Hester 240a9ccaf0 AC: if vehicle is !flying show hb state as MAV_STATE_STANDBY
This helps GCSes determine the appropriate UI for the current vehicle
mode.
2013-09-09 20:51:54 +09:00
Randy Mackay 43c4ba304d Copter: update Release Notes for AC3.1-rc1 2013-09-09 20:04:30 +09:00
Andrew Tridgell 341dca4dfe AP_L1_Control: added set_default_period()
used by the rover code
2013-09-09 19:55:53 +10:00
Andrew Tridgell 0c37bcbb10 autotest: don't show console in autotest 2013-09-09 19:55:38 +10:00
Andrew Tridgell 35519b9298 autotest: update rover default parms 2013-09-09 19:55:25 +10:00
Andrew Tridgell 983ca71796 Rover: moved override of defaults to load_parameters() 2013-09-09 19:55:11 +10:00
Andrew Tridgell fc1228eb48 Rover: set a default filter frequency of 5Hz
this should help rovers on rough surfaces
2013-09-09 19:19:11 +10:00
Andrew Tridgell 7b3a674d66 AP_InertialSensor: added set_default_filter() method 2013-09-09 19:18:52 +10:00
Andrew Tridgell ad9a605603 autotest: removed APM1-1280 from rover build
it no longet fits with the new L1 controller
2013-09-09 19:14:39 +10:00
Andrew Tridgell 229841052a AP_Compass_PX4: removed MAGIOCSSAMPLERATE call 2013-09-09 18:04:41 +10:00
Andrew Tridgell d000cd2320 Rover: switched to new steering controller
this uses a steering rate controller, based upon the planes roll
controller
2013-09-09 18:04:41 +10:00
Andrew Tridgell c044385fff AP_AHRS: added groundspeed() method
this gives ground speed in m/s from GPS
2013-09-09 18:04:41 +10:00
Andrew Tridgell 0918393fed APM_Control: fixed some documentation typos 2013-09-09 18:04:40 +10:00
Andrew Tridgell 7413c15959 APM_Control: added a ground vehicle steering controller
this will be used both for the rover code, and for ground steering of
a plane on takeoff
2013-09-09 18:04:40 +10:00
Andrew Tridgell 887942471e Rover: use Y accel computed from gyro and velocity
this should be less susceptible to noise and attitude errors,
hopefully leading to better learning
2013-09-09 18:04:40 +10:00
Andrew Tridgell ecccc05eed Rover: added STEERING_LEARN parameter
when enabled (set to 1) it will learn TURN_CIRCLE based on the
demanded and actual lateral acceleration
2013-09-09 18:04:40 +10:00
Andrew Tridgell f5d20b4085 SITL: reduce the minimum accel and gyro noise
on APM2 and PX4 we do a lot of smoothing of accels and gyros, so a 2
bit error isn't a good representation of the min noise
2013-09-09 18:04:40 +10:00
Andrew Tridgell 6c2f623df2 Rover: send y accel in m/s/s as nav_pitch
this allows for easier tuning in MissionPlanner
2013-09-09 18:04:40 +10:00
Andrew Tridgell 7789f0d133 Rover: don't use throttle_nudge in steering mode 2013-09-09 18:04:40 +10:00
Andrew Tridgell 97ed733ada Rover: use L1 controller for navigation
this uses the AP_L1_Control library for rover navigation
2013-09-09 18:04:40 +10:00
Andrew Tridgell 396c4f30d2 AP_InertialSensor_PX4: don't set QUEUEDEPTH
the default of 2 samples is fine
2013-09-09 18:04:40 +10:00
Andrew Tridgell db14a85fc5 AP_Compass: added more debugging to AP_Compass_PX4 driver
this helps debug compass initialisation issues
2013-09-09 18:04:40 +10:00
Andrew Tridgell 8b80beadc4 PX4: make FMUv2 identify itself differently
so we can tell which is which in logs
2013-09-09 18:04:40 +10:00
Randy Mackay 1d55fa6818 Copter: add arm check of GPS hdop when in Loiter 2013-09-09 14:03:40 +09:00
Randy Mackay 1abb439051 Copter: move acro's var initialisation to roll-pitch and yaw controller initialisation 2013-09-09 10:54:13 +09:00
Randy Mackay 942ba0476b Copter: remove manual_attitude and throttle flags 2013-09-09 10:44:53 +09:00
Randy Mackay b7579bb028 Copter: move init of global nav variables to set_nav_mode 2013-09-09 10:37:44 +09:00
Randy Mackay 4842335a24 Copter: add #include for AC_Sprayer 2013-09-09 10:18:06 +09:00
Randy Mackay 13ee672eae Copter: remove unused get_acro_pitch and roll 2013-09-09 10:11:23 +09:00
Andrew Tridgell f6688582a6 Plane: added FENCE_ACTION=3 behaviour
this makes it safer to enable the geofence as a receiver failsafe
mode. It retains manual throttle control, so if it triggers on the
ground due to the receiver losing signal from the transmitter then the
throttle can be kept low, preventing an unexpected takeoff.
2013-09-08 07:31:10 +10:00
Andrew Tridgell 7328369b91 GCS_MAVLink: added FENCE_ACTION_GUIDED_THR_PASS 2013-09-08 07:29:30 +10:00
Andrew Tridgell ff0f6bcd42 AP_InertialSensor: fixed example build 2013-09-07 21:03:59 +10:00
Andrew Tridgell 905c84bb4c PX4: move PX4IO update to before any sensors start
this seems to make the update much more reliable, possibly as it
avoids an interrupt load from l3gd20 driver
2013-09-07 17:39:51 +10:00
Andrew Tridgell b8b72819c1 AP_Compass: ignore COMPASS_ORIENT for internal compass
this means if COMPASS_ORIENT is not 0 and the external compass fails
to start on boot we don't end up with a bad compass orientation
2013-09-07 16:49:51 +10:00
Craig3DRobotics 630095adaa Revert "Copter: Corrected SR0 & SR3 parameter descriptions"
This reverts commit 6568234018.
2013-09-06 09:58:19 -07:00
Andrew Tridgell ef6407988b PX4: avoid nsh redirects in if statements
this helps avoid FAT filesystem corruption
2013-09-06 22:14:04 +10:00
Andrew Tridgell e43234874a build: avoid rebuilding PX4 archives for each copter type
this should make build_binaries.sh much faster
2013-09-06 20:05:23 +10:00
Craig3DRobotics 2b726abe0e Plane: Correction on SR0 & SR3 parameter description. 2013-09-05 22:29:10 -07:00
Craig3DRobotics f1a674ad26 Copter: Correction on SR0 & SR3 parameter description. 2013-09-05 22:28:34 -07:00
Craig3DRobotics a6efe45bf5 Rover: Correction on SR0 & SR3 parameter description. 2013-09-05 22:27:17 -07:00