Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
12 years ago
Robert Lefebvre
c812d07993
TradHeli: Creating motor_runup_complete bool which is to confirm that the heli motor is running. This will be used for advanced features in the future.
12 years ago
Robert Lefebvre
957cb094ea
TradHeli: Remove unused RSC Mode 3.
12 years ago
Randy Mackay
336357fbaf
Copter: ensure _spin_when_armed is not higher than _min_throttle
12 years ago
Randy Mackay
62f3eed4e0
Copter: fix to SPIN_ARMED parameter desciption
12 years ago
Randy Mackay
b709b90a59
Copter: implement safety spin for Tricopters
12 years ago
Randy Mackay
6477c746cd
Copter: renamed MOT_UNSAFE_THR to MOT_SPIN_ARMED
...
Removed special purpose spin_unsafe function
renamed _throttle_unsafe to _spin_when_armed and changed to an AP_Int8
12 years ago
Jonathan Challinger
2725f219cb
Copter: Warn user with motors while copter is arming
12 years ago
Jonathan Challinger
ae2b1e3b7e
AP_Motors: Added MOT_UNSAFE_THR parameter - Throttle setting used to signal that the copter is armed or otherwise unsafe to approach
12 years ago
rmackay9
073e2c9f15
ACMotors: bug fix to yaw limit
12 years ago
Randy Mackay
76028fc9d3
Copter Motors: use _min_throttle in output_test
12 years ago
Randy Mackay
28f2f87b26
Copter Motors: minor formatting change
12 years ago
Andrew Tridgell
81f7ae9108
AP_Motors: fixed indent-tabs-mode
12 years ago
Randy Mackay
ec7ee47099
Copter: scaling stability patch
12 years ago
Randy Mackay
6a65a32de2
CopterMotors: add formatting info to top of files
12 years ago
Randy Mackay
5235f4cacd
Copter: allow Tri copters to init ESCs through APM/PX4
12 years ago
Randy Mackay
610edd8f9a
ACMotors: small formatting change
12 years ago
Randy Mackay
cd5795a4ac
ACMotors: make a few more functions non-virtual
...
Saves at least 22 bytes of RAM
12 years ago
Randy Mackay
ad00e0ee1e
ACMotors: make test_order uint_8
12 years ago
Randy Mackay
88893f4209
ACMotors: make a few functions non-virtual
12 years ago
Randy Mackay
bd07b1e57b
ACMotors: remove unused get_num_motors function
...
Saves about 4 bytes of RAM
12 years ago
Randy Mackay
5bb0582854
ACMotors: ESC Calibration only for enabled motors
12 years ago
Randy Mackay
33d1129904
Copter: remove unused TB_RATIO parameter
12 years ago
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.
12 years ago
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