Commit Graph

73 Commits

Author SHA1 Message Date
Randy Mackay 39ba406957 Copter: add trapezoid frame type
We still need to properly define the motor mixing for the trapezoid
frame in AP_MotorsQuad.cpp
2013-03-31 12:41:02 +09:00
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles.
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Andrew Tridgell 03b26c7d6d AP_Motors: fixed setup of ESC update speeds 2013-01-10 15:52:46 +11:00
Andrew Tridgell e7dea077b4 AP_Motors: fixed example sketch 2013-01-02 22:02:46 +11:00
Andrew Tridgell 374af1cd14 build: change from Arduino.mk to apm.mk 2013-01-02 17:29:37 +11:00
Andrew Tridgell f91ddf5df9 AP_Motors: removed board type define 2013-01-02 15:27:58 +11:00
rmackay9 3aca61cefb AP_Motors: remove unnecessary opposite_motor array (no longer needed with new stability patch) 2013-01-02 09:19:17 +11:00
Andrew Tridgell a1187519a8 AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches 2012-12-20 14:52:37 +11:00
Pat Hickey eb530b86e8 move Arduino.mk to /mk/Arduino.mk 2012-12-20 14:52:35 +11:00
Andrew Tridgell 7d27e420ae AP_HAL: remove unnecessary Arduino.h includes 2012-12-20 14:52:30 +11:00
Pat Hickey 3cc204321c AP_Motors_Class: add Progmem typedef 2012-12-20 14:52:30 +11:00
Andrew Tridgell 7582c882e6 Motors: updates for new AP_Param API 2012-12-20 14:51:39 +11:00
Pat Hickey 475da4eca4 CONFIG_HAL_BOARD - test sketches fixed up, build all passes 2012-12-20 14:51:37 +11:00
Pat Hickey c6fe5e5340 AP_Motors: ported to AP_HAL 2012-12-20 14:51:26 +11:00
Pat Hickey 3f1d9d7f69 AP_Param: #include <AP_Param.h> fixups for libraries & sketches
* I mostly went through with grep and added an #include <AP_Param.h> below
  every #include <AP_Common.h>. Not all of these example sketches might
  strictly need AP_Param.
