libstp
Robotics library for Botball
Loading...
Searching...
No Matches
RobotConfig.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <vector>
6
7namespace libstp::sim
8{
13 {
14 std::string name;
15 float forwardCm{0.0f};
16 float strafeCm{0.0f};
17 uint8_t analogPort{0};
18 float clearanceCm{0.0f};
19 };
20
25 {
26 float widthCm{18.0f};
27 float lengthCm{18.0f};
28
33
35 std::string driveType{"differential"};
36 float wheelRadiusM{0.03f};
37 float trackWidthM{0.15f};
38 float wheelbaseM{0.15f};
39
40 std::vector<SensorMount> lineSensors;
41 std::vector<SensorMount> distanceSensors;
42 };
43}
std::string driveType
Drive kinematics (meters).
std::vector< SensorMount > lineSensors
std::vector< SensorMount > distanceSensors