Skip to content

Random Runtime Error #2

@Davis8483

Description

@Davis8483
OpMode threw an uncaught exception.
com.qualcomm.robotcore.exception.TargetPositionNotSetException: Failed to enable motor. You must set a target position before switching to RUN_TO_POSITION mode

This error was randomly thrown when running the main teleop. I was messing around with making the lift go up and down so it most likely has to do with that code segment.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions