RIT VEXU Core API
|
#include <drive_commands.h>
Inherits AutoCommand.
Public Member Functions | |
OdomSetPosition (OdometryBase &odom, const pose_t &newpos=OdometryBase::zero_pos) | |
bool | run () override |
AutoCommand wrapper class for the set_position function in the Odometry class
OdomSetPosition::OdomSetPosition | ( | OdometryBase & | odom, |
const pose_t & | newpos = OdometryBase::zero_pos ) |
constructs a new OdomSetPosition command
odom | the odometry system we are setting |
newpos | the position we are telling the odometry to take. defaults to (0, 0), angle = 90 |
Construct an Odometry set pos
odom | the odometry system we are setting |
newpos | the now position to set the odometry to |
|
override |
Run set_position Overrides run from AutoCommand