Skip to Content
VectorLib

TrDrivebase

vectorlib::TrDrivebase — fields, methods, parameters and return types.


pub trait TrDrivebase

The drivebase TitanReset reads and resets the pose of (tr_drivebase_abstract).

Implemented for Chassis (TitanReset's tr_lem_base); implement it to use TitanReset with another odometry system.

View source

Methods

Prop

Type

get_pose

fn get_pose(&self) -> TrVector3

The pose: x, y in inches, heading in degrees in z.

Returns

TrVector3

View source

set_pose

fn set_pose(&self, new_pose: TrVector3)

Set the pose: x, y in inches, heading in degrees in z.

Parameters

Prop

Type

Returns

()

View source