Commit Graph

73 Commits

Author SHA1 Message Date
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
ChristophTobler 06a9f54796 tap_esc: changes needed to run on qurt 2017-12-03 14:10:20 +00:00
Julien Lecoeur 89642a9203 Move src/module/systemlib/mixer to src/lib/mixer 2017-11-15 09:56:10 +01:00
Beat Küng efb170d91d tap_esc: some cleanup
- use select_responder from tap_esc_common namespace (same definition)
- switch pwm output to uint16, that's what's used in send_esc_output()
- use SCHED_PRIORITY_ACTUATOR_OUTPUTS instead of SCHED_PRIORITY_MAX
2017-10-06 19:32:53 +02:00
Daniel Agar 26f00609ac multirotor_motor_limits only publish for MC 2017-09-19 02:25:30 +01:00
Daniel Agar 79869c848f drivers fix missing field initializers 2017-09-16 21:29:52 +01:00
Daniel Agar 494e03000d tap_esc fix sign-compare 2017-09-07 10:27:36 +02:00
Simone Guscetti a64e9bfa03 tap_esc: add board_config.h for completeness 2017-06-04 04:20:05 +08:00
Simone Guscetti d59e9e2958 tap_esc: minor refractoring
- the definition of ESC_HAS_CURRENT_SENSOR is now in drv_tap_esc
- add tap_esc_common move crc table there
- header guards are applied to the header files
2017-06-04 04:20:05 +08:00
Lucas De Marchi 6b8c0f7db2 tap_esc: enable closed loop control if supported by board 2017-04-06 12:18:30 +02:00
Lucas De Marchi 41e51a7c85 tap_esc: change define to use BOARD_ prefix 2017-04-06 12:18:30 +02:00
Beat Küng 4d62dd893b tap_esc: handle lockdown & manual_lockdown -> kill switch 2017-04-06 11:46:09 +02:00
Beat Küng 96c40d3ce9 tap_esc: improve cleanup & initialization code 2017-04-06 11:46:09 +02:00
Beat Küng 85708063d6 fix tap_esc: use correct ORB_ID for esc_status advertisement 2017-02-27 08:52:43 +01:00
José Roberto de Souza b372d15443 drivers: tap_esc: Fix low on stack warning
WARN  [load_mon] tap_esc_main low on stack! (284 bytes left)
2017-02-23 08:26:42 +01:00
Lorenz Meier 264589b2cc Fix motor range 2017-01-28 15:25:00 +01:00
Matthias Grob 41ff46b557 tap_esc: fixed offset to really keep the range 1200-1900
even if the input to the driver is too low or too high.
This prevents motor stalling.
NaN or Inf still stop the motor.
2017-01-28 15:24:45 +01:00
David Sidrane 216ec6513a Removed CONFIG_ARCH_BOARD_AEROFC_V1 from tap_esc
Changed the CONFIG_ARCH_BOARD_AEROFC_V1 in tap_esc.cpp to
   TAP_ESC_NO_VERIFY_CONFIG to maintian the commitment to not
   have CONFIG_ARCH_BOARD_xxxx ifdef litter in the PX4 code base.
   TAP_ESC_NO_VERIFY_CONFIG will be removed (see todo) in
   aerofc-v1/board_config.h
2017-01-21 11:45:36 +01:00
Lorenz Meier 535d5b9233 Ensure TAP ESC is fully booted 2016-12-21 11:44:47 +01:00
Lorenz Meier 3532b48411 TAP ESC: Correct use of unsubscribe 2016-12-19 20:39:03 +01:00
Lorenz Meier c9b7b6bbb5 TAP ESC: Secure being the first publisher of all outputs / reports 2016-12-13 16:14:15 +01:00
Paul Riseborough ca6f67fd3b tap_esc: publish mixer saturation status to uORB 2016-12-13 16:14:15 +01:00
James Goppert 893714dc6a aerofc: Fixes for init 2016-11-28 09:21:12 +01:00
Lucas De Marchi c5100b6273 tap_esc: fix output order for quadrotor 2016-11-03 15:38:09 +01:00