forked from teslamotors/dashcam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashcam.proto
More file actions
36 lines (32 loc) · 852 Bytes
/
dashcam.proto
File metadata and controls
36 lines (32 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
syntax = "proto3";
// SEI (Supplemental Enhancement Information) metadata embedded in Tesla dashcam video streams.
message SeiMetadata {
uint32 version = 1;
enum Gear {
GEAR_PARK = 0;
GEAR_DRIVE = 1;
GEAR_REVERSE = 2;
GEAR_NEUTRAL = 3;
}
Gear gear_state = 2;
uint64 frame_seq_no = 3;
float vehicle_speed_mps = 4;
float accelerator_pedal_position = 5;
float steering_wheel_angle = 6;
bool blinker_on_left = 7;
bool blinker_on_right = 8;
bool brake_applied = 9;
enum AutopilotState {
NONE = 0;
SELF_DRIVING = 1;
AUTOSTEER = 2;
TACC = 3;
}
AutopilotState autopilot_state = 10;
double latitude_deg = 11;
double longitude_deg = 12;
double heading_deg = 13;
double linear_acceleration_mps2_x = 14;
double linear_acceleration_mps2_y = 15;
double linear_acceleration_mps2_z = 16;
}