![]() |
LemLib
0.4.7
An easy to use and feature-rich PROS template
|
Struct containing all the sensors used for odometry. More...
#include <chassis.hpp>
Public Attributes | |
TrackingWheel * | vertical1 |
TrackingWheel * | vertical2 |
TrackingWheel * | horizontal1 |
TrackingWheel * | horizontal2 |
pros::Imu * | imu |
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
vertical1 | pointer to the first vertical tracking wheel |
vertical2 | pointer to the second vertical tracking wheel |
horizontal1 | pointer to the first horizontal tracking wheel |
horizontal2 | pointer to the second horizontal tracking wheel |
imu | pointer to the IMU |