Galaxis Codebase  1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
servoSettings.hpp File Reference
#include <cstdint>
Include dependency graph for servoSettings.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 galaxis
 
 galaxis::servoSettings
 

Enumerations

enum  galaxis::servoSettings::Servo_t { galaxis::servoSettings::SERVO_FRONT, galaxis::servoSettings::SERVO_REAR }
 

Functions

float galaxis::servoSettings::servoSettingToAngle (int8_t servoSetting)
 Convert the servo setting to an actual steering angle. More...
 
int8_t galaxis::servoSettings::angleToServoSetting (float angle)
 

Variables

constexpr float galaxis::servoSettings::maximumAngle = 0.47305
 
constexpr int16_t galaxis::servoSettings::servoFrontMax = 450
 
constexpr int16_t galaxis::servoSettings::servoRearMax = 450
 
constexpr int16_t galaxis::servoSettings::servoFrontOffset = 13
 
constexpr int16_t galaxis::servoSettings::servoRearOffset = 0