Randy Mackay
1cfd5900a8
Copter: add support for H-quad frame
...
H-quads are like X quads but the motors spin in the opposite direction.
Having the motors reversed seems to help with yaw authority because of
the slight flex in bodies
12 years ago
Randy Mackay
cb5f8826f8
Copter: Leonard's fix for trapezoidal frame
...
We need to allow yaw_factors to be floats in the add_motor method
12 years ago
Randy Mackay
1a7cffefe6
TradHeli: change coll_out to int16_t
...
was incorrectly defined as an AP_Int16 parameter
12 years ago
Andrew Tridgell
2c05030fb1
AP_Motors: use the right constrain() function
12 years ago
Randy Mackay
a656b619f5
AP_Motors: remove auto_armed
...
redundant flag that was already held in the main code which is where it
belongs.
12 years ago
foobarbecue
c07702f46d
Update AP_MotorsOctaQuad.cpp
...
There were two "4"s in the motor test order values. Presumably a typo.
12 years ago
Randy Mackay
739e3c2b9a
Copter: adjust trapezoidal motor mixing
12 years ago
Randy Mackay
e32cbd827b
Copter: replace quad trapezoid frame with V
...
Also update motor mixing
12 years ago
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
12 years ago
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.
12 years ago
Andrew Tridgell
03b26c7d6d
AP_Motors: fixed setup of ESC update speeds
12 years ago
Andrew Tridgell
e7dea077b4
AP_Motors: fixed example sketch
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
f91ddf5df9
AP_Motors: removed board type define
12 years ago
rmackay9
3aca61cefb
AP_Motors: remove unnecessary opposite_motor array (no longer needed with new stability patch)
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
3cc204321c
AP_Motors_Class: add Progmem typedef
12 years ago
Andrew Tridgell
7582c882e6
Motors: updates for new AP_Param API
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
c6fe5e5340
AP_Motors: ported to AP_HAL
12 years ago
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.
12 years ago
rmackay9
a38db6744f
AP_Motors: add comments for parameters
12 years ago
Robert Lefebvre
0eb57bf93d
ACM: TradHeli
...
Fix to make update_throttle_cruise work with stab_throttle scaling.
12 years ago
Robert Lefebvre
a5c4e65cdf
ACM: TradHeli
...
Fix for Rotor Speed Controller to switch on/off with Ch8 as opposed to the old way (throttle).
12 years ago
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.
12 years ago
rmackay9
50a4838879
AP_Motors, AP_RangeFinder, Filter: fixes to example sketches
12 years ago
rmackay9
0159d8bd35
AP_Motors: bug fix to reached_limits so by default it returns true if any limits have been breached
12 years ago
rmackay9
c0cf2d6f38
AP_Motors: added reached_limit method which returns bit mask indicating which control inputs could not be achieved
13 years ago
rmackay9
c320938ff2
AP_MotorsMatrix: modified stability patch to sacrifice yaw first if necessary to ensure stability.
...
Resolves climb-on-yaw problem.
13 years ago
rmackay9
6ed59fba91
AP_Motors: enable throttle curve by default
13 years ago
rmackay9
bc2aa84394
AP_Motors: remove stray debug message re set-up of throttle curve
13 years ago
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.
13 years ago
rmackay9
93ae29a3e9
ArduCopter: added throttle curve (although disabled by default) for all multicopters
13 years ago
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
13 years ago
uncrustify
744ad19630
uncrustify libraries/AP_Motors/AP_MotorsHeli.h
13 years ago
uncrustify
b1b1975018
uncrustify libraries/AP_Motors/AP_MotorsHeli.cpp
13 years ago
uncrustify
40dcf9e7a8
uncrustify libraries/AP_Motors/AP_MotorsOctaQuad.h
13 years ago
uncrustify
3a5b8c5482
uncrustify libraries/AP_Motors/AP_MotorsOcta.h
13 years ago
uncrustify
4a44c6a1ba
uncrustify libraries/AP_Motors/AP_MotorsTri.h
13 years ago
uncrustify
d773a9c43b
uncrustify libraries/AP_Motors/AP_Motors.h
13 years ago
uncrustify
4fe97c1e7b
uncrustify libraries/AP_Motors/AP_MotorsMatrix.h
13 years ago
uncrustify
b8cc5ac4af
uncrustify libraries/AP_Motors/AP_MotorsY6.h
13 years ago
uncrustify
4cb9f57565
uncrustify libraries/AP_Motors/AP_MotorsHexa.h
13 years ago
uncrustify
d3c856e889
uncrustify libraries/AP_Motors/AP_MotorsQuad.h
13 years ago
uncrustify
5ec922104a
uncrustify libraries/AP_Motors/AP_MotorsHexa.cpp
13 years ago
uncrustify
b982cca74e
uncrustify libraries/AP_Motors/AP_Motors.cpp
13 years ago
uncrustify
cc0c424eed
uncrustify libraries/AP_Motors/AP_MotorsY6.cpp
13 years ago
uncrustify
dc21cc1003
uncrustify libraries/AP_Motors/AP_MotorsOctaQuad.cpp
13 years ago