Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comments for Semi truck fields #81

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:

- name: Set up protoc
run: |
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.0/protoc-25.0-linux-x86_64.zip
unzip protoc-25.0-linux-x86_64.zip
wget https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protoc-25.1-linux-x86_64.zip
unzip protoc-25.1-linux-x86_64.zip
sudo mv bin/protoc /usr/local/bin/protoc
sudo mv include/* /usr/local/include/

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Prometheus or a StatsD interface supporting data store for metrics. This is requ
## Protos
Data is encapsulated into protobuf messages of different types. We do not recommend making changes, but if you need to recompile them you can always do so with:

1. Install protoc, currently on version 4.25.0: https://grpc.io/docs/protoc-installation/
1. Install protoc, currently on version 4.25.1: https://grpc.io/docs/protoc-installation/
2. Install protoc-gen-go: `go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28`
3. Run make command
```sh
Expand Down
2 changes: 1 addition & 1 deletion protos/python/vehicle_alert_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/python/vehicle_data_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/python/vehicle_error_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/python/vehicle_metric_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/vehicle_alert.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions protos/vehicle_data.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions protos/vehicle_data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ enum Field {
TpmsPressureFr = 70;
TpmsPressureRl = 71;
TpmsPressureRr = 72;
TmpsPressureRe1L0 = 73;
TmpsPressureRe1L1 = 74;
TmpsPressureRe1R0 = 75;
TmpsPressureRe1R1 = 76;
TmpsPressureRe2L0 = 77;
TmpsPressureRe2L1 = 78;
TmpsPressureRe2R0 = 79;
TmpsPressureRe2R1 = 80;
TmpsPressureRe1L0 = 73; // Semi-truck only
TmpsPressureRe1L1 = 74; // Semi-truck only
TmpsPressureRe1R0 = 75; // Semi-truck only
TmpsPressureRe1R1 = 76; // Semi-truck only
TmpsPressureRe2L0 = 77; // Semi-truck only
TmpsPressureRe2L1 = 78; // Semi-truck only
TmpsPressureRe2R0 = 79; // Semi-truck only
TmpsPressureRe2R1 = 80; // Semi-truck only
TpmsLastSeenPressureTimeFl = 81;
TpmsLastSeenPressureTimeFr = 82;
TpmsLastSeenPressureTimeRl = 83;
Expand All @@ -104,15 +104,15 @@ enum Field {
DriverSeatBelt = 94;
PassengerSeatBelt = 95;
DriverSeatOccupied = 96;
PassengerSeatFoldPosition = 97;
PassengerSeatFoldPosition = 97; // Semi-truck only
LateralAcceleration = 98;
LongitudinalAcceleration = 99;
CruiseState = 100;
CruiseSetSpeed = 101;
LifetimeEnergyUsed = 102;
LifetimeEnergyUsedDrive = 103;
TractorParkBrakeStatus = 104;
TrailerParkBrakeStatus = 105;
TractorParkBrakeStatus = 104; // Semi-truck only
TrailerParkBrakeStatus = 105; // Semi-truck only
BrakePedalPos = 106;
RouteLastUpdated = 107;
RouteLine = 108;
Expand Down
2 changes: 1 addition & 1 deletion protos/vehicle_error.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/vehicle_metric.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.