Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dfa6168
Remove .python-version
alfhern Apr 13, 2021
956f3e2
Expand logs utility for usage with unlogger
alfhern Aug 18, 2020
9b5a466
Point cereal to move-fast repo
alfhern Jul 16, 2020
8115f3f
Bump Cereal Release 0.8.9
alfhern Sep 16, 2021
9b5408d
Github Actions: Adapt workflows to move-fast repo
alfhern Sep 3, 2021
ccf0075
Hands on wheel monitoring: Implementation according to r079r4e regula…
alfhern Jul 17, 2020
14cd4d9
VisionTurnController Implementation
alfhern Aug 6, 2021
1e312c6
Debug UI: Toggle to display debug UI elements
alfhern Aug 9, 2021
75babe2
LiveMapData: Implementation
alfhern Aug 9, 2021
e77a58f
SpeedLimitControl: Implementation
alfhern Aug 9, 2021
4c126c9
TurnSpeedController: Implementation
alfhern Aug 9, 2021
6a353eb
Disable Disengage on gas
alfhern Jul 8, 2021
4617782
LONGIGUDINAL PLANNER: Single MPC approach
alfhern Aug 27, 2021
970c83a
TEMPORARY: Commented out failing small file test from commaai
alfhern Sep 16, 2021
88c4018
Bump Cereal for LiveMapData: current road name
alfhern Sep 20, 2021
e4e1172
LiveMapData: Road Name in UI implementation
alfhern Sep 21, 2021
aae8d14
SpeedLimitController: Add speed limit info to Adjust speed limit alert
alfhern Sep 21, 2021
36c4103
Simulator: Fix throttle scaling in simulator to match gas 1.0 to NIDE…
alfhern Sep 22, 2021
2f5ddc5
SpeedLimitControl: Draw Speed Limit sign on the left for compatibilit…
alfhern Sep 22, 2021
6db699d
TurnSpeedControl: Draw Speed Limit sign on the left for compatibility…
alfhern Sep 22, 2021
94e6533
LiveMapData: Added restriction for high divertions to be ignored and …
alfhern Sep 23, 2021
ff3a695
Debug: Bump cereal to add debug snapshot
alfhern Sep 23, 2021
ac00e60
Debug: Tap on Ui to capture snapshot of debug data
alfhern May 11, 2021
76eb2b8
Tools: custom unlogger modifications
alfhern Jun 15, 2021
329d1a3
LiveMapData: Tests
alfhern Sep 7, 2021
b6e8dfe
Test on frankfurther alle for report analysis
alfhern Sep 9, 2021
934f536
LiveMapData: Add distance to node convenience method to NodesData
alfhern Sep 28, 2021
3dda26b
LiveMapData: Way Relations can join new ways on nodes differente to e…
alfhern Oct 4, 2021
26fc6b9
VisionTurnController: Syntax corrections
alfhern Oct 4, 2021
302904f
TurnSpeedController: Syntax corrections
alfhern Oct 4, 2021
dcf29ad
SpeedLimitControl and DebugSnapshotSupport Move ui mouse event handli…
alfhern Oct 6, 2021
963ac52
LiveMapData: Road Name for UI to use ref tag when name tag is not ava…
alfhern Oct 7, 2021
8297119
Fix spelling
arne182 Feb 6, 2022
0b1e041
fix spelling
arne182 Feb 6, 2022
bb2e404
Add DE:service
arne182 Feb 6, 2022
e0de9db
fix spelling
arne182 Feb 7, 2022
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
31 changes: 31 additions & 0 deletions .github/workflows/buildbase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: buildbase
on:
workflow_dispatch:

env:
BASE_IMAGE: openpilot-base
DOCKER_REGISTRY: ghcr.io/move-fast

DOCKER_LOGIN: docker login ghcr.io -u ${GITHUB_ACTOR} -p ${{ secrets.GITHUB_TOKEN }}
BUILD: |
docker pull $(grep -iohP '(?<=^from)\s+\S+' Dockerfile.openpilot_base) || true
docker pull $DOCKER_REGISTRY/$BASE_IMAGE:latest || true
docker build --cache-from $DOCKER_REGISTRY/$BASE_IMAGE:latest -t $DOCKER_REGISTRY/$BASE_IMAGE:latest -t $BASE_IMAGE:latest -f Dockerfile.openpilot_base .

jobs:
build_base:
name: build base
runs-on: ubuntu-20.04
timeout-minutes: 60
if: github.repository == 'move-fast/openpilot'
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build Docker image
run: |
eval "$BUILD"
- name: Push to container registry
run: |
$DOCKER_LOGIN
docker push $DOCKER_REGISTRY/$BASE_IMAGE:latest
13 changes: 9 additions & 4 deletions .github/workflows/selfdrive_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: selfdrive
on:
push:
branches-ignore:
- 'testing-closet*'
branches:
- 'release_**'
- 'develop'
pull_request:

