David Sidrane
aa30560d68
aerofc-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on aerofc-v1
2018-11-19 14:32:47 -05:00
David Sidrane
96ba6c1174
sitl led:Support logical LED operations in commander
...
add support for all the LEDS to support
BOARD_HAS_CONTROL_STATUS_LEDS
2018-11-19 14:32:47 -05:00
David Sidrane
0a1dd24af6
omnibus-f4sd:led clean up code and prevent out of bounds indexing
2018-11-19 14:32:47 -05:00
David Sidrane
dc29820bd9
Document the LED colors used
2018-11-19 14:32:47 -05:00
David Sidrane
98394afcc7
board common:Define default CONTROL_STATUS LED mapping
...
This commit is the groundwork to fix the power LED
blinking on V5
Background:
----------
Early boards only had an AMBER LED that was used to
indicate a High Load condition.
This change defines the new logical inteface
the LED_<color> should not be used in application
code moving forward, only the minipulator macros
should be used.
Logical usage Legacy default
------------------------+-------------
BOARD_OVERLOAD_LED | LED_RED
Later boards defined BOARD_HAS_CONTROL_STATUS_LEDS
and added the use of a BLUE and GREEN LED that were
used as follows:
Logical usage Legacy default
------------------------+-------------
BOARD_ARMED_LED | LED_BLUE
BOARD_ARMED_STATE_LED | LED_GREEN
With this PR a board may now define _only_ a subset
the leds and map them at the board level to the
color LED it wants to use.
Logical usage Legacy default
------------------------+-------------
BOARD_OVERLOAD_LED | LED_RED
when BOARD_HAS_CONTROL_STATUS_LEDS is defined
BOARD_ARMED_LED | LED_BLUE
BOARD_ARMED_STATE_LED | LED_GREEN
If any of the BOARD_{OVERLOAD|ARMED|ARMED_STATE}_LED are not
defined. The code output generates a null action for that
LED.
2018-11-19 14:32:47 -05:00
Daniel Agar
48ba88eaf0
pwm_out_sim add mixer saturation status publication ( #10866 )
2018-11-16 16:42:20 -05:00
bresch
f590137525
Fix HIL
...
Revert "pwm_out_sim lazily publish actuator_outputs"
This reverts commit bcad940a9f .
2018-11-12 19:21:15 +01:00
Daniel Agar
246b879aea
require MODULE_NAME
2018-11-10 13:52:34 -05:00
Daniel Agar
7caf9803ed
delete unimplemented SENSORIOCRESET IOCTL
2018-11-06 07:43:43 +08:00
Daniel Agar
b0caea9edc
mpu9250 remove interface IOCTLs
2018-11-06 07:43:43 +08:00
Daniel Agar
e164281a2e
mpu6000 remove interface IOCTLs
2018-11-06 07:43:43 +08:00
Daniel Agar
dd0baaee91
delete IOCTL SENSORIOCSQUEUEDEPTH
...
- only used in test routines
2018-11-06 07:43:43 +08:00
Daniel Agar
d2ed091a1d
delete IOCTL SENSOR_POLLRATE_MAX
...
- only SENSOR_POLLRATE_DEFAULT is needed
2018-11-06 07:43:43 +08:00
Daniel Agar
556a9422b5
delete IOCTL SENSOR_POLLRATE_MANUAL
...
- only used in self tests
2018-11-06 07:43:43 +08:00
Daniel Agar
8dfd55fc9e
delete unused IOCTL SENSORIOCGPOLLRATE
2018-11-06 07:43:43 +08:00
Daniel Agar
9cd3e3d1cf
distance sensors delete unused IOCTL SENSORIOCSQUEUEDEPTH
2018-11-06 07:43:43 +08:00
Daniel Agar
ac04db6084
delete unnecessary drv_px4flow.h
2018-11-06 07:43:43 +08:00
Daniel Agar
d76155107c
delete unused IOCTL MAGIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
0ea18b2b73
delete unused IOCTL MAGIOCGSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
60a40ec131
delete unused IOCTL MAGIOCSSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
04972d196a
delete unused IOCTL MAGIOCTYPE
2018-11-06 07:43:43 +08:00
Daniel Agar
114b471675
delete unnecessary drv_iridiumsbd.h
2018-11-06 07:43:43 +08:00
Daniel Agar
1f2cb8740a
delete unnecessary drv_irlock.h
2018-11-06 07:43:43 +08:00
Daniel Agar
76a6cd10b1
delete unnecessary drv_gps.h
2018-11-06 07:43:43 +08:00
Daniel Agar
571364c617
delete baro_report (alias for sensor_baro_s)
2018-11-06 07:43:43 +08:00
Daniel Agar
85c2b6307c
delete unused IOCTL AIRSPEEDIOCGSCALE
2018-11-06 07:43:43 +08:00
Daniel Agar
acc24da0c2
delete gyro_report (alias for sensor_gyro_s)
2018-11-06 07:43:43 +08:00
Daniel Agar
42f9aa6e43
delete drv_gyro.h GYROx_DEVICE_PATH
2018-11-06 07:43:43 +08:00
Daniel Agar
aaf1667b09
delete unused GYRO_SAMPLERATE_DEFAULT
2018-11-06 07:43:43 +08:00
Daniel Agar
3daf37433e
delete unused IOCTL GYROIOCSSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
60c14fe8f1
delete unused IOCTL GYROIOCGSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
0d67050089
delete unused IOCTL GYROIOCTYPE
2018-11-06 07:43:43 +08:00
Daniel Agar
ef65e5267a
delete unused IOCTL GYROIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
068dcb37df
delete unused IOCTL GYROIOCSRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
aaf0b6fb5c
delete unused IOCTL GYROIOCGSCALE
2018-11-06 07:43:43 +08:00
Daniel Agar
f21f1a1357
delete drv_accel.h ACCELx_DEVICE_PATH
2018-11-06 07:43:43 +08:00
Daniel Agar
2a83a40491
delete accel_report (alias for sensor_accel_s)
2018-11-06 07:43:43 +08:00
Daniel Agar
22c9fb7290
delete unused IOCTL ACCELIOCGEXTERNAL
2018-11-06 07:43:43 +08:00
Daniel Agar
e759e0e1a5
delete unused IOCTLs ACCELIOCSSAMPLERATE and ACCEL_SAMPLERATE_DEFAULT
2018-11-06 07:43:43 +08:00
Daniel Agar
eddbd3fc4b
delete unused IOCTL ACCELIOCTYPE
2018-11-06 07:43:43 +08:00
Daniel Agar
77abcab46f
delete unused IOCTL ACCELIOCGRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
5d3d120705
delete unused IOCTL ACCELIOCSRANGE
2018-11-06 07:43:43 +08:00
Daniel Agar
b0c3e12139
delete unused IOCTL ACCELIOCGSCALE
2018-11-06 07:43:43 +08:00
Daniel Agar
8ad59160c9
delete unused IOCTL ACCELIOCGSAMPLERATE
2018-11-06 07:43:43 +08:00
Daniel Agar
f59f0d4b2d
delete unused IOCTL SENSOR_POLLRATE_EXTERNAL
2018-11-06 07:43:43 +08:00
Jake Dahl
387d6ffbc1
This work should be complete. Waiting for Alex to validate config settings
2018-11-01 10:49:26 -04:00
Jake Dahl
27c6432757
added unseal() and seal() around write_flash() for enabling/disabling cell undervoltage, we found out today this wasn't being written because that address is in protected flash
2018-11-01 10:49:26 -04:00
Jake Dahl
5dbb34c841
added other bus options to the documentation
2018-11-01 10:49:26 -04:00
Jake Dahl
bd807f4db2
took care of minor clang-tidy complaints
2018-11-01 10:49:26 -04:00
Jake Dahl
69b59b9d63
commented out something causing trouble with CI, it is in an unused function but I'd like to keep the comment there as a reference for future development effort
2018-11-01 10:49:26 -04:00