Motors Menu - Project-Stinger/Main GitHub Wiki

- Target RPM Front: The RPM of the front wheels during firing
- Idling: While it is not firing, you can spin the motors, so they can spool up faster. V2 only: You can also have dynamic idle, where the motors will idle when the blaster is straight, but not when you point it up or down. Reduces noise and increases battery life.
- Idle only with mag: When there is no mag inserted, the blaster will stop idling. V1 only: Setting is called "No mag no idle" because of limited screen space.
- Preview Idle RPM: Turn this setting on if you want to have the motors idle while you change the settings
- Idle RPM: The RPM of the motors while they are idling
-
F/R Ratio: Ratio between front and rear wheel RPMs. Higher ratio = slower rear wheels. This can reduce strain on the darts as they are not accelerated as quickly in the rear wheels, while still maintaining a similar exit velocity.
Expert Settings
CAUTION: Changing these settings can damage the motors, ESCs and the battery. Change these at your own risk. Test extensively before using them. These settings exist to give you the freedom to do with your blaster whatever you want, mostly when you do your own hardware mods. The defaults are internally tested and tuned to be safe while delivering maximum performance. You will probably not gain anything unless you changed the motors or something else.

- Min Throttle %: Minimum throttle for the motors to run at (unless they are off), e.g. to overcome glitching at low throttle. Overrides whatever the PID says.
- P Gain: Proportional Gain for the PID controller, higher values make the system react faster but can lead to oscillations and overshoot.
- I Gain: Integral Gain for the PID controller, higher values make the system react faster to long term errors and new setpoints but can lead to overshoot and low frequency oscillations.
- D Gain: Derivative Gain for the PID controller, higher values can reduce overshoot and oscillations but can lead to noise amplification, i.e. hot motors, and instability.
- RPM in Range ms: Time for which the motors have to be within the target RPM range before firing. Higher values lead to more consistent speed but take a bit longer to start firing. Lower values make it start firing faster, but can read glitches as a valid RPM.
- RPM Tolerance %: Percentage of the target RPM within which the motors are considered to be in range. Lower values lead to more consistent dart speed, but can lead to the motors not firing at all if they are not perfectly tuned, or take longer to settle because of small overshoots. Higher values can lead to inconsistent dart speed, but can make the system more robust to small errors.
- Rampup Timeout: Timeout in ms for the rampup phase. Lower values are safer, but if the RPM has not settled yet, firing may be aborted or inconsistent.
- Timeout Mode: If the rampup timeout is reached, you can abort firing, or you can fire regardless of the current RPM.
- Rampdown ms: Time to ramp down the motors to idle/off after firing. Lower values are more abrupt, higher values are smoother. Lower values will create more heat because the motors will brake artificially.

- Motor KV: Motor KV rating, used to calculate the maximum RPM for estimated final throttle. If you change the motors, change this value accordingly. The default motors are 3750KV.
- Max. ESC Temp: In degrees Celsius, temperature above which the ESCs will be disabled. The ESC may have its own thermal protection, this can be used to lower that limit, but not extend it. Omitted, if the ESC does not provide temperature data (e.g. no extended DShot telemetry).