Commit Graph

5949 Commits

Author SHA1 Message Date
Robert Lefebvre
ac8a6b7c3e ACM: Code Cleanup 2012-11-30 17:05:12 -05:00
Andrew Tridgell
81660d07fd Plane: use enum FlightMode in more places 2012-12-01 08:15:48 +11:00
Andrew Tridgell
4b944ae6c4 autotest: increase speed in fly square test for ArduCopter
should prevent occasional timeouts
2012-12-01 08:08:54 +11:00
Andrew Tridgell
4864d162d0 Plane: switch to an enum for flight modes 2012-12-01 08:08:54 +11:00
rmackay9
f7a05f577e ArduCopter: bug fix - increase mpu6k sample rate to 100hz 2012-11-30 23:49:18 +09:00
Andrew Tridgell
48403e3bbc AP_InertialSensor: Added INS_MPU6K_FILTER option
this allows the user to select the MPU6000 filtering frequency
2012-11-30 07:15:19 +11:00
Andrew Tridgell
5e4a26814c Rover: switch to IMU driven timing, same as ArduPlane 2012-11-30 07:15:19 +11:00
Andrew Tridgell
d58088c2b8 AP_InertialSensor: return the example sample count in Oilpan 2012-11-30 07:15:19 +11:00
Andrew Tridgell
9411b11072 InertialNav: update example for new interface 2012-11-30 07:15:19 +11:00
Andrew Tridgell
7ef7c7f04f AHRS: update example for new ins interface 2012-11-30 07:15:19 +11:00
Andrew Tridgell
94f73b83c3 Rover: update for new ins interface 2012-11-30 07:15:18 +11:00
Andrew Tridgell
45e62add9f Copter: update ArduCopter for new ins interface 2012-11-30 07:15:18 +11:00
Andrew Tridgell
bcef536f64 Plane: update ArduPlane for new ins interface 2012-11-30 07:15:18 +11:00
Andrew Tridgell
2d8d6b2459 AP_InertialSensor: allow specification of sample rate in init() call
this lets the caller not need to know the underlying sample rate. They
just ask for what rate updates happen. 

This also changes the MPU6k filtering to be less than half the sample
rate
2012-11-30 07:15:18 +11:00
Michael Oborne
b3e55578f7 Mission Planner 1.2.25
fix scaling problem on arducopter config tab. when linking is enabled
2012-11-29 21:13:00 +08:00
Andrew Tridgell
099a2abaed autotest: tweak the rover mission a bit 2012-11-29 20:53:21 +11:00
Andrew Tridgell
cc52b39c06 autotest: allow for wildcard list of steps to be specified 2012-11-29 20:53:21 +11:00
Andrew Tridgell
e924460881 Rover: removed some more plane specific variables 2012-11-29 20:53:21 +11:00
Andrew Tridgell
ebafad7a6b Rover: more cleanups
get rid of flight_mode_strings and cleanup unused code

