Commit Graph

8035 Commits

Author SHA1 Message Date
Randy Mackay f4846b417a Copter: compiler fix for disabled logs 2013-05-19 22:55:40 +09:00
Randy Mackay 4ad395e7be Copter: merge WPNAV into NTUN dataflash message 2013-05-19 22:53:35 +09:00
Randy Mackay 072f3dbe30 Copter: display interference % in compassmot 2013-05-19 22:03:48 +09:00
Randy Mackay 5235f4cacd Copter: allow Tri copters to init ESCs through APM/PX4 2013-05-19 17:28:39 +09:00
Randy Mackay 91b08cdcec AutoTest: add fence test for Copter 2013-05-19 16:19:59 +09:00
Randy Mackay 7bbee36e89 AutoTest: add copter stability patch test 2013-05-19 15:32:54 +09:00
Randy Mackay b914f9ba06 SITL: use SIM_ENGINE_MUL to simulate motor failure 2013-05-19 14:29:08 +09:00
Randy Mackay 9fdab5e8fe Copter: remove unused AUTO_SLEW_RATE parameter 2013-05-17 16:09:17 +09:00
Randy Mackay 8c99936431 Copter: update CH7_OPT, CH8_OPT to include Multi Mode 2013-05-17 16:07:11 +09:00
Randy Mackay 38239c652a Copter: ch8 aux switch
Ch8 can be used as an aux switch like ch7.  Has all the same options as
ch7 and there is a safety check to ensure both switches aren't set to
the same function so as to avoid interfering with each other
2013-05-17 14:42:28 +09:00
Randy Mackay 566daf883a Copter: remove unused MODE bit from LOG_BITMASK
We always log the mode so no need for this bit
2013-05-17 12:26:42 +09:00
Randy Mackay 5b00ce24ed Copter: minor user hooks cleanup
Only define and call functions if the appropriate #define in
APM_Config.h has been added
2013-05-17 12:19:07 +09:00
Randy Mackay 6a173eb7ad Copter: remove unused dump_state function
Feel free to add this back in when doing debug.  Let's not have too much
debug permanently in the code because it makes it harder to read.
2013-05-17 12:11:23 +09:00
Randy Mackay 1426f40319 Copter: remove unused JDrones motor PID overrides 2013-05-17 12:05:20 +09:00
Randy Mackay 19394918dd Copter: simplify APM_Config.h
Remove items that can be more easily set with parameters
2013-05-17 12:01:39 +09:00
Randy Mackay 28c37dd798 Copter: do pre-arm checks when arming from GCS 2013-05-17 11:22:32 +09:00
Andrew Tridgell 4c9cb461d6 autotest: setup Rover autotest for Sparkfun course
this will make it easier to test around the course
2013-05-17 10:37:11 +10:00
Andrew Tridgell 80582df4be Rover: started on 2.42beta 2013-05-17 08:35:31 +10:00
Andrew Tridgell b5f2b4db8a Rover: don't do crosstrack in last 3m
this reduces the weaving at waypoints
2013-05-17 08:33:02 +10:00
Andrew Tridgell ca8e4519cc Rover: use get_projected_position()
this will make for more accurate turns in missions
2013-05-17 08:32:36 +10:00
Andrew Tridgell c08c084191 AP_AHRS: added get_projected_position()
this is used to project the position forward by the GPS lag
2013-05-17 08:32:21 +10:00
Andrew Tridgell 697d17a229 Rover: add doc links for SONAR2_* parameters 2013-05-17 07:38:52 +10:00
Randy Mackay 9d0f40b432 Copter: add pre_arm_rc_check
Motors are not be enabled unless we have passed rc checks which include
checking the radio in calibration has been performed.
2013-05-16 16:32:00 +09:00
Andrew Tridgell 2c149bac8e HAL_PX4: added new arming ioctls 2013-05-16 16:43:38 +10:00
Randy Mackay 0540acfec9 Copter: change to compassmot instructions 2013-05-15 12:35:16 +09:00
Randy Mackay cb795ea536 WPNav: divide by zero checks 2013-05-15 11:51:26 +09:00
Randy Mackay 610edd8f9a ACMotors: small formatting change 2013-05-14 19:01:53 +09:00
Randy Mackay cd5795a4ac ACMotors: make a few more functions non-virtual
Saves at least 22 bytes of RAM
2013-05-14 18:23:36 +09:00
Randy Mackay ad00e0ee1e ACMotors: make test_order uint_8 2013-05-14 18:03:34 +09:00
Randy Mackay 88893f4209 ACMotors: make a few functions non-virtual 2013-05-14 17:41:12 +09:00
Randy Mackay bd07b1e57b ACMotors: remove unused get_num_motors function
Saves about 4 bytes of RAM
2013-05-14 17:35:27 +09:00
Randy Mackay 5bb0582854 ACMotors: ESC Calibration only for enabled motors 2013-05-14 17:07:36 +09:00
Randy Mackay 33d1129904 Copter: remove unused TB_RATIO parameter 2013-05-14 16:56:55 +09:00
Randy Mackay 7a81c41689 AP_Motors: motor_enabled array to bool
Also increased the default MAX_THROTTLE from 850 to 1000 but this number
is always overwritten by the main code anyway so should have no
functional impact.
2013-05-14 16:05:22 +09:00
Andrew Tridgell 411e940342 DataFlash: prevent the dataflash erase problem
only allow writes to dataflash block devices once StartNewLog() has
been called
2013-05-14 16:31:45 +10:00
Randy Mackay e843bf3dfd Copter: bug fix for POSITION mode throttle
Was using alt-hold throttle controller instead of manual throttle
controller
2013-05-14 11:56:09 +09:00
Randy Mackay a2e298bbfc Copter: change to default RTL yaw behaviour
We will not point the nose home for RTL but will point the nose for all
other waypoints
2013-05-14 11:52:39 +09:00
Randy Mackay 319f3ef560 Copter: flexible CH6 declination tuning range 2013-05-13 23:37:30 +09:00
Randy Mackay 6ba9431be4 Copter: update firmware version and release notes ahead of -rc2 2013-05-13 22:16:25 +09:00
Randy Mackay e130c8041c Copter: remove unused event definitions 2013-05-13 18:07:44 +09:00
Randy Mackay bd6edecdec Copter: restore logging of arm/disarm event 2013-05-13 18:07:28 +09:00
Randy Mackay 94a05a9285 Merge branch 'master' of https://github.com/diydrones/ardupilot 2013-05-13 18:01:53 +09:00
Randy Mackay bb7aec2600 Copter: log compass failur to dataflash 2013-05-13 18:01:30 +09:00
Andrew Tridgell bd4b7d136f Plane: mark ArduPlane 2.74beta 2013-05-13 17:32:33 +10:00
Andrew Tridgell 119ffb0fc0 SITL: fixed simulated airspeed value 2013-05-13 15:42:38 +10:00
Andrew Tridgell a5b20b4dfc AP_HAL: removed scaling factor on analog sources
these are not use anymore, as voltage_average() is used instead
2013-05-13 15:29:42 +10:00
Andrew Tridgell c44fd42349 Copter: fixed RSSI reading on PX4
needed for different analog input scaling
2013-05-13 15:19:05 +10:00
Andrew Tridgell 001d18b51d Plane: removed scaling of pitot source 2013-05-13 15:19:05 +10:00
Andrew Tridgell 97b6aaac77 Plane: use voltage_average() for RSSI
this fixes it on PX4
2013-05-13 15:19:05 +10:00
Andrew Tridgell e1ac097e0e Rover: use voltage_average() for RSSI
this allows it to work on PX4
2013-05-13 15:19:05 +10:00