Commit Graph

15188 Commits

Author SHA1 Message Date
Leonard Hall 997c6f0868 Motors: move battery resistance calcs to parent
Moving from MotorsMatrix to parent Motors class allows these to be used
from other frame types
Also initialise battery resistance
2015-03-03 15:49:02 +09:00
Randy Mackay 09d7cdbc23 Motors: batt_voltage_filt becomes filter object 2015-03-03 15:49:00 +09:00
Randy Mackay 4b78b2ce80 Filter: add get method to LowPassFilter 2015-03-03 15:48:58 +09:00
Randy Mackay c711179ffe Copter: set_mid_throttle renamed to set_hover_throttle 2015-03-03 15:48:56 +09:00
Leonard Hall 529c6fed3a Motors: move over current throttle limiting to parent
Moving from MotorsMatrix to parent Motors class allows this to be used
from other frame types
2015-03-03 15:48:54 +09:00
Randy Mackay 812473fd9a MotorsMatrix: use get_hover_throttle_as_pwm 2015-03-03 15:48:52 +09:00
Randy Mackay 1a9d3125ef Motors: _hover_out to pct * 10 instead of pwm 2015-03-03 15:48:50 +09:00
Leonard Hall 6b7bdf64bd Motors: move batt voltage lift_max calcs to parent
Moving from MotorsMatrix to parent Motors class allows them to be used
by other frame types
Also added sanity check of batt_voltage_min
2015-03-03 15:48:48 +09:00
Randy Mackay c549b58eb7 MotorsMatrix: remove check of throttle_curve_enabled 2015-03-03 15:48:46 +09:00
Randy Mackay 5fb3de48ee MotorsTri, Single, Coax: use new thrust curve 2015-03-03 15:48:44 +09:00
Randy Mackay 2eaa4a8445 Motors: remove old throttle curve 2015-03-03 15:48:42 +09:00
Leonard Hall 751dbb7df7 Motors: move thrust curve and volt scaling to parent
Moving from MotorsMatrix to Motors allows it to be used from other frames
2015-03-03 15:48:41 +09:00
Randy Mackay 80b498f598 Motors: add loop_rate to test sketch 2015-03-03 15:48:39 +09:00
Randy Mackay bae424fa88 Copter: pass in loop_rate to motors constructor 2015-03-03 15:48:37 +09:00
Randy Mackay 7ab76dbd0e Motors: add loop_rate to constructor for all frames 2015-03-03 15:48:34 +09:00
Randy Mackay 77d4b3a2ae Motors: add loop_rate to constructor 2015-03-03 15:48:32 +09:00
Leonard Hall ec9d7dd99e Motors: minor comment fixes 2015-03-03 15:48:30 +09:00
Leonard Hall 1d0ee68116 Motors: over current throttle limiting 2015-03-03 15:48:28 +09:00
Leonard Hall 8eedb2c040 Copter: sent battery voltage and current to motors 2015-03-03 15:48:26 +09:00
Randy Mackay 1217ab9579 BattMon: add get_type method 2015-03-03 15:48:24 +09:00
Randy Mackay f6523c0997 Motors: Add THR_LOW_CMP to adjust low throttle inputs affect on attitude control 2015-03-03 15:48:21 +09:00
Leonard Hall 83e3e2fec2 Motors: thrust curve and voltage scaling for matrix supported frames 2015-03-03 15:48:19 +09:00
Leonard Hall 3e8563dd8b Copter: ch6 tuning definition for yaw min headroom 2015-03-03 15:48:17 +09:00
Leonard Hall 5b0bd49ff2 Motors: configurable yaw headroom for matrix frames 2015-03-03 15:48:15 +09:00
Randy Mackay 51213235b4 OreoLED_PX4: available only on PX4 2015-03-02 16:58:17 +09:00
Randy Mackay f1ce70e748 Notify: disable oreoled by default 2015-03-02 16:58:14 +09:00
Randy Mackay 89cd74c35f Notify: OreoLED supports handle_led_control
includes support for send bytes ioctl
2015-03-02 16:58:12 +09:00
Randy Mackay 90cac02bd7 Notify: OreoLED fix to fade-in when armed 2015-03-02 16:58:10 +09:00
Randy Mackay c5b3bc5698 Copter: handle LED_CONTROL and pass to Notify 2015-03-02 16:58:08 +09:00
Randy Mackay 35a3a52f29 Notify: add support for handle_led_control 2015-03-02 16:58:06 +09:00
Randy Mackay 9159c7107d GCS_MAVLink: version update after LED_CONTROL added 2015-03-02 16:58:03 +09:00
Randy Mackay 26d54398e2 GCS_MAVlink: generate after LED_CONTROL added 2015-03-02 16:58:01 +09:00
Randy Mackay 3fdabb3667 GCS_MAVlink: define LED_CONTROL in ardupilotmega.xml 2015-03-02 16:57:59 +09:00
Randy Mackay b8ef765b3e Notify: add OreoLED to PX4 2015-03-02 16:57:56 +09:00
Randy Mackay ab96e98815 PX4: start oreoled driver 2015-03-02 16:57:54 +09:00
Randy Mackay 43f3827fd5 Make: add oreoled module to Pixhawk build 2015-03-02 16:57:52 +09:00
Randy Mackay 0a33a7c15a Notify: OreoLED_PX4 driver 2015-03-02 16:57:50 +09:00
Andrew Tridgell 999710d0e1 Plane: fixed issue where auto is entered before GPS lock
thanks to Tom Pittenger for noticing this!
2015-02-25 22:54:52 +11:00
Andrew Tridgell 98b583bccc Plane: fixed bungee launch
we need to not do the general purpose throttle suppression if in auto
takeoff
2015-02-25 13:11:27 +11:00
Jonathan Challinger e9bbe062f3 AC_PosControl: modify accel_to_lean_angles to apply filters before yaw rotation 2015-02-24 16:41:03 +09:00
Andrew Tridgell 3ca4142c91 SITL: added tradheli support
start with:

  sim_vehicle.sh -f heli --console --map
2015-02-24 16:16:05 +11:00
Andrew Tridgell 1f417dce86 AP_SerialManager: added note on external converter requirement for Frsky
thanks to Luis for the suggestion
2015-02-24 10:19:42 +11:00
Andrew Tridgell 5afe3fb958 Plane: mark 3.3.0beta1 2015-02-23 15:07:06 +11:00
Andrew Tridgell bdd265a985 PX4: use mode_pwm4 on startup
this prevents any pin activity on startup
2015-02-23 14:15:14 +11:00
Andrew Tridgell 7c975808f8 Copter: provide terrain height to rangefinder
used for power saving
2015-02-23 14:15:14 +11:00
Andrew Tridgell 422d0f05bd Plane: provide terrain height to rangefinder
used for power saving
2015-02-23 14:15:14 +11:00
Andrew Tridgell 64dfc68784 Plane: log mode on arming
this ensures the log is recorded with the right flight mode
2015-02-23 14:15:14 +11:00
Andrew Tridgell 9efc0acf19 PX4: start the pwm_input driver 2015-02-23 14:15:14 +11:00
Andrew Tridgell a6454c9918 PX4: build the pwm_input driver 2015-02-23 14:15:14 +11:00
Andrew Tridgell a6d76b4e03 AP_RangeFinder: added PX4-PWM rangefinder
uses PWM input driver to read a rangefinder
2015-02-23 14:15:14 +11:00