Skip to content
This repository was archived by the owner on Dec 31, 2019. It is now read-only.
This repository was archived by the owner on Dec 31, 2019. It is now read-only.

ConvenienceRobot Send Command? #56

@gabriellet

Description

@gabriellet

Hi, I wanted to know if there's an extra step to using the ConvenienceRobot send function. I have some code like this:

robot.send(RKSetHeadingCommand(heading: 0.0))
robot.send(RKRollCommand(heading: hdg, velocity: 1.0, andDistance: dst)

While neither of these work, these do:

robot.setZeroHeading(0.0)
robot.drive(withHeading: hdg, andVelocity: 1.0)

Any suggestions as to why this may be happening.

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