Skip to content

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented May 19, 2025

Solved Problem

The request is to stop the engine in flight without disarming the system.

Solution

Set the throttle in the ICE module to NAN in the "Stopped" state, which is then mapped to PWM_DISARMED in the output module.

Changelog Entry

For release notes:

Feature: Internal combustion engine: allow motor to be stopped without disarming

Alternatives

This is partially related to #24684, though the implementations can be fully parallel. Just that generally we want to use NAN to command a motor to stop, while "0" should still spin.

Test coverage

Bench tested: Engine is turned on via AUX1 switch, then stopped and started again.
image

@sfuhrer sfuhrer force-pushed the pr-fuel-engine-allow-stop-armed-main branch from 07b1a9a to 19e7525 Compare May 26, 2025 08:46
@sfuhrer sfuhrer marked this pull request as ready for review May 26, 2025 08:46
sfuhrer added 2 commits May 27, 2025 22:09
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
…isarming

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
@sfuhrer sfuhrer force-pushed the pr-fuel-engine-allow-stop-armed-main branch from 19e7525 to 34e851c Compare May 27, 2025 20:09
@sfuhrer sfuhrer requested a review from perrrre May 27, 2025 20:10
@sfuhrer sfuhrer merged commit cff5ecf into main Jun 2, 2025
69 checks passed
@sfuhrer sfuhrer deleted the pr-fuel-engine-allow-stop-armed-main branch June 2, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants