Commit Graph

15841 Commits

Author SHA1 Message Date
Andrew Tridgell 1cdaacdaa1 autotest: avoid a px4-clean for each vehicle type 2015-03-25 22:36:05 -07:00
Andrew Tridgell 58a1ead765 autotest: speed up build_binaries a bit
don't need to rebuild from scratch for copter
2015-03-25 22:33:31 -07:00
Andrew Tridgell 97ee7e9fcc autotest: run copter SITL simulation at 400Hz
save a bit of CPU time
2015-03-25 22:30:46 -07:00
Andrew Tridgell c338002e0d autotest: fixed defaults extraction in autotest 2015-03-25 18:57:46 -07:00
Andrew Tridgell 5cbfe4fd11 HAL_SITL: fixed copter interactive SITL 2015-03-25 12:27:27 -07:00
Andrew Tridgell 0ea0b51ccd autotest: start plane sim during initial parameter load
this is now needed to get timestamps from JSBSim
2015-03-24 08:06:50 -07:00
Andrew Tridgell 38e9bd5336 SITL: provide simulation timestamp from JSBSim 2015-03-24 08:06:50 -07:00
Andrew Tridgell 0c2232a4be HAL_SITL: don't sync clocks during system initialisation 2015-03-24 08:06:50 -07:00
Jonathan Challinger 127791127c AC_PosControl: fix double literals 2015-03-24 06:29:04 -07:00
Leonard Hall 09aa2f8114 AC_AttitudeControl: Fix function discription 2015-03-23 07:40:04 -07:00
Leonard Hall 6b104c0529 AC_AttitudeControl: No Overshoot limit for Stab
This maybe done in a more obvious way using a switch rather than just
making the overshoot larger than 180 degrees.
2015-03-23 07:40:02 -07:00
Leonard Hall 35d1cbd053 Copter: Autotune fix P test 2015-03-23 07:40:00 -07:00
Leonard Hall cedd423c30 Copter: Autotune Yaw limits update 2015-03-23 07:39:58 -07:00
Leonard Hall 7cd78f63bf Copter: Stop autotune repeatedly saving gains 2015-03-23 07:39:55 -07:00
Andrew Tridgell a4be1fede8 Copter: run all boards at 400Hz
SITL and Linux can now run at 400Hz
2015-03-22 18:57:43 -07:00
Andrew Tridgell 45887a5d28 autotest: run rover and copter with synthetic clock 2015-03-22 18:57:43 -07:00
Andrew Tridgell 9748cb1e3e HAL_SITL: use a synthetic clock when possible
this decouples wall clock time from simulation time if the FDM
supports it
2015-03-22 18:57:30 -07:00
Randy Mackay b4df5b35f0 Copter: fix compiler error when mount disabled 2015-03-21 21:52:27 +09:00
Randy Mackay a3933f7a1f Copter: handle do_mount_control mission commands 2015-03-21 21:52:24 +09:00
Randy Mackay 8a3a7bdcd1 Mount: add set_angle_target method 2015-03-21 21:52:22 +09:00
Randy Mackay f6021010c5 Mission: support do-mount-control 2015-03-21 21:52:19 +09:00
Randy Mackay e1abdadc06 AutoTest: allow 10sec for EKF to settle in AVC test 2015-03-21 21:51:41 +09:00
Randy Mackay 2189b16165 Mount_SToRM: remove message throttling
recent versions of gimbal firmware can handle 50hz update rate
2015-03-21 05:56:18 +09:00
Randy Mackay b3362d5829 Mount: calc_angle_to_location returns vehicle relative yaw 2015-03-21 05:56:16 +09:00
Randy Mackay d2739c5ce5 Mount_SToRM: slow updates to 10hz, reverse yaw, pitch 2015-03-20 20:46:45 +09:00
Randy Mackay ab542de769 Rover: send invalid batt curr if monitor unhealthy 2015-03-20 11:05:37 +09:00
Randy Mackay d3663d43c1 Plane: send invalid batt curr if monitor unhealthy 2015-03-20 11:05:35 +09:00
Randy Mackay 9a5ff97c61 Copter: send invalid batt curr if monitor unhealthy 2015-03-20 11:05:33 +09:00
Randy Mackay c7dd6ae816 BattMon: SMBus becomes unhealthy after 5sec timeout
Also remove unused internal variable
2015-03-20 11:05:30 +09:00
Randy Mackay c44f304253 BattMon: analog monitor always healthy 2015-03-20 11:05:27 +09:00
Randy Mackay 98efcd5f03 AHRS: always use EKF for copter 2015-03-19 15:15:51 +09:00
Randy Mackay c41ecca8d5 Copter: re-order position_ok function
no functional change
2015-03-19 15:15:49 +09:00
Andrew Tridgell 5a4ed85588 AP_TECS: added TECS_LAND_PMAX
this limits maximum pitch during the flare, which both reduces
integrator windup and prevents too high pitch which can cause a stall
2015-03-19 14:46:41 +11:00
Kevin Hester 8b78e6f2c0 vagrant: Fix error on virgin installs
If the user didn't happen to have a .screenrc the previous version of this
script could fail.
2015-03-19 10:41:59 +09:00
Randy Mackay 9aba885231 AC_Fence: fix prearm check
before arming the EKF's pred_horiz_pos_abs flag should be used
2015-03-18 21:25:47 +09:00
Randy Mackay 522ef8f91f Copter: rename MOT df msg to MOTB
This will slightly reduce confusion with the MOT message from AC3.1.5
that eventually became RCOUT
2015-03-18 21:25:45 +09:00
Randy Mackay b679fd0be0 Copter: log RATE with ATT 2015-03-18 21:25:42 +09:00
Randy Mackay d9b65cec22 Copter: fix compiler error re ch9, ch12 on some boards
channel 9 and 12 are not exist on some builds.
2015-03-17 22:16:48 +09:00
Randy Mackay 3be0a47c02 Copter: minor formatting fix 2015-03-17 21:18:51 +09:00
Randy Mackay 20311c3ba2 Copter: remove CH7_OPTION definition
We can replace the unused definitions and just set the aux switch
defaults to do-nothing directly in the parameter table
2015-03-17 21:18:50 +09:00
Randy Mackay e6c3f4f97b Copter: move aux switch enum to defines.h 2015-03-17 21:18:49 +09:00
Robert Lefebvre fd0cb0beed Copter: Create check_duplicate_auxsw() method to streamline pre-arm check code 2015-03-17 21:18:48 +09:00
Robert Lefebvre 1afeb05398 Copter: Create check_if_auxsw_mode_used() to check for function usage 2015-03-17 21:18:47 +09:00
Robert Lefebvre 97cd3614eb Copter: Change Aux Switch function list to enum. 2015-03-17 21:18:46 +09:00
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