switch to using ahrs for have_position
2012-11-29 20:53:20 +11:00
Michael Oborne
e0109357f0 Mission Planner 1.2.24
failsafe: hide element not needed
ap_limits back - beta
add new accel setup - beta
fix planner config screen exception
fix quickview desc/units if never been configured
2012-11-29 16:52:34 +08:00
Michael Oborne
da3398d41d AC add ability to start new accel_scale via mavlink 2012-11-28 21:38:58 +08:00
Andrew Tridgell
e466333a79 autotest: cope with rover already being close to home in RTL 2012-11-28 16:31:38 +11:00
Andrew Tridgell
4f37a9363a SITL: prevent the GPS pipe filling up and delaying GPS readings 2012-11-28 14:23:53 +11:00
Andrew Tridgell
025e27aa1c Rover: copy slew limit code from ArduPlane 2012-11-28 12:13:39 +11:00
Andrew Tridgell
b2985de682 Plane: fixed throttle slew limit code
starting at 1000 is a very bad idea - a petrol engine could cut out
2012-11-28 12:13:09 +11:00
Andrew Tridgell
7f417dd991 Rover: added more parameter docs 2012-11-28 11:42:51 +11:00
Andrew Tridgell
6a2a0e92b1 Rover: use slewrate code from ArduPlane 2012-11-28 11:42:22 +11:00
Andrew Tridgell
4254e88084 Plane: use correct throttle range in slewrate 2012-11-28 11:42:05 +11:00
Andrew Tridgell
940b057765 Plane: make THR_SLEWRATE docs clearer 2012-11-28 11:41:39 +11:00
Andrew Tridgell
068d2b1616 autotest: larger distance error allowed in fly simple test 2012-11-28 11:41:22 +11:00
Andrew Tridgell
b3f93eab7d Copter: re-enable sending of GLOBAL_POSITION_INT message
this gives important raw GPS velocity information, plus relative and
absolute height
2012-11-28 11:26:19 +11:00
Andrew Tridgell
b430d146f2 autotest: fixed failsafe test for arducopter 2012-11-28 11:10:18 +11:00
Andrew Tridgell
649ef905f0 autotest: added Rover testing in autotest 2012-11-28 10:43:11 +11:00
Andrew Tridgell
918b0eb0d7 Rover: removed accel cal CLI command
not really needed for a rover
2012-11-28 10:42:34 +11:00
Andrew Tridgell
8a42ceb63b Rover: removed closed loop nav
use a jump in the mission instead
2012-11-28 10:42:10 +11:00
Andrew Tridgell
220c357dcb Rover: changed default WP radius to 2m 2012-11-28 09:35:42 +11:00
Andrew Tridgell
570830ccc9 Rover: added partial update of waypoints 2012-11-28 09:35:42 +11:00
Andrew Tridgell
b2922d345d Rover: more cleanup, and fixed navigation code
removed loiter code
2012-11-28 09:35:42 +11:00
Andrew Tridgell
e3860595d7 Rover: cleaned up a bunch more plane cruft
removed elevon and flap support
2012-11-28 09:35:42 +11:00
Andrew Tridgell
54235f7a23 SITL: cleanup RC control for rover support
added vehicle type, and setup right initial throttle
2012-11-28 09:35:42 +11:00
Michael Oborne
8f084ae8ee Mission Planner 1.2.23
ammend serial dispose on usb devices detach
add item currentstate item description and units
ammend battery screen for 3dr power module
add trackbar zoom to flight data
add unit desccription
ammend PREFLIGHT_REBOOT_SHUTDOWN timeout
2012-11-27 22:19:59 +08:00
Andrew Tridgell
ca3fa1a469 autotest: first version of a rover simulator in python 2012-11-28 00:11:54 +11:00
Andrew Tridgell
3bfc925ab7 Rover: added in sitl object, needed for throttle control 2012-11-27 23:20:25 +11:00
Andrew Tridgell
475c71df13 autotest: test rover SITL build 2012-11-27 21:50:08 +11:00
Andrew Tridgell
b7183ec72a Rover: fixed SITL build 2012-11-27 21:49:45 +11:00
Andrew Tridgell
ffc9dd9dde autotest: test apm2 rover build 2012-11-27 21:48:07 +11:00
Andrew Tridgell
318aafffe6 Rover: fixed cliSerial and clean out more gunk 2012-11-27 21:47:30 +11:00
Andrew Tridgell
29f978b8e5 AC_PID: suppress the derivative immediately after reset
use _last_derivative == NAN to flag that the derivative is invalid
2012-11-27 18:45:49 +11:00
Andrew Tridgell
86526e9a79 PID: use NAN to flag a D reset
this saves a byte per PID for a flag, and gives us a safe way to
reset_I() without causing a spike in D
2012-11-27 18:41:31 +11:00
Andrew Tridgell
bbd6c5154e AC_PID: save 8 bytes per AC_PID object
we don't need the _derivative or _output variables
2012-11-27 18:06:22 +11:00