mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 18:43:33 +08:00
PWM automatic trigger system (ATS) for parachutes (#13726)
* parameter and logic to commander for triggering failsafe from external automatic trigger system. * logic to startup script for enabling ATS. Added uORB publishing to pwm_input module. * Refactored out CDev usage from pwm_input and ll40ls. Refactored out ll40ls specifics from pwm_input and cleaned up dead code.
This commit is contained in:
@@ -164,7 +164,12 @@ start_pwm(const uint8_t rotation)
|
||||
return PX4_OK;
|
||||
}
|
||||
|
||||
#ifdef LIDAR_LITE_PWM_SUPPORTED
|
||||
instance = new LidarLitePWM(rotation);
|
||||
#else
|
||||
instance = nullptr;
|
||||
PX4_ERR("PWM input not supported.");
|
||||
#endif
|
||||
|
||||
if (instance == nullptr) {
|
||||
PX4_ERR("Failed to instantiate the driver");
|
||||
|
||||
Reference in New Issue
Block a user