2012-12-20 14:51:19 +11:00
rmackay9 a38db6744f AP_Motors: add comments for parameters 2012-12-10 21:37:20 +09:00
Robert Lefebvre 0eb57bf93d ACM: TradHeli
Fix to make update_throttle_cruise work with stab_throttle scaling.
2012-12-08 15:12:39 -05:00
Robert Lefebvre a5c4e65cdf ACM: TradHeli
Fix for Rotor Speed Controller to switch on/off with Ch8 as opposed to the old way (throttle).
2012-12-04 15:09:27 -05:00
Robert Lefebvre 6b1fee767a ACM: TradHeli
Creating Stab_Collective Function to allow for different collective ranges between Stabilize and other modes.
This makes for a smoother collective action in Stabilize mode with manual throttle, while still allowing full collective travel in Acro and other modes.
2012-11-26 19:37:20 -05:00
rmackay9 50a4838879 AP_Motors, AP_RangeFinder, Filter: fixes to example sketches 2012-11-08 00:29:43 +09:00
rmackay9 0159d8bd35 AP_Motors: bug fix to reached_limits so by default it returns true if any limits have been breached 2012-10-31 22:00:17 +09:00
rmackay9 c0cf2d6f38 AP_Motors: added reached_limit method which returns bit mask indicating which control inputs could not be achieved 2012-10-11 17:19:54 +09:00
rmackay9 c320938ff2 AP_MotorsMatrix: modified stability patch to sacrifice yaw first if necessary to ensure stability.
Resolves climb-on-yaw problem.
2012-10-09 15:48:15 +09:00
rmackay9 6ed59fba91 AP_Motors: enable throttle curve by default 2012-09-25 23:36:35 +09:00
rmackay9 bc2aa84394 AP_Motors: remove stray debug message re set-up of throttle curve 2012-09-23 12:25:31 +09:00
Robert Lefebvre 9e32d45d7b Change to the "Stability Patch" in Motors_Matrix in order to make it cover both the upper throttle range and lower, and also to cause it to raise/lower all motors when a single motor goes out of ranges. 2012-09-19 20:43:58 -04:00
rmackay9 93ae29a3e9 ArduCopter: added throttle curve (although disabled by default) for all multicopters 2012-09-18 23:05:08 +09:00
rmackay9 9e66b555cb ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library 2012-09-13 21:31:13 +09:00
uncrustify 744ad19630 uncrustify libraries/AP_Motors/AP_MotorsHeli.h 2012-08-21 19:19:52 -07:00
uncrustify b1b1975018 uncrustify libraries/AP_Motors/AP_MotorsHeli.cpp 2012-08-21 19:19:52 -07:00
uncrustify 40dcf9e7a8 uncrustify libraries/AP_Motors/AP_MotorsOctaQuad.h 2012-08-21 19:04:07 -07:00
uncrustify 3a5b8c5482 uncrustify libraries/AP_Motors/AP_MotorsOcta.h 2012-08-21 19:04:07 -07:00
uncrustify 4a44c6a1ba uncrustify libraries/AP_Motors/AP_MotorsTri.h 2012-08-21 19:04:07 -07:00
uncrustify d773a9c43b uncrustify libraries/AP_Motors/AP_Motors.h 2012-08-21 19:04:07 -07:00
uncrustify 4fe97c1e7b uncrustify libraries/AP_Motors/AP_MotorsMatrix.h 2012-08-21 19:04:07 -07:00
uncrustify b8cc5ac4af uncrustify libraries/AP_Motors/AP_MotorsY6.h 2012-08-21 19:04:07 -07:00
uncrustify 4cb9f57565 uncrustify libraries/AP_Motors/AP_MotorsHexa.h 2012-08-21 19:03:59 -07:00
uncrustify d3c856e889 uncrustify libraries/AP_Motors/AP_MotorsQuad.h 2012-08-21 19:03:59 -07:00
uncrustify 5ec922104a uncrustify libraries/AP_Motors/AP_MotorsHexa.cpp 2012-08-21 19:03:59 -07:00
uncrustify b982cca74e uncrustify libraries/AP_Motors/AP_Motors.cpp 2012-08-21 19:03:59 -07:00
uncrustify cc0c424eed uncrustify libraries/AP_Motors/AP_MotorsY6.cpp 2012-08-21 19:03:59 -07:00
uncrustify dc21cc1003 uncrustify libraries/AP_Motors/AP_MotorsOctaQuad.cpp 2012-08-21 19:03:59 -07:00
uncrustify c7f8c4dfa7 uncrustify libraries/AP_Motors/AP_MotorsMatrix.cpp 2012-08-21 19:03:59 -07:00
uncrustify 6c33f81e9d uncrustify libraries/AP_Motors/AP_MotorsOcta.cpp 2012-08-21 19:03:59 -07:00
uncrustify 41c1205f26 uncrustify libraries/AP_Motors/AP_MotorsQuad.cpp 2012-08-21 19:03:35 -07:00
uncrustify df5d1a8aef uncrustify libraries/AP_Motors/AP_MotorsTri.cpp 2012-08-21 19:03:35 -07:00
uncrustify 364b089bd3 uncrustify libraries/AP_Motors/examples/AP_Motors_test/AP_Motors_test.pde 2012-08-21 19:03:35 -07:00
Robert Lefebvre 575b99b4be TradHeli: Creating Flybar Acro mode. 2012-08-21 16:54:01 -04:00
Robert Lefebvre bf6c934c32 Changing TradHeli param motors.acro_mode to motors.flybar_mode to better reflect it's intent. 2012-08-20 23:13:50 -04:00
Robert Lefebvre e6b5af7143 Adding new Trad Heli parameters. 2012-08-20 16:45:19 -04:00