Skip to content

Commit

Permalink
Squashed 'cereal/' changes from ab32956..eba4349
Browse files Browse the repository at this point in the history
eba4349 put liveLocation in qlogs
6c4735f add fixed fingerprintSource
4c50d26 GitHub actions (#25)
988783f Merge pull request #28 from commaai/power_monitoring
b43fd06 Added offroad power usage

git-subtree-dir: cereal
git-subtree-split: eba4349
  • Loading branch information
Vehicle Researcher committed Feb 18, 2020
1 parent 60d3364 commit 1a48e6e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 15 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-16.04

steps:
- uses: actions/checkout@v2
- name: Build docker image
run: docker build -t cereal .
- name: Unit Tests
run: |
docker run cereal bash -c "scons --test --asan -j$(nproc) && messaging/test_runner"
- name: Test ZMQ
run: |
docker run cereal bash -c "ZMQ=1 python -m unittest discover ."
- name: Test MSGQ
run: |
docker run cereal bash -c "MSGQ=1 python -m unittest discover ."
14 changes: 0 additions & 14 deletions azure-pipelines.yml

This file was deleted.

1 change: 1 addition & 0 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -477,5 +477,6 @@ struct CarParams {
enum FingerprintSource {
can @0;
fw @1;
fixed @2;
}
}
1 change: 1 addition & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ struct ThermalData {
batteryVoltage @16 :Int32;
usbOnline @12 :Bool;
networkType @22 :NetworkType;
offroadPowerUsage @23 :UInt32; # Power usage since going offroad in uWh

fanSpeed @10 :UInt16;
started @11 :Bool;
Expand Down
2 changes: 1 addition & 1 deletion service_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ carState: [8021, true, 100., 10]
# 8022 is reserved for sshd
carControl: [8023, true, 100., 10]
plan: [8024, true, 20.]
liveLocation: [8025, true, 0.]
liveLocation: [8025, true, 0., 1]
gpsLocation: [8026, true, 1., 1]
ethernetData: [8027, true, 0.]
navUpdate: [8028, true, 0.]
Expand Down

0 comments on commit 1a48e6e

Please sign in to comment.