Andrew Tridgell
1cb608a9f4
AP_HAL: allow neopixel LEDs to be set more flexibly
...
allow for N leds per chain, with RGB control of each
5 years ago
Tom Pittenger
e3416b66dc
AP_HAL_ChibiOS: add Neopixel output type, similar to dshot
5 years ago
Michael du Breuil
927a0521e3
AP_HAL: Remove the empty force_safety_no_wait
6 years ago
Andrew Tridgell
f2cd6e9a05
AP_HAL: added set_reversible_mask()
6 years ago
Siddharth Purohit
c546bec999
AP_HAL: do not use ch for channel, its used as a global var under ChibiOS
6 years ago
Andrew Tridgell
1fe6c7b497
AP_HAL: added chanmask to serial_setup_output()
7 years ago
Andrew Tridgell
0bb2c4564d
AP_HAL: make hal aware of oneshot125
...
this separates oneshot and oneshot125 at the HAL layer, allowing the
HAL to properly handle the high timing resolution of oneshot125
(needed to use 125ns time steps, to get the full 1000 throttle steps)
7 years ago
Andrew Tridgell
dacbef2120
AP_HAL: added get_esc_scaling() API for rcout
7 years ago
Andrew Tridgell
69c623270c
AP_HAL: added telem request to RCOutput
7 years ago
Andrew Tridgell
dcfec21b46
AP_HAL: added support for serial output to ESCs
7 years ago
Andrew Tridgell
e7dc304f4e
AP_HAL: support DShot output modes
7 years ago
Mark Whitehorn
66c4b7d986
AP_HAL: support SBusOut
...
rename enable_sbus_out to enable_px4io_sbus_out
7 years ago
Andrew Tridgell
0188d6463d
AP_HAL: added rcout set_detault_rate()
8 years ago
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