Skip to content
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
This repository was archived by the owner on Oct 27, 2020. It is now read-only.

Blocks setDualVelocity is not a function #248

Closed
@slylockfox

Description

@slylockfox

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

The single-motor blocks seem to work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions