Leonard Hall
8228d9e72c
AP_MotorsMulticopter: current_limit_max_throttle uses get_throttle accessor
9 years ago
Leonard Hall
3cbc15bb5b
AP_MotorsMulticopter: add get_throttle_thrust_max accessor
9 years ago
Leonard Hall
d7dc37bda0
AP_MotorsMulticopter: remove apply_thrust_curve_and_volt_scaling_pwm
9 years ago
Leonard Hall
06f25b669d
AP_MotorsMulticopter: add roll, pitch, throttle and yaw pass through
9 years ago
Leonard Hall
d7c27c949c
AP_MotorsMulticopter: add spool_up_complete accessor function
9 years ago
Leonard Hall
983d2dc97a
AP_MotorsMulticopter: update_throttle_filter does not set throttle_in
...
get_throttle method now used to access filtered throttle
9 years ago
Leonard Hall
3fc3858fbd
AP_MotorsMulticopter: set_throttle_range calcs _min_throttle before use
9 years ago
Leonard Hall
b26318c178
AP_MotorsMulticopter: output_logic implements spooling
9 years ago
Leonard Hall
b7fe6aa16e
AP_MotorsMulticopter: remove update_max_throttle
9 years ago
Leonard Hall
be64c71065
AP_MotorsMulticopter: add get_current_limit_max_throttle
...
returns the current limited maximum throttle as a number between 0 ~ 1 in the range throttle_min to throttle_max
9 years ago
Leonard Hall
64ba45a683
AP_MotorsMulticopter: add spin_when_armed_low_end_pct
...
returns the spin-when-armed value as a number from 0 to 1 in the range 0 to throttle_min
9 years ago
Leonard Hall
49819d822f
AP_MotorsMulticopter: add get_hover_throttle_as_high_end_pct
...
Returns hover throttle as a number from 0 to 1 in the range from throttle_min to throttle_max
9 years ago
Leonard Hall
e625c105a4
AP_MotorsMulticopter: remove get_throttle_warn
9 years ago
Leonard Hall
3854f2eda7
AP_MotorsMulticopter: rename _throttle_thr_mix_desired to _throttle_rpy_mix_desired
...
No functional change
Also rename _throttle_thr_mix to _throttle_rpy_mix
9 years ago
Leonard Hall
65bbc23a08
AP_MotorsMulticopter: apply_thrust_curve_and_volt_scaling in 0 to 1 range
...
existing equivalent pwm function becomes apply_thrust_curve_and_volt_scaling_pwm
9 years ago
Leonard Hall
cb39f8aab7
AP_MotorsMuticopter: calc_thrust_to_pwm converts thrust in 0 to 1 range to pwm
...
pwm output is always between throttle min and throttle max
9 years ago
Leonard Hall
80ddce103f
AP_Motors: move set_throttle_filter_cutoff declaration
...
No functional change
9 years ago
Leonard Hall
649a8c461d
AP_Motors: remove unused throttle_radio_min, max
...
Moved to AP_MotorsMulticopter
9 years ago
Leonard Hall
e84011603c
AP_Motors: remove unused throttle_pwm_scalar, rpy_pwm_scalar
9 years ago
Leonard Hall
8e1351e474
AP_Motors: init member to resolve compiler warning
9 years ago
Leonard Hall
ed51c7a28d
AP_Motors: replace throttle_control_input with throttle_in
...
throttle_control_input was 0 to 1000 range, throttle_in is 0 to 1
9 years ago
Leonard Hall
c96b91efb6
AP_Motors: add output_to_motors
9 years ago
Leonard Hall
ac579685df
AP_Motors: remove output_armed_not_stabilizing
9 years ago
Leonard Hall
666a92ae2f
AP_Motors: set_throttle accepts 0 to 1 range
9 years ago
Leonard Hall
3c74b4cc69
Motors: add get_roll_thrust which returns roll input in range 0 to 1
...
Also added get_pitch_thrust, get_yaw_thrust
9 years ago
Lucas De Marchi
f304fcf4da
AP_InertialSensor: examples: add coding style fixes
...
Several coding style problems were already fixed by previous commit,
just finish the cleanup on this example:
- replace tabs with spaces
- remove unneeded \r
- remove extra spaces
9 years ago
AndersonRayner
10e7d43007
AP_InertialSensor: Add output of all IMUs to example
9 years ago
Lucas De Marchi
a502c0924c
GCS_MAVLink: simplify sanity check
9 years ago
Francisco Ferreira
d3e149e5d7
GCS_MAVLink: ignore Clang out-of-range warning
...
warning: comparison of constant 4 with expression of type 'mavlink_channel_t' is always false [-Wtautological-constant-out-of-range-compare]
if (chan >= MAVLINK_COMM_NUM_BUFFERS) {
~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
9 years ago
Marc MERLIN
5bcd1b02ef
RSSI channel is not limited to 5-8.
...
Fix doc per my request on https://github.com/ArduPilot/ardupilot/issues/3280
9 years ago
Tom Pittenger
6718241dad
cleanup comments
9 years ago
Andrew Tridgell
894e07a0bd
AP_Parachute: added CHUTE_DELAY_MS parameter
...
on fixed wing it may take quite some time for the propeller to stop
9 years ago
Andrew Tridgell
73a2c99d56
SITL: limit rotational rate to 2000dps
9 years ago
Andrew Tridgell
4d01cb1716
HAL_SITL: fixed SITL engine mul error
...
expression without get() was treated as int
9 years ago
Andrew Tridgell
b4c6a0e30e
AP_TECS: added logging of speed_weight and state flags
9 years ago
Andrew Tridgell
8ff932b61c
AP_TECS: allow underspeed to end faster
...
we now can exit an underspeed condition if we stay above min speed for
3 seconds and also reach 15% above min speed. This prevents a problem
with the thrust line causing downpitch leading to a crash due to too
much throttle
9 years ago
Andrew Tridgell
1ecfa6b487
RC_Channel: fixed example in SITL
9 years ago
Andrew Tridgell
5c92adddf9
HAL_SITL: allow examples to run under SITL
9 years ago
Andrew Tridgell
1e4fe7996e
HAL_Linux: update URL
9 years ago
Andrew Tridgell
9737050a23
HAL_FLYMAPLE: update URL
9 years ago
Andrew Tridgell
664d91802e
HAL_AVR: update URL
9 years ago
Andrew Tridgell
075dd49afe
DataFlash: added Log_Write_Rate()
...
needed for quadplane as well as copter so should be in common code
9 years ago
Andrew Tridgell
ab07781c66
APM_Control: raise default P and I gains, and set a lower limit on I for pitch
...
Too many users have very low I gains, which causes a lot of problems for TECS
9 years ago
Lucas De Marchi
46936767c1
AP_Compass: LSM303D: check for overruns in compass values
9 years ago
Lucas De Marchi
cf2d866d51
AP_Compass: LSM303D: used AP_HAL::Device interface
...
Initialization was also changed a little bit so we don't try to
initialize 25 times. We rather use the same methods as in the
AP_InertialSensor drivers.
Also move up the call to is_zero() in read_raw so we don't set
_mag_[x|y|z] in case of failure.
9 years ago
Lucas De Marchi
5164fbb81b
AP_Compass: LSM303D: cleanup driver
...
Make it similar to other compass drivers, including method names.
9 years ago
Lucas De Marchi
20a4a42cb3
AP_Compass: don't store raw and unfiltered fields
...
These are not used. The only place where raw fields are used are in the
compass calibrator and we don't need to store them.
Additionally remove duplicated documentation about the meaning of the
functions to avoid them getting out of sync.
9 years ago
Lucas De Marchi
e6059f5197
AP_Compass: rename files to follow other libraries
...
AP_Compass.h is the main header to be exported and AP_Compass.cpp its
implementation. There's no need for an additional header.
9 years ago
Lucas De Marchi
286697b844
AP_Compass: don't rebuild tree when single driver changes
...
Let the drivers be internal to the library so we don't need to rebuild
the entire tree when a single driver changes.
9 years ago
Lucas De Marchi
d3831dbb98
AP_Compass: AK8963: use AP_HAL::I2CDevice abstraction
...
We still need the BusDriver (in some places called SerialBus) interface
since this driver can also be used on an AuxiliaryBus and that has a
different interface.
9 years ago