LemLib  0.4.7
An easy to use and feature-rich PROS template
Loading...
Searching...
No Matches
lemlib::OdomSensors_t Struct Reference

Struct containing all the sensors used for odometry. More...

#include <chassis.hpp>

Public Attributes

TrackingWheelvertical1
 
TrackingWheelvertical2
 
TrackingWheelhorizontal1
 
TrackingWheelhorizontal2
 
pros::Imu * imu
 

Detailed Description

Struct containing all the sensors used for odometry.

The sensors are stored in a struct so that they can be easily passed to the chassis class The variables are pointers so that they can be set to nullptr if they are not used Otherwise the chassis class would have to have a constructor for each possible combination of sensors

Parameters
vertical1pointer to the first vertical tracking wheel
vertical2pointer to the second vertical tracking wheel
horizontal1pointer to the first horizontal tracking wheel
horizontal2pointer to the second horizontal tracking wheel
imupointer to the IMU

The documentation for this struct was generated from the following file: