Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
types.hpp File Reference
#include "quaternion.hpp"
#include <Eigen/Core>
#include <vector>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Landmark
 
struct  Map
 
struct  Track
 
struct  LandmarkList
 
struct  Pose
 
struct  Wheels
 
struct  ImuData
 
struct  GnssData
 
struct  StampedScalar
 
struct  Report
 
struct  Report::LapTime
 
struct  Report::Penalty
 
struct  MainConfig
 

Enumerations

enum  LandmarkType {
  BLUE = 0 , YELLOW = 1 , ORANGE = 2 , BIG_ORANGE = 3 ,
  TIMEKEEPING = 4 , INVISIBLE = 5 , UNKNOWN = 6
}
 
enum  Discipline { AUTOCROSS , TRACKDRIVE , ACCELERATION , SKIDPAD }
 

Functions

LandmarkType stringToLandmarkType (const std::string &in)
 
LandmarkList trackToLMList (Track &in)
 
Track lmListToTrack (LandmarkList &in)
 
Discipline stringToDiscipline (const std::string &disciplineStr)
 

Enumeration Type Documentation

◆ Discipline

enum Discipline
Enumerator
AUTOCROSS 
TRACKDRIVE 
ACCELERATION 
SKIDPAD 

Definition at line 171 of file types.hpp.

◆ LandmarkType

Enumerator
BLUE 
YELLOW 
ORANGE 
BIG_ORANGE 
TIMEKEEPING 
INVISIBLE 
UNKNOWN 

Definition at line 8 of file types.hpp.

Function Documentation

◆ lmListToTrack()

Track lmListToTrack ( LandmarkList in)

Definition at line 53 of file types.cpp.

Here is the caller graph for this function:

◆ stringToDiscipline()

Discipline stringToDiscipline ( const std::string &  disciplineStr)

Definition at line 63 of file types.cpp.

Here is the caller graph for this function:

◆ stringToLandmarkType()

LandmarkType stringToLandmarkType ( const std::string &  in)

Definition at line 3 of file types.cpp.

Here is the caller graph for this function:

◆ trackToLMList()

LandmarkList trackToLMList ( Track in)

Definition at line 33 of file types.cpp.

Here is the caller graph for this function: