Skip to content

Conversation

@zjwhitehead
Copy link
Member

@zjwhitehead zjwhitehead commented May 29, 2025

  • Revamped Haptic Feedback:

    • Buzzer: Now uses LEDC for precise tone control (deconflicts the PWM tone calls) and features updated/simplified melodies.
    • Vibration Motor: Implemented a dedicated FreeRTOS task and queue for non-blocking vibration, with haptic pulses added for critical actions like arm failure and cruise control engagement/disengagement/override.
    • Buzzer and vibration are now enabled by default.
  • Improved Throttle & Cruise Control:

    • Cruise control activation is now possible in both ARMED and ARMED_CRUISING states.
    • Smoother transition out of cruise mode by pre-filling the potentiometer buffer to prevent throttle drops.
    • handleThrottle() logic in sp140.ino was refactored with new helper functions for better clarity and management of cruise and armed states.
  • BLE Update:

    • Firmware version is now transmitted as a 2-byte array [major, minor] for easier client-side parsing.
  • Task Management:

    • A new asynchronous task now manages vibration motor operations.
  • Version Bump:

    • Version updated to 7.1.

@zjwhitehead zjwhitehead merged commit 7281b58 into master Jun 7, 2025
5 checks passed
@zjwhitehead zjwhitehead deleted the v7-1 branch June 7, 2025 23:33
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