Andrew Tridgell
1c741e78e6
AP_HAL: changed BRUSHED16kHz to BRUSHED
8 years ago
Eugene Shamaev
a07033f938
AP_HAL: ESC scaling
8 years ago
Lucas De Marchi
686e0f08d6
AP_HAL: RCOutput: add optional timer_tick() method
...
This is common enough across the HAL implementaions so add a method for
it to avoid the need for casts inside the HALs.
8 years ago
Andrew Tridgell
fac8f1db03
AP_HAL: added MODE_PWM_BRUSHED16KHZ
8 years ago
Andrew Tridgell
e356797888
AP_HAL: make cork() mandatory in RCOutput
8 years ago
Tom Pittenger
d3ac1dc161
AP_HAL: defer calls to safety_state switch to queue an async attempt.
...
- this allows for auto-retries if the state does not set correctly
9 years ago
Andrew Tridgell
163783fefd
AP_HAL: define CH_NONE
...
for servos not connected to a channel
9 years ago
Andrew Tridgell
b94e577cb8
AP_HAL: added enable_sbus_out() call in RCOutput
9 years ago
Andrew Tridgell
e24d600e78
AP_HAL: added hal.rcout->set_output_mode()
9 years ago
Jonathan Challinger
6663d30728
AP_HAL: add RCOutput::read_last_sent definition
9 years ago
Lucas De Marchi
dbf2aedf1e
AP_HAL: replace header guard with pragma once
9 years ago
Lucas De Marchi
036eb21c09
AP_HAL: remove init() method with unused argument
9 years ago
Lucas De Marchi
6b1c5e6f72
AP_HAL: add init() method without argument
...
The argument in init() is not used by any implementation. Add a second
method without it so the HAL implementation can used it instead. Later
the unused method will be removed.
9 years ago
Lucas De Marchi
fb643fbb53
AP_HAL: RCOutput: add methods to allow grouping writes
9 years ago
Lucas De Marchi
666dc3e440
AP_HAL: RCOutput: remove unused write method
...
This method is not used anymore since the introduction of channel map and
allowing motors to be enabled/disabled in AP_Motors.
Later we may introduce a method to write multiple values with a default
implementation that supports the channel and enable maps rather than
requiring all subclasses to implement this method.
9 years ago
Max Basescu
de50217809
AP_HAL: Added RC_OUTPUT_MIN_PULSEWIDTH set to 400 and RC_OUTPUT_MAX_PULSEWIDTH set to 2100
...
For use in AP_HAL_AVR in RCOutput_APMx
10 years ago
Andrew Tridgell
e89d380b73
AP_HAL: added set_esc_scaling() RCOutput function
...
this will be used to scale outputs for uavcan ESCs based on throttle
range
10 years ago
Randy Mackay
033b14db16
AP_HAL: add force_safety_on method
11 years ago
Andrew Tridgell
5cd145a307
AP_HAL: added set_failsafe_pwm() API
...
this allows the PWM values for FMU firmware failure to be setup
11 years ago
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
11 years ago
Andrew Tridgell
439a075b30
AP_HAL: added force_safety_off rcoutput function
...
this forces the safety switch off, enabling PWM on the IO board
11 years ago
Andrew Tridgell
87cc95dd7f
AP_HAL: removed unused enable_mask and disable_mask functions
11 years ago
Andrew Tridgell
5e39b6fb11
AP_HAL: added set_safety_pwm() API
11 years ago
Andrew Tridgell
3b0250b414
AP_HAL: define RC_12
...
we have 12 channels on PX4FMU+PX4IO
12 years ago
Pat Hickey
5445ad02f8
AP_HAL_AVR: RCOutput tested implementation for APM2
12 years ago
Pat Hickey
acfbddef0d
AP_HAL: proper RCOutput interface specification
12 years ago
Pat Hickey
db76562cd5
AP_HAL: global rename PPMInput -> RCInput, PWMOutput -> RCOutput
...
* for clarity. nobody cares that PPM/PWM is the implementation, and with
sbus etc it might not be
12 years ago