You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AngularRampLogger is producing weird results with the new 10.0 FTC SDK. With 10.0, the graph doesn't follow a straight line, the angular velocity is really high, and the resulting track width calculated is way too low. I've attached the plots from the same code and robot using SDK 9.2 vs. 10.0.
It appears there is a problem with imu.getRobotAngularVelocity(AngleUnit.RADIANS) returning strange values. See the issue filed here.
I downloaded the road-runner-ftc project so I could modify AngularRampLogger in Tuning.kt, and I implemented a workaround in my local version which appears to resolve the problem:
val av = view.imu.get().getRobotAngularVelocity(AngleUnit.**DEGREES**)
val time = t.addSplit()
data.angVels[0].times.add(time)
data.angVels[1].times.add(time)
data.angVels[2].times.add(time)
data.angVels[0].values.add(**Math.toRadians(**av.xRotationRate.toDouble()**)**)
data.angVels[1].values.add(**Math.toRadians(**av.yRotationRate.toDouble()**)**)
data.angVels[2].values.add(**Math.toRadians(**av.zRotationRate.toDouble()**)**)
Do we need to wait for a fix in the SDK or can you check and implement this workaround in RR?
Tuning Files
No response
Robot Logs
No response
The text was updated successfully, but these errors were encountered:
I am also having this issue with 3 Dead Wheel Odometry. In the near future when I try tuning RR v.1.0 with OTOS, I will see if this also happens with AngularRampLogger, as you only need trackWidthTicks.
RR FTC Version
0.1.13
Observed Behavior
AngularRampLogger is producing weird results with the new 10.0 FTC SDK. With 10.0, the graph doesn't follow a straight line, the angular velocity is really high, and the resulting track width calculated is way too low. I've attached the plots from the same code and robot using SDK 9.2 vs. 10.0.
It appears there is a problem with imu.getRobotAngularVelocity(AngleUnit.RADIANS) returning strange values. See the issue filed here.
I downloaded the road-runner-ftc project so I could modify AngularRampLogger in Tuning.kt, and I implemented a workaround in my local version which appears to resolve the problem:
Do we need to wait for a fix in the SDK or can you check and implement this workaround in RR?
Tuning Files
No response
Robot Logs
No response
The text was updated successfully, but these errors were encountered: