Repository navigation
Conversation
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
PR Summary by QodoMove motor-wizard twitch timing into flight-controller firmware
AI Description
Merge Risk
|
Code Review by Qodo
1.
|
|
RAM / Flash usage vs. base commit
See RAM/flash optimization guide for techniques to reduce usage. |
|
Test firmware build ready — commit Download firmware for PR #12247 252 targets built. Find your board's
|
|
Thanks for this. With the more precise timing, do you think we could further reduce MOTOR_WIZARD_SPIN_MS for safety? My thought is to have the minimum that will reliably twitch the motor, given that we know people WILL run it with props on and the vehicle unsecured, regardless of whether we tell them not to. |
…-wizard # Conflicts: # docs/development/msp/README.md # docs/development/msp/msp_messages.json # src/main/msp/msp_protocol_v2_inav.h
I can test what is minimum value for all ESC FWs, it will not be much less than 100m. I reduced motor spin percent from 10 (in INAV 9) to 8%. Motor with such a lower value has not much power. And maybe it would help not to start immediately motor to 8%, but make it progresive. 0 - 8% in first 50% of duty cycle. |
Current motor wizzard is fully driven by configurator. Configurator sends to FC commands to start motor spinning and stop, like:
The correct motor timming depends on timming of MSP queue in inav configurator. I would say right aproach to move motor timming to FC, this PR does it, configurator just sends command
See video of diference if motor is driven by configurator (original), and what does this PR (fix)
https://www.youtube.com/watch?v=muuFdlh54_M
Configurator PR: iNavFlight/inav-configurator#2859
Correct memory change
RAM / Flash usage vs. base commit
6cbfc64— commit5ac0153RAM: +8 B (+0.01%)
RAM: +12 B (+0.01%)
TCM: ±0 B (±0.00%)
SRAM1: +12 B (+0.01%)
DTCM_RAM: ±0 B (±0.00%)
ITCM_RAM: +192 B (+1.24%)
RAM: +32 B (+0.02%)