LemLib  0.4.7
An easy to use and feature-rich PROS template
Loading...
Searching...
No Matches
odom.hpp
Go to the documentation of this file.
1
13#pragma once
14
16#include "lemlib/pose.hpp"
17
18namespace lemlib {
32Pose getPose(bool radians = false);
39void setPose(Pose pose, bool radians = false);
44void update();
49void init();
50} // namespace lemlib
Chassis class declarations.
Definition: pose.hpp:14
void update()
Update the pose of the robot.
Pose getPose(bool radians=false)
Get the pose of the robot.
void init()
Initialize the odometry system.
void setSensors(lemlib::OdomSensors_t sensors, lemlib::Drivetrain_t drivetrain)
Set the sensors to be used for odometry.
void setPose(Pose pose, bool radians=false)
Set the Pose of the robot.
Pose class declarations.
Struct containing constants for a drivetrain.
Definition: chassis.hpp:77
Struct containing all the sensors used for odometry.
Definition: chassis.hpp:33