RoverDrive class

A helper class to send drive commands to the rover with a simpler API.

Inheritance

Constructors

RoverDrive({required AutonomyInterface collection, bool useGps = true, bool useImu = true})

Properties

collection AutonomyInterface
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensorDrive → SensorDrive
final
timedDrive → TimedDrive
final
useGps bool
final
useImu bool
final

Methods

dispose() Future<void>
Stops the rover from driving.
override
faceNorth() Future<void>
override
followPath(List<AutonomyAStarState> path) Future<void>
inherited
goDirection(DriveDirection direction) Future<void>
inherited
goForward() Future<void>
override
init() Future<bool>
Initializes the rover's drive subsystems.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCameraAngle({required double swivel, required double tilt}) → void
Sets the angle of the front camera.
stop() Future<void>
override
toString() String
A string representation of this object.
inherited
turnLeft() Future<void>
override
turnRight() Future<void>
override

Operators

operator ==(Object other) bool
The equality operator.
inherited