env:
BASE_IMAGE: openpilot-base
DOCKER_REGISTRY: ghcr.io/commaai
DOCKER_REGISTRY: ghcr.io/move-fast

DOCKER_LOGIN: docker login ghcr.io -u adeebshihadeh -p ${{ secrets.CONTAINER_TOKEN }}
DOCKER_LOGIN: docker login ghcr.io -u ${GITHUB_ACTOR} -p ${{ secrets.GITHUB_TOKEN }}
BUILD: |
docker pull $(grep -iohP '(?<=^from)\s+\S+' Dockerfile.openpilot_base) || true
docker pull $DOCKER_REGISTRY/$BASE_IMAGE:latest || true
Expand All @@ -24,6 +25,7 @@ jobs:
name: build release
runs-on: ubuntu-20.04
timeout-minutes: 50
if: github.repository == 'commaai/openpilot'
env:
STRIPPED_DIR: tmppilot
steps:
Expand Down Expand Up @@ -115,6 +117,7 @@ jobs:
name: build webcam
runs-on: ubuntu-20.04
timeout-minutes: 90
if: github.repository == 'commaai/openpilot'
env:
IMAGE_NAME: openpilotwebcamci
steps:
Expand Down Expand Up @@ -212,6 +215,7 @@ jobs:
$UNIT_TEST selfdrive/locationd && \
$UNIT_TEST selfdrive/athena && \
$UNIT_TEST selfdrive/thermald && \
$UNIT_TEST selfdrive/mapd && \
$UNIT_TEST tools/lib/tests && \
./selfdrive/common/tests/test_util && \
./selfdrive/loggerd/tests/test_logger &&\
Expand All @@ -224,6 +228,7 @@ jobs:
name: process replay
runs-on: ubuntu-20.04
timeout-minutes: 50
if: github.repository == 'commaai/openpilot' # Do not run on move-fast repo.
steps:
- uses: actions/checkout@v2
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tools_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: tools
on:
push:
branches:
- 'release_**'
- 'develop'
pull_request:

env:
BASE_IMAGE: openpilot-base
DOCKER_REGISTRY: ghcr.io/commaai
DOCKER_LOGIN: docker login ghcr.io -u adeebshihadeh -p ${{ secrets.CONTAINER_TOKEN }}
DOCKER_REGISTRY: ghcr.io/move-fast
DOCKER_LOGIN: docker login ghcr.io -u ${GITHUB_ACTOR} -p ${{ secrets.GITHUB_TOKEN }}

BUILD: |
docker pull $(grep -iohP '(?<=^from)\s+\S+' Dockerfile.openpilot_base) || true
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
url = ../../commaai/laika.git
[submodule "cereal"]
path = cereal
url = ../../commaai/cereal.git
url = ../../move-fast/cereal.git
[submodule "rednose_repo"]
path = rednose_repo
url = ../../commaai/rednose.git
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ onnx = "*"
onnxruntime = "*"
timezonefinder = "*"
sentry-sdk = "*"
overpy = "*"

[requires]
python_version = "3.8"
2,373 changes: 1,304 additions & 1,069 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cereal
Submodule cereal updated 3 files
+6 −0 car.capnp
+66 −0 log.capnp
+1 −0 services.py
34 changes: 34 additions & 0 deletions installer/custom/install_gfortran.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/data/data/com.termux/files/usr/bin/sh
# Get some needed tools. coreutils for mkdir command, gnugp for the signing key, and apt-transport-https to actually connect to the repo
apt-get update
apt-get --assume-yes upgrade
apt-get --assume-yes install coreutils gnupg

# Make the sources.list.d directory
mkdir -p $PREFIX/etc/apt/sources.list.d

# Write the needed source file
echo "deb https://its-pointless.github.io/files/24 termux extras" > $PREFIX/etc/apt/sources.list.d/pointless.list

# Add signing key from https://its-pointless.github.io/pointless.gpg
curl -sL https://its-pointless.github.io/pointless.gpg | apt-key add -

# Update apt
apt update

# install gfortran
apt install gcc-11 -y
setupclang-gfort-11

# Elf cleaner is needed to remove a DT_ENTRY warning that prints out when gfortran -v is called to get
# its version number and this breaks the pip installation script when fortran is used.

# Build elf cleaner
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
ELFCLEANERPATH=$SCRIPTPATH/termux-elf-cleaner/
cd $ELFCLEANERPATH
make

# Perform elf cleaner on gfortran
./termux-elf-cleaner $(which gfortran)

Loading