- 12 Apr, 2021 2 commits
-
-
Lorenz Meier authored
The simpler logic is more robust towards future refactoring.
-
Beat Küng authored
Bootup failed in some cases with: ERROR [mixer] can't reset mixers on /dev/pwm_output1 The reason was the mode change was not applied yet.
-
- 24 Mar, 2021 1 commit
-
-
Daniel Agar authored
- PWM_OUT_MAX_INSTANCES is a constant (static constexpr) not available to the preprocessor
-
- 23 Mar, 2021 1 commit
-
-
Daniel Agar authored
- skip _objects[1] access if only 1 possible instance - command line request new mode via atomic
-
- 20 Mar, 2021 1 commit
-
-
Lorenz Meier authored
This ensures that all PWM outputs get correctly inialized on targets that only support one.
-
- 17 Mar, 2021 3 commits
-
-
Lorenz Meier authored
-
Lorenz Meier authored
Important to know if the app is running.
-
Daniel Agar authored
PX4 uses banks of 8 outputs as a logical structure. Boards that have more outputs than 8 get multiple instances. This is an arbitrary choice that helps with overall structure and enables the mixing of different device classes (like FMU, IO or UAVCAN).
-
- 12 Feb, 2021 1 commit
-
-
Daniel Agar authored
-
- 01 Feb, 2021 1 commit
-
-
Daniel Agar authored
-
- 30 Jan, 2021 1 commit
-
-
Daniel Agar authored
- generate PWM_MAIN 1-14 - generate PWM_AUX 1-8 - generate PWM_EXTRA 1-8 - px4io and pwm_out directly read configuration parameters - only available and active physical outputs are actually shown for configuration - overall saves flash despite adding many new parameters
-
- 25 Jan, 2021 2 commits
-
-
Daniel Agar authored
-
Daniel Agar authored
-
- 04 Aug, 2020 2 commits
- 23 Jul, 2020 1 commit
-
-
Daniel Agar authored
- add backup schedule at minimum PWM rate - fixes #15043
-
- 23 Jun, 2020 1 commit
-
-
Beat Küng authored
Required on durandal if camera triggering is enabled.
-
- 07 May, 2020 1 commit
-
-
Daniel Agar authored
- this is done to minimize real end-to-end latency - actual pulse width only updated for next period regardless of output module - add cycle interval perf counter
-
- 03 May, 2020 1 commit
-
-
Daniel Agar authored
This reverts commit 0c8dcf94.
-
- 02 May, 2020 1 commit
-
-
Daniel Agar authored
-
- 31 Mar, 2020 2 commits
-
-
Daniel Agar authored
- we have better motor test facilities these days
-
Daniel Agar authored
- split out header
-
- 10 Mar, 2020 1 commit
-
-
Beat Küng authored
Chip-select and SPI initialization uses the new config, whereas the drivers still use the existing defines. The configuration in board_config.h can be removed after all drivers are updated.
-
- 22 Nov, 2019 1 commit
-
-
Daniel Agar authored
-
- 16 Nov, 2019 1 commit
-
-
David Sidrane authored
stm32:ToneAlarmInterfacePWM TIM15-TIM17 have a BDTR Register common:board_crashdump Add H7 support stm32/board_mcu_version:Support H7 PX4 ADC:Use 32 interface and resoution abstraction Added PX4 stm32h7 ADC driver stm32h7:adc fix ADC ready check fmu: handle BOARD_HAS_PWM==5 cmake: improve error handling for NuttX olddefconfig failures WorkQueueManager:Quiet loadmon stack warning camera_trigger:GPIO support < 6 GPIO Adjust stack sizes (under hw stack check) PX4 System changes Supporting STM32H7 PX4IO Driver aerotenna_ocpoc:ADC add px4_arch_adc_dn_fullcount init.cmake:Track Upstream change needing Make.def at config time PX4 System changes Supporting STM32H7 NuttX CMakeLists.txt Track upstream changes Common board_crashdump add header and px4 config NuttX simplify callinb make libapps Use UINT32_MAX for error return drivers:uavcannode NuttX chip is now hardware drivers:uavcanesc NuttX chip is now hardware px4io:Avoid Race on AP to PX4 IO upgrade
-
- 02 Nov, 2019 1 commit
-
-
Daniel Agar authored
- Astyle chokes on the module description strings, so for now we can keep them near the bottom of each file.
-
- 30 Oct, 2019 1 commit
-
-
Beat Küng authored
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)
-
- 28 Oct, 2019 1 commit
-
-
Daniel Agar authored
-
- 21 Oct, 2019 5 commits
-
-
Daniel Agar authored
Some of these perf counters were useful during initial development, but realistically aren't needed anymore, some are redundant when we can now see the average interval from `work_queue status` and some of them simply aren't worth the cost at higher rates.
-
Beat Küng authored
mixer.cpp ensures the string is null-terminated (buffer length is 2048).
-
Beat Küng authored
Required for pwm_out_sim: only publish actuator_outputs when we get actuator_controls. Otherwise lockstep startup does not work. The issue was there before but hidden, due to a long poll timeout. Works with HIL too.
-
Beat Küng authored
-
Beat Küng authored
Tested with SITL + HITL
-
- 11 Oct, 2019 1 commit
-
-
Beat Küng authored
-
- 02 Oct, 2019 1 commit
-
-
Daniel Agar authored
* adds a work_queue systemcmd that will bring a tree view of all active work queues and work items * WorkQueues now track attached WorkItems and will shutdown when the last WorkItem is detached
-
- 29 Sep, 2019 1 commit
-
-
Daniel Agar authored
-
- 31 Aug, 2019 4 commits