Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
structure.hpp
Go to the documentation of this file.
1
#pragma once
2
3
struct
Code
{
4
int
key
;
5
int
code
;
6
};
7
8
enum class
State
{
AS_MANUAL
,
AS_OFF
,
AS_READY
,
AS_DRIVING
,
AS_FINISHED
,
AS_EMERGENCY
};
9
10
enum class
Mission
{
MANUAL
,
ACCELERATION
,
SKIDPAD
,
AUTOCROSS
,
TRACKDRIVE
,
EBS_TEST
,
INSPECTION
};
Code
Definition
structure.hpp:3
Code::code
int code
Definition
structure.hpp:5
Code::key
int key
Definition
structure.hpp:4
State
State
Definition
structure.hpp:8
State::AS_DRIVING
@ AS_DRIVING
State::AS_MANUAL
@ AS_MANUAL
State::AS_READY
@ AS_READY
State::AS_FINISHED
@ AS_FINISHED
State::AS_EMERGENCY
@ AS_EMERGENCY
State::AS_OFF
@ AS_OFF
Mission
Mission
Definition
structure.hpp:10
Mission::TRACKDRIVE
@ TRACKDRIVE
Mission::EBS_TEST
@ EBS_TEST
Mission::AUTOCROSS
@ AUTOCROSS
Mission::MANUAL
@ MANUAL
Mission::INSPECTION
@ INSPECTION
Mission::SKIDPAD
@ SKIDPAD
Mission::ACCELERATION
@ ACCELERATION
master
include
model
structure.hpp
Generated by
1.9.8