Daniel Agar
d4e06e517a
delete drv_gpio.h, modules/gpio_led, and fmu GPIO ioctls
2018-12-03 16:30:39 +01:00
David Sidrane
7350808759
drv_led_pwm:Compile for either BOARD_HAS_LED_PWM or BOARD_HAS_UI_LED_PWM
2018-12-02 10:34:04 +01:00
David Sidrane
1d289f77e3
stm32:drv_led_pwm Null entry check
2018-12-02 10:34:04 +01:00
Daniel Agar
02c34763f0
tone_alarm_sim readd to sitl and drop DriverFramework
...
- fixes #10925
2018-11-29 07:40:22 -05:00
David Sidrane
2d052c02fa
board_common:Use new PX4IO FW name on SD card and remove legacy V1 name
2018-11-26 14:40:14 -08:00
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
2018-11-26 14:40:14 -08:00
Daniel Agar
f692ad04d0
boards organization
2018-11-26 14:40:14 -08:00
David Sidrane
b80fa5f2f5
px4fmu-v5:Remove old comment
2018-11-25 21:02:42 +00:00
CUAVcaijie
eb8a3de987
add rgbled_ncp5623c driver ( #10889 )
...
Co-Authored-By: CUAVcaijie <caijie@cuav.net >
2018-11-25 13:40:51 -05:00
Mara Bos
e9fb17c51a
Always use FILE* for standard output.
...
The threads running commands for clients through the Posix daemon used
to write to a char buffer through snprintf (etc.) which was then written
directly to the file descriptor, whereas in the other case printf
(etc.) was used to write to stdout (FILE*). Both versions used some
macro's and repeated code to have the same output.
This change unifies these two cases by using a FILE* in both cases. The
(line) buffering is done by the standard C library's implementation
(just like with stdout), and px4_log.c now uses the same code in all
cases (using fprintf, etc.) for printing (colored) output.
2018-11-23 12:15:41 +01:00
David Sidrane
fbc143dc55
sitl:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on sitl
2018-11-19 14:32:47 -05:00
David Sidrane
05ea187b1d
px4nucleoF767ZI-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4nucleoF767ZI-v1
2018-11-19 14:32:47 -05:00
David Sidrane
b37675fa76
px4fmu-v5:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v5
2018-11-19 14:32:47 -05:00
David Sidrane
26026b5d39
px4fmu-v4pro:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v4pro
2018-11-19 14:32:47 -05:00
David Sidrane
735830a483
px4fmu-v4:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v4
2018-11-19 14:32:47 -05:00
David Sidrane
90106c1fd2
px4fmu-v2:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4fmu-v2
2018-11-19 14:32:47 -05:00
David Sidrane
e40a0839e9
px4-stm32f4discovery:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4-stm32f4discovery
2018-11-19 14:32:47 -05:00
David Sidrane
03aae61395
px4-same70xplained-v1:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on px4-same70xplained-v1
2018-11-19 14:32:47 -05:00
David Sidrane
42a8a6ffac
omnibus-f4sd:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on omnibus-f4sd
2018-11-19 14:32:47 -05:00
David Sidrane
1da0021be9
nxphlite-v3:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on nxphlite-v3
2018-11-19 14:32:47 -05:00
David Sidrane
a12f26aee0
mindpx-v2:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on mindpx-v2
2018-11-19 14:32:47 -05:00
David Sidrane
3c6539257f
crazyflie:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on crazyflie
2018-11-19 14:32:47 -05:00
David Sidrane
e960978296
auav-x21:Added Logical BOARD specific LED mapping
...
Define the logical LED that are uses on auav-x21
2018-11-19 14:32:47 -05:00
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