Motor doesn't stop when compressor stopped #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When stopping the compressor via API, motor speed stays at ~1500 RPM instead of dropping to 0.\n\nRoot Cause: In CompressorEmulator.stop(), the physics engine's load_factor was never set to 0. The state machine transitioned to OFF but the physics kept running with the previous load_factor (e.g., 0.8).\n\nFix: Added physics.set_load_factor(0) in CompressorEmulator.stop() before setting _running=False.