Julian Oes
76920171c7
tap_esc: fix tunes
...
This removes the redundant _play_tone flag and instead just polls the
next_note() interface to check if there is something to play.
2022-01-10 23:04:10 -05:00
Daniel Agar
78b3d22471
lib/mixer_module: consume output_limit library
2022-01-10 11:59:55 +01:00
Beat Küng
2ff6baa250
actuator params: use module_name as prefix to channel label
2021-11-23 12:40:22 -05:00
mcsauder
21163d859e
Whitespace cleanup.
2021-10-19 13:29:26 -04:00
Beat Küng
ae15ad14a8
tap_esc: add dynamic mixing support
2021-10-18 18:45:19 -04:00
Beat Küng
5f0781b6e9
output modules: add param prefix argument to MixingOutput
2021-10-18 18:45:19 -04:00
Hyungsub
5677ab042b
tap_esc: fix resource leak ( #18296 )
2021-09-29 14:51:31 +02:00
Claudio Micheli
fa4fc5f347
esc_report: change esc_temperature field to allow negative values
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2021-09-11 15:14:49 -04:00
David Sidrane
c4b810eef9
tap_esc_uploader:Use inttypes
2021-08-13 14:22:00 -04:00
Daniel Agar
be2f65be35
drives/tap_esc: refactor to use OutputModuleInterface
2021-08-04 17:15:24 -04:00
Daniel Agar and Julian Oes
6ab8153f32
drivers/tap_esc: Advanced Technology Labs (ATL) Mantis EDU ESC support
...
Co-authored-by: Julian Oes <julian@oes.ch >
Co-authored-by: Daniel Agar <daniel@agar.ca >
2021-08-04 17:15:24 -04:00
Beat Küng
7e33d03470
drivers: remove tap_esc
...
- it's not used anymore
- it would need a refactoring to use mixer_module
2021-02-25 09:28:37 -05:00
Daniel Agar
967d35a6b6
rate limit most parameter_update subscriptions
...
- parameter updates can be quite expensive because they trigger nearly all modules to reload all of their parameters immediately
- limit modules from updating faster than once per second
2021-01-10 21:09:15 -05:00
Matthias Grob
987826f1d4
mixer_module/tap_esc: fix usage of constrain() on input
...
I changed the input constraint in #15349 but screwed up the usage
because I was convinced it's püass by reference. I'll double check
for sure next time.
2020-07-20 09:23:42 +02:00
Claudio Micheli
dc29a994b7
msg: extend field definition in msg/esc_report (arming & failure states)
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-04-03 09:16:43 +02:00
Daniel Agar
02f4ad61ec
I2C/SPI require device type in constructor
2020-04-01 12:24:22 -04:00
Daniel Agar
a8ea55d9b6
remove all <cmath> usage
...
* the NuttX c++ library is incomplete, let's avoid including it until we have a real standard library in place
2019-11-25 10:04:04 -05:00
Daniel Agar
79dc676c8f
mixer: move MixerGroup out of Mixer hierarchy and delete mixer.h header
2019-11-22 15:00:25 -05:00
Daniel Agar
a475d71ca9
astyle shift module documentation to bottom of files
...
- Astyle chokes on the module description strings, so for now we can keep them near the bottom of each file.
2019-11-02 10:58:47 -04:00
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
2019-10-30 11:48:47 +01:00
Beat Küng
0871802568
mixer_module: add support for test_motor (motor_test CLI command)
2019-10-21 09:42:08 +02:00
Beat Küng
4c4ce09005
esc_status: trim the message and remove unused fields
2019-10-11 08:14:17 +02:00
Daniel Agar
c8e59c4e39
parameter_update use uORB::Subscription consistently
2019-09-29 10:49:03 -04:00
Beat Küng
a2ebbe9066
pwm_limit: rename to output_limit
...
As there is nothing pwm-specific about it.
2019-08-31 10:05:00 -04:00
bresch
ec5da55107
Parameter update - Rename variables in drivers
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
Beat Küng
19ccab28bb
mixer: use an enum for airmode
2018-12-13 09:50:07 +01:00
Daniel Agar
a40161a3ec
tap_esc cleanup unnecessary Device CDev usage
2018-08-27 13:14:15 -04:00
Daniel Agar
d7b2b48bad
tap_esc increase stack 1100 -> 1180 bytes
2018-07-26 07:48:01 +02:00
Daniel Agar
e468a9bbcc
move systemlib/pwm_limit to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
222a91c6be
mathlib delete Matrix, Quaternion, Vector
2018-05-23 17:27:09 -04:00
Daniel Agar
977ab4e7b8
improve end to end control latency measurement ( #9388 )
2018-05-02 03:03:32 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
alessandro
255cc12c48
tap_esc: removed a zero-memset
2018-04-23 12:08:51 +02:00
alessandro
c0efe2db56
tap_esc: replaced PWM_DEFAULT_UPDATE_RATE
2018-04-23 12:08:51 +02:00
alessandro
d7c9f5c101
tap_esc: paranoid check
2018-04-23 12:08:51 +02:00
alessandro
c869fa3431
tap_esc: moved device path to drv_tap_esc.h
2018-04-23 12:08:51 +02:00
alessandro
5ebe76207d
tap_esc: formatting and renaming
2018-04-18 07:48:24 +02:00
alessandro
05548829d3
tap_esc: addressing review comments for #9313
2018-04-18 07:48:24 +02:00
alessandro
4f5644c0ef
tap_esc: more cleanup
...
- removing unused variables
- removing unused code blocks
- improving code readability
- initialising members at definition
2018-04-18 07:48:24 +02:00
alessandro
1ab2d22e42
tap_esc: removed redundant _initialized member
2018-04-18 07:48:24 +02:00
alessandro
b49ccb889c
tap_esc: removed unused NO_VERIFY_CONFIG
2018-04-18 07:48:24 +02:00
alessandro
edf6f6c97a
tap_esc: removed unnecessary includes
2018-04-18 07:48:24 +02:00
alessandro
fceffb1d01
tap_esc: removed unused mode var/struct
2018-04-18 07:48:24 +02:00
Alessandro Simovic
b71ac78959
tap_esc: converted to module
2018-04-18 07:48:24 +02:00
Alessandro Simovic
5da7beb8f5
tap_esc_common: docs & function return types etc.
2018-04-18 07:48:24 +02:00
Alessandro Simovic
f95b823e31
tap_esc: moved common functions to tap_esc_common
2018-04-18 07:48:24 +02:00
Alessandro Simovic
4ab8c2a682
tap_esc: made _uart_fd a class member
2018-04-18 07:48:24 +02:00
Beat Küng
aa110f2075
tap_esc: add MC_AIRMODE support
2018-03-30 00:33:40 -04:00
Beat Küng
37d9d0c2cd
tap_esc: remove NAN_VALUE define and use existing NAN instead
2018-03-30 00:33:40 -04:00
ChristophTobler
2ca2382dbb
tap_esc: replace FILE with file_t from base class device
2017-12-03 14:10:20 +00:00