Skip to content

Commit 8f71de0

Browse files
authored
Rednose (#1503)
* add rednose * update rednose * This compiles * Add rednose to release * cleanup * Extract generated dir as argument * Add constants.py to release * Add rednose to dockerfile * Fix that old-commit-hash: 28bf5d1
1 parent 48340cc commit 8f71de0

30 files changed

+184
-1641
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@
1414
path = cereal
1515
url = ../../commaai/cereal.git
1616

17+
[submodule "rednose_repo"]
18+
path = rednose_repo
19+
url = ../../commaai/rednose.git

Dockerfile.openpilot

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ COPY ./common /tmp/openpilot/common
8888
COPY ./opendbc /tmp/openpilot/opendbc
8989
COPY ./cereal /tmp/openpilot/cereal
9090
COPY ./panda /tmp/openpilot/panda
91+
COPY ./rednose /tmp/openpilot/rednose
9192
COPY ./selfdrive /tmp/openpilot/selfdrive
9293

9394
COPY SConstruct /tmp/openpilot/SConstruct

SConstruct

+1-2
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,11 @@ SConscript(['selfdrive/ui/SConscript'])
227227
SConscript(['selfdrive/loggerd/SConscript'])
228228

229229
SConscript(['selfdrive/locationd/SConscript'])
230-
SConscript(['selfdrive/locationd/kalman/SConscript'])
230+
SConscript(['selfdrive/locationd/models/SConscript'])
231231

232232
if arch == "aarch64":
233233
SConscript(['selfdrive/logcatd/SConscript'])
234234
SConscript(['selfdrive/sensord/SConscript'])
235235
SConscript(['selfdrive/clocksd/SConscript'])
236236
else:
237237
SConscript(['tools/lib/index_log/SConscript'])
238-

rednose

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rednose_repo/rednose

rednose_repo

Submodule rednose_repo added at d3a79c6

release/files_common

+7-8
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,11 @@ selfdrive/locationd/test/*.py
260260

261261
selfdrive/locationd/locationd.py
262262
selfdrive/locationd/paramsd.py
263-
selfdrive/locationd/kalman/.gitignore
264-
selfdrive/locationd/kalman/__init__.py
265-
selfdrive/locationd/kalman/README.md
266-
selfdrive/locationd/kalman/SConscript
267-
selfdrive/locationd/kalman/templates/*
268-
selfdrive/locationd/kalman/helpers/*
269-
selfdrive/locationd/kalman/models/live_kf.py
270-
selfdrive/locationd/kalman/models/car_kf.py
263+
selfdrive/locationd/models/.gitignore
264+
selfdrive/locationd/models/SConscript
265+
selfdrive/locationd/models/live_kf.py
266+
selfdrive/locationd/models/car_kf.py
267+
selfdrive/locationd/models/constants.py
271268

272269
selfdrive/locationd/calibrationd.py
273270
selfdrive/locationd/calibration_helpers.py
@@ -427,3 +424,5 @@ installer/updater/Makefile
427424

428425
scripts/update_now.sh
429426
scripts/stop_updater.sh
427+
428+
rednose/**

selfdrive/locationd/SConscript

-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ env.Program("ubloxd_test", [
1919
"ublox_msg.cc",
2020
"ubloxd_main.cc"],
2121
LIBS=loc_libs)
22-

selfdrive/locationd/kalman/README.md

-52
This file was deleted.

selfdrive/locationd/kalman/SConscript

-37
This file was deleted.

selfdrive/locationd/kalman/helpers/__init__.py

-208
This file was deleted.

selfdrive/locationd/kalman/helpers/chi2_lookup.py

-22
This file was deleted.

selfdrive/locationd/kalman/helpers/chi2_lookup_table.npy

-3
This file was deleted.

0 commit comments

Comments
 (0)