Andrew Tridgell
1cd114e300
autotest: added initial CRRCSim backend
2015-04-19 12:08:26 +10:00
Andrew Tridgell
b5c40cad76
autotest: added gps_distance and gps_bearing
...
needed for CRRCSim backend
2015-04-19 12:08:26 +10:00
Andrew Tridgell
b6ff19e86c
autotest: make default rate depend on model type
2015-04-19 12:08:26 +10:00
Andrew Tridgell
633e7122e7
autotest: added some lateral thrust to helicopter simulator
2015-04-19 12:08:26 +10:00
Andrew Tridgell
6b21aceed0
autotest: moved constrain() into util.py
2015-04-19 12:08:26 +10:00
Andrew Tridgell
b56538ff70
Tools: removed unused file
2015-04-19 12:08:26 +10:00
Andrew Tridgell
d691cfc3d8
autotest: rename sim_multicopter.py to sim_wrapper.py
...
it now supports multiple vehicle types
2015-04-19 12:08:25 +10:00
Peter Barker
c95348c1d9
SITL: Avoid run-time FPEs due to bad gyro settings if SIM_DRIFT_TIME is set to 0
...
_gyro_drift essentially suffers a divide-by-zero if SIM_DRIFT_TIME is 0. The gyro initialisation routines in AP_InertialSensor do not return once the generated NaN propogates back to them.
2015-04-19 07:24:45 +10:00
Jonathan Challinger
12957867fd
AC_PosControl: fix thr twitch when changing modes
2015-04-18 12:38:44 +09:00
Randy Mackay
1c6c03b0eb
Copter: firmware back to V3.3-dev
2015-04-18 11:51:53 +09:00
Jonathan Challinger
90d74e55d3
AntennaTracker: fix newlines
2015-04-18 09:50:44 +09:00
Randy Mackay
44d2ae06fb
Mount: unix style line endings
2015-04-17 22:59:34 +09:00
Randy Mackay
06ea18f97e
Filter: fix LPF example sketch
2015-04-17 22:54:06 +09:00
Randy Mackay
99a9a88529
Filter: dt check fix for LPF
2015-04-17 10:59:03 +09:00
Jonathan Challinger
f20a91ec95
Filter: add dt<0 check to LPF
2015-04-17 10:47:06 +09:00
Randy Mackay
22e1156c31
Filter: add some comments to LowPassFilter
2015-04-17 10:47:04 +09:00
Jonathan Challinger
738b1967ad
AC_PosControl: use LowPassFilterVector2f
2015-04-17 10:47:01 +09:00
Jonathan Challinger
8f667b3d1c
AC_PosControl: fix up comments
2015-04-17 10:46:59 +09:00
Jonathan Challinger
9a025024b5
Copter: use LowPassFilterVector3f for land detector accel filter
2015-04-17 10:46:56 +09:00
Jonathan Challinger
eafbd94d51
Copter: run land detector at 400hz
2015-04-17 10:46:53 +09:00
Jonathan Challinger
f93ff2d3ec
Copter: use new lowpass filter
2015-04-17 10:46:50 +09:00
Jonathan Challinger
4993fd4d71
AP_Motors: use new lowpass filter
2015-04-17 10:46:47 +09:00
Jonathan Challinger
87500d9d70
AC_AttitudeControl: use new lowpass filter
2015-04-17 10:46:45 +09:00
Jonathan Challinger
76da2868d0
Filter: rework LowPassFilter
2015-04-17 10:46:42 +09:00
Leonard Hall
ca66b51ba9
Copter: Autotune parameter update
2015-04-16 21:00:50 +09:00
Leonard Hall
93d5c39248
Copter: add filter for the land detector
...
Individual access filtering will be replaced with a single 3-axis low pass
filter in the near future
2015-04-16 21:00:48 +09:00
Leonard Hall
c2a6a0a9e2
AC_PosControl: add accel filter parameter
2015-04-16 21:00:45 +09:00
Leonard Hall
1fcb0f4d53
Copter: pos_control param prefix shortened to PSC
2015-04-16 21:00:42 +09:00
Randy Mackay
a04bc263f6
SITL: remove redundant takeoff from copter test
2015-04-16 21:00:38 +09:00
Leonard Hall
49d3357e1d
Copter: add z-axis accel logging
2015-04-16 21:00:35 +09:00
Leonard Hall
a632a57d79
AC_PosControl: accessors to log z-axis vel and accel
2015-04-16 21:00:32 +09:00
Leonard Hall
b50f065cab
Copter: use relax alt hold controllers
2015-04-16 21:00:28 +09:00
Leonard Hall
0aca3c4be6
AC_PosControl: add relax Alt Hold controllers
2015-04-16 21:00:25 +09:00
Leonard Hall
24b8d32b0e
AC_AttitudeControl: add comment
2015-04-16 21:00:22 +09:00
Leonard Hall
7cb3c4ba39
AC_PosControl: add feed forward to Alt Hold
2015-04-16 21:00:20 +09:00
Randy Mackay
d0036290c1
SITL: copter test displays which RTL failed
2015-04-16 21:00:17 +09:00
Randy Mackay
a1e6a3ee32
AC_PosControl: minor format fix
2015-04-16 21:00:14 +09:00
Jonathan Challinger
91a03ae0e7
Copter: add PILOT_THR_FILT and call set_throttle_out functions with that value
2015-04-16 21:00:11 +09:00
Jonathan Challinger
3e0dab7b2d
AC_PosControl: remove accel error filter and set throttle output filter instead
2015-04-16 21:00:07 +09:00
Jonathan Challinger
b7f7624aac
AC_AttitudeControl: add throttle filter cutoff parameter to set_throttle_out functions
2015-04-16 21:00:04 +09:00
Jonathan Challinger
e80776f1f5
AP_Motors: remove MOT_THR_FILT parameter and add interface to configure filter
2015-04-16 21:00:01 +09:00
Jonathan Challinger
518e798f53
AC_AttitudeControl: rework angle_boost
2015-04-16 20:59:58 +09:00
Jonathan Challinger
7abd02baf2
AC_PosControl: change int32/int16 to float in accel_to_throttle
2015-04-16 20:59:55 +09:00
Jonathan Challinger
d14893fcd5
AC_PosControl: don't limit throttle any more
2015-04-16 20:59:51 +09:00
Jonathan Challinger
b27b9dd86e
Copter: use new throttle interface
2015-04-16 20:59:48 +09:00
Jonathan Challinger
f3555d0d43
AC_AttitudeControl: modify throttle interface to specify stabilization
2015-04-16 20:59:45 +09:00
Jonathan Challinger
5c2341009a
AC_AttitudeControl: throttle is a float
2015-04-16 20:59:42 +09:00
Jonathan Challinger
8e442675a7
AP_Motors: introduce set_stabilize(bool), specifies whether torque demands should be output
2015-04-16 20:59:40 +09:00
Jonathan Challinger
bc2afb31dd
AP_Motors: virtual not necessary in child class
2015-04-16 20:59:37 +09:00
Jonathan Challinger
a2c69fe90d
AP_Motors: add optional motor output throttle filter
2015-04-16 20:59:31 +09:00