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
State
{
9
AS_MANUAL
,
10
AS_OFF
,
11
AS_READY
,
12
AS_DRIVING
,
13
AS_FINISHED
,
14
AS_EMERGENCY
15
};
16
17
enum
Mission
{
18
MANUAL
,
19
ACCELERATION
,
20
SKIDPAD
,
21
AUTOCROSS
,
22
TRACKDRIVE
,
23
EBS_TEST
,
24
INSPECTION
25
};
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
AS_DRIVING
@ AS_DRIVING
Definition
structure.hpp:12
AS_READY
@ AS_READY
Definition
structure.hpp:11
AS_MANUAL
@ AS_MANUAL
Definition
structure.hpp:9
AS_FINISHED
@ AS_FINISHED
Definition
structure.hpp:13
AS_EMERGENCY
@ AS_EMERGENCY
Definition
structure.hpp:14
AS_OFF
@ AS_OFF
Definition
structure.hpp:10
Mission
Mission
Definition
structure.hpp:17
MANUAL
@ MANUAL
Definition
structure.hpp:18
EBS_TEST
@ EBS_TEST
Definition
structure.hpp:23
SKIDPAD
@ SKIDPAD
Definition
structure.hpp:20
AUTOCROSS
@ AUTOCROSS
Definition
structure.hpp:21
ACCELERATION
@ ACCELERATION
Definition
structure.hpp:19
TRACKDRIVE
@ TRACKDRIVE
Definition
structure.hpp:22
INSPECTION
@ INSPECTION
Definition
structure.hpp:24
master
include
model
structure.hpp
Generated by
1.9.8