Speed, ERPM, & Duty Cycle show negative values on the RT data screens

This condition can occur if you have your IMU Rotation Yaw and Motor Direction set incorrectly. The board will balance and ride in the desired direction as normal, but the RT data will report negative values for ERPM, Speed, and Duty Cycle.

If you are experiencing this issue, while it may seem safe to ride, there are certain features that rely on knowing which way is forwards and which way is backwards, and this issue could cause weird behavior, unexpected cutoffs, or even guaranteed ghosting when using these features (most notable being Reverse Stop, Darkride, and Disable Moving Faults).

Example of the issue:

How to Fix

TLDR:

  1. Backup Configs
  2. Flip Motor Direction toggle (Motor CFG → General → General)
  3. IMU Setup → IMU Orientation → Skip Roll & Pitch → Raise NOSE for Yaw (should say +/- 180) and save
  4. Confirm Motor Direction using AppUI → Controls
  5. Confirm IMU Orientation using RT Data

First, as always to be safe, go to the Start tab (or ConfBackup on the top Menu Bar for desktop VESC Tool) and tap Backup Config so you have a fallback in case you get lost or screw up somewhere.

Second, invert your motor direction from what it is currently, under Motor CFG → General → General

Third, go to the IMU Wizard, do IMU Orientation, skip pitch and roll, and once you get to IMU Yaw, raise the NOSE of the board up, NOT the tail. If you watched an older 6.0 setup video, raising the tail was a workaround for a bug. That bug has since been fixed, so you should now raise the nose like the wizard says to. The offset should say either 180 or -180, indicating you are flipping your yaw 180 degrees from the current value, which should invert it back to how it should be.

For clarification, the reason this is done in the IMU Wizard instead of manually changing your IMU Rotation Yaw by +/- 180 is that the IMU Wizard will automatically adjust your gyro and accel values as well to accommodate this change. Otherwise, you would have to recalibrate Gyro and Accel afterwards.

You can confirm success by doing two things. First, go to AppUI, Controls, and use the Movement Controls slider to confirm correct motor direction. Moving the slider right should roll the motor forwards, and left should move the motor backwards. Then, go to the IMU section of the RT Data tab and confirm that when the tail is on the ground, the roll angle is near 0 and the pitch angle is positive 20-30 or so, not negative.

If you clear both these tests, it should be safe to test by hand. If that checks out fine, it should be good to ride.

1 Like

Tune modifiers & tiltback should work fine regardless of direction.

*turntilt has a bug where it is directional, but thats a bug in turntilt.

Thank you for the reply, but that is not what this post is referring too.
If ERPM and Duty Cycle are showing incorrect values in the negative, they will never activate the triggers in the tune modifiers. In my case, that is what was happing. if ERPM reads -290, that will not trigger tiltback set at 3000 ERPM.

would you mind please deleting your post to help keep this on track?

I’ve updated the original post to have an example.

Are you referring to the nose angling modifier? That might be another bug, I’ll have to take a closer look at it. Just reading the code I think dado’s variable tiltback should work correctly but the constant tiltback might be borked.

FWIW: All tiltback settings are (or should be) based off of absolute ERPM values, so the inverted direction shouldn’t matter, because by design they should be bidirectional. If you find that a certain tiltback doesn’t work as intended while riding backwards then this should be reported as a bug

Alright, i’ve removed all references to the tune modifiers. If it is a bug it isn’t one that is worth the time to diagnose since the condition can be corrected by changing the offsets anyway.

your post was bang on in regards to negative speeds and duty cycels. gyro z offet to Zero and false for motor inversion corrects the negative speed issue for me.
thanks