ubuntu 16.04 -> 20.04 (#2378)

This commit is contained in:
Adeeb Shihadeh
2020-10-29 16:51:09 -07:00
committed by GitHub
parent 9a9e4ba45e
commit 719c5e3598
14 changed files with 817 additions and 648 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ on:
jobs:
docker_build:
name: build container
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
if: github.event_name == 'schedule' && github.repository == 'commaai/openpilot'
steps:
+10 -10
View File
@@ -22,7 +22,7 @@ env:
jobs:
build_release:
name: build release
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
env:
TEST_DIR: tmppilot
@@ -79,7 +79,7 @@ jobs:
build_webcam:
name: build webcam
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
@@ -100,7 +100,7 @@ jobs:
docker_push:
name: docker push
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot'
needs: static_analysis # hack to ensure slow tests run first since this and static_analysis are fast
@@ -120,7 +120,7 @@ jobs:
docker_push_prebuilt:
name: docker push prebuilt
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
if: github.event_name == 'status' && github.repository == 'commaai/openpilot'
needs: [static_analysis, unit_tests, process_replay, test_longitudinal, test_car_models]
@@ -138,7 +138,7 @@ jobs:
static_analysis:
name: static analysis
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
steps:
- uses: actions/checkout@v2
@@ -151,7 +151,7 @@ jobs:
valgrind:
name: valgrind
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
steps:
- uses: actions/checkout@v2
@@ -185,7 +185,7 @@ jobs:
unit_tests:
name: unit tests
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
steps:
- uses: actions/checkout@v2
@@ -216,7 +216,7 @@ jobs:
process_replay:
name: process replay
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
steps:
- uses: actions/checkout@v2
@@ -254,7 +254,7 @@ jobs:
test_longitudinal:
name: longitudinal
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
steps:
- uses: actions/checkout@v2
@@ -283,7 +283,7 @@ jobs:
test_car_models:
name: test car models
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
timeout-minutes: 50
steps:
- uses: actions/checkout@v2
+3 -2
View File
@@ -1,10 +1,12 @@
FROM ubuntu:16.04
FROM ubuntu:20.04
ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
build-essential \
bzip2 \
ca-certificates \
capnproto \
libcapnp-dev \
clang \
@@ -35,7 +37,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ocl-icd-opencl-dev \
opencl-headers \
python-dev \
python-pip \
qt5-default \
qtmultimedia5-dev \
sudo \
+1 -1
View File
@@ -84,7 +84,7 @@ hexdump = "*"
libusb1 = "*"
numpy = "*"
psutil = "*"
pycapnp = "*"
pycapnp = "==1.0.0b1"
cryptography = "*"
python-dateutil = "*"
pyzmq = "*"
Generated
+791 -623
View File
File diff suppressed because it is too large Load Diff
+1 -1
Submodule cereal updated: 58545fafa6...d87b4bbef9
+1 -1
Submodule opendbc updated: 34416de087...244e8807df
+1 -1
Submodule panda updated: 9fb584b20c...49c7615ed3
+1 -1
View File
@@ -1 +1 @@
4e8a51e064de900f13638d0b641383d7a72e845e
955869126912fa93325ff5ef9cd94310378e3082
+2 -2
View File
@@ -24,7 +24,7 @@ Table of Contents
Requirements
============
openpilot tools and the following setup steps are developed and tested on Ubuntu 16.04, MacOS 10.14.2 and Python 3.8.2.
openpilot tools and the following setup steps are developed and tested on Ubuntu 20.04, MacOS 10.14.2 and Python 3.8.2.
Setup
============
@@ -167,6 +167,6 @@ Welcomed contributions
=============
* Documentation: code comments, better tutorials, etc..
* Support for other platforms other than Ubuntu 16.04.
* Support for other platforms other than Ubuntu 20.04.
* Performance improvements: the tools have been developed on high-performance workstations (12+ logical cores with 32+ GB of RAM), so they are not optimized for running efficiently. For example, `ui.py` might not be able to run real-time on most PCs.
* More tools: anything that you think might be helpful to others.
+1 -1
View File
@@ -41,7 +41,7 @@ sudo apt-get update && sudo apt-get install -y \
ocl-icd-opencl-dev \
opencl-headers \
python-dev \
python-pip \
python3-pip \
qt5-default \
qtmultimedia5-dev \
screen \
+2 -2
View File
@@ -1,8 +1,8 @@
Run openpilot with webcam on PC/laptop
=====================
What's needed:
- Ubuntu 16.04
- Python 3.7.3
- Ubuntu 20.04
- Python 3.8.2
- GPU (recommended)
- Two USB webcams, at least 720p and 78 degrees FOV (e.g. Logitech C920/C615)
- [Car harness](https://comma.ai/shop/products/comma-car-harness) with black panda (or the outdated grey panda/giraffe combo) to connect to your car