Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
wheelsSensor.hpp
Go to the documentation of this file.
1#ifndef PACSIMWHEELSSENSOR_HPP
2#define PACSIMWHEELSSENSOR_HPP
3
4#include "configParser.hpp"
5#include "sensorBase.hpp"
6#include "types.hpp"
7#include <queue>
8#include <random>
9
10class WheelsSensor : public SensorBase<Wheels>
11{
12public:
13 WheelsSensor(double rate, double deadTime);
14
15 void readConfig(ConfigElement& config);
16
17 bool RunTick(Wheels& in, Eigen::Vector3d& trans, Eigen::Vector3d& rot, double time);
18
19 Wheels applyError(Wheels input);
20
21private:
22 double error_mean;
24};
25
26#endif /* PACSIMWHEELSSENSOR_HPP */
void readConfig(ConfigElement &config)
Wheels applyError(Wheels input)
bool RunTick(Wheels &in, Eigen::Vector3d &trans, Eigen::Vector3d &rot, double time)