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
{{ message }}
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
in 5.4, using blocks, you can add a dual-motor set block, and change the property from Power to Velocity. When I ran an opmode like this, the opmode crashed. The RC log contains this error:
06-14 20:48:56.099 5054 5432 E RobotCore: BlocksOpMode - "Velocity-Test-2" - main/JavaBridge - caughtException - message is TypeError: motorLAsDcMotor.setDualVelocity is not a function
@slylockfox This will be fixed in a future release of the FTC SDK software. A change was introduced, tested, and merged into the private repository. This change will be included with the next release of the software. Thank you for reporting this issue.
Activity
lizlooney commentedon Jun 15, 2020
Yikes. Looks (from the code) that setDualTargetPositionTolerance might also crash. Thanks for the bug report!
lizlooney commentedon Jun 15, 2020
Actually, I think setDualTargetPositionTolerance is OK. Just setDualVelocity is broken.
ftctechnh commentedon Jul 20, 2020
@slylockfox This will be fixed in a future release of the FTC SDK software. A change was introduced, tested, and merged into the private repository. This change will be included with the next release of the software. Thank you for reporting this issue.