Commit Graph

40 Commits

Author SHA1 Message Date
lipniak
38420a1bef ubuntu_setup.sh: add 21.10 support and change packages (#22628) 2021-10-22 15:45:20 -07:00
Adeeb Shihadeh
76a8751497 tools/setup: install git-lfs from standard apt source 2021-10-19 22:37:08 -07:00
Minjie Xu
a9672eabf4 tools/setup: use OP_ROOT in cd (#22600) 2021-10-18 10:51:20 -07:00
Lasse Skov
25def3cc34 tools: use .python-version in setup scripts (#22511)
* Updated tools installer to us.python-e version file

* Updated tools installer to use .python-version file

* fix path

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-10 16:03:56 -07:00
orphen
6d3c587564 Fix path issues in ubuntu_setup.sh and openpilot_env.sh (#21380)
* fix: fix pathing issues in ubuntu_setup.sh and openpilot_env.sh

Fixes:
- enter git tree before trying git operations in ubuntu_setup.sh
- extend PYTHONPATH instead of overwriting it in openpilot_env.sh
- fix pyenv pathing with workaround in openpilot_env.sh

This also adds a newline before .bashrc extensions to visually separate
the additions from existing content.

* Update tools/ubuntu_setup.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-06-23 13:31:28 -07:00
Willem Melching
86aefbe766 Mapbox widget (#20751)
* squash mapbox stuff

* only hacks for pc

* no hack there

* only update when needed

* get destination from param

* no need for user agent

* add athena method

* change nav path color

* layout cleanups

* margin top

* add build scripts

* rename header file

* set pitch

* fix icon blinking

* keep both options

* draw on top to fix last blinking

* only recomput with gps

* fix include

* put map in onroadwidget

* update mapbox plugin to allow specifying directions url

* cycle through views

* dynamic resize

* only when present

* add map_helpers

* whitespace

* small fixes

* let scons decide

* update setup files

* implicit dependency

* fix alerts

* Update selfdrive/ui/SConscript

* move clearLayout to util.h

* only build when map.cc present

* move maps to own folder

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-17 14:57:07 +02:00
Nicklas Boman
0f43e7e089 Removed libmysqldb-dev. dont need to add scons, some QT -dev added, python3-dev is not neededand readline-dev to apt install. Added path to .pyenv/shims and .pyenv/bin for the setupscript to find where pip and pyenv is installed. Also made the setup end like the mac_setup script (#20860) 2021-05-09 13:34:55 -07:00
Adeeb Shihadeh
6e360c08df update ubuntu setup 2021-04-03 13:42:05 -07:00
Willem Melching
58a17fb3c8 Add qml-module-qtquick2 to package list 2021-03-29 13:57:05 +02:00
iejMac
c4031750f3 improving tools readme (#20305)
* rough draft

* plotjuggler and carla description

* testing someting

* this is cool

* very short replay and debug desc

* small change

* small change 2

* better word

* low quality mode

* better word

* fixes

* changes

* minor fixes

* ubuntu_setup fix + README changes

* Update tools/README.md

* Update README.md

* Update README.md

* Update README.md

* changes

* Update tools/sim/README.md

* final changes

* final change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-03-11 15:28:37 -08:00
Adeeb Shihadeh
2034a04750 update to python 3.8.5 (#20217) 2021-03-09 13:38:22 -08:00
grekiki
4a509982a7 update libs (#20009)
Co-authored-by: Comma Device <device@comma.ai>
2021-02-03 17:09:49 +01:00
grekiki
3a7fcc62fb Fix Wifi UI not working on PC (#2597) 2020-11-22 00:10:00 +01:00
doktorsleepelss
e1bda99acb Upgrade pip in ubuntu setup (#2573) 2020-11-19 14:54:26 -08:00
Adeeb Shihadeh
719c5e3598 ubuntu 16.04 -> 20.04 (#2378) 2020-10-29 16:51:09 -07:00
Adeeb Shihadeh
f571b7c751 get rid of rest of czmq 2020-10-27 19:07:56 -07:00
Greg Hogan
be2b093d6e more pipenv version updates 2020-09-15 18:25:16 -07:00
Vivek Aithal
c5dfbe7a72 dockerize carla + openpilot (#2011)
* dockerize carla + openpilot

* separate dockerfile

* bring back CI dockerfile

* cleanup bridge

* add op docker build and start script

* build container in CI

* fix camerad hack

* remove most magic numbers from bridge.py

* openpilot-sim docker build and run scripts

* fix dmonitoring hacks

* revert controlsd hacks

* clean up build scripts

* singular

* fix path

* fix image name

* modify sim readme

* sim readme and start script changes

* dockerfile with working opengl

* working opengl + passing panda build_st in docker

* fix bug in sim docker file

* bugfix sim docker file

* bugfix all op-sim docker issues

* modify readme + run script

* IT DRIVES

* clean this up

* more cleanup

* cleanup docker stuff

* more cleanup

* start with openpilot-base

* install carla python package

* Script is not in lib

* chmod

* everything should be running in docker now, the code may not be nice though

* works locally...

* rhdChecked is deprecated

* Checkout using git lfs when building sim container

* try to pass the tests

* pull latest docker

* gps should not throw an error on openpilot launch in bridge.py

* fixed a coding style error

* Only start ubloxd in car

* fixed more style problems

* revert typo

* Use enviromental variable to prevent errors in a simulator

* Remove unused import

* Attempt to fix missing enviromental variable

* fix typo

* less work for users, auto tmux engagement

* less work for users, auto tmux engagement

* fix check for nvidia

* clean up nvidia check

* remove typo, shorted dockerfile

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Bruce Wayne <batman@workstation-eu-gregor.eu.local>
Co-authored-by: Gregor Kikelj <gregor1234567890@gmail.com>
2020-09-10 12:14:49 +02:00
Adeeb Shihadeh
acd1bde496 QT UI: sounds (#2078)
* move android into own dir

* fix name

* maybe this works? qt ui doesn't work on mac

* fix that

* pc sound works

* fix pc build

* lowercase

* that needs to be real_arch

* split into classes

* fix typo in lib

* Fix cycle alerts

* Add qt multimedia libs to install scripts

* Add ui/android folder

* Fix android build

* Raise exception if sound init fails

* add missing return

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
2020-09-09 19:04:28 +02:00
Willem Melching
5782efe3ae Systemd logcatd (#2085)
* Systemd logcatd infrastructure

* This should work

* Cleanup

* Split

* More compact and cleanup

* Add to ubuntu setup package list

* Run logcatd on all non pc platforms
2020-08-26 17:09:23 +02:00
Willem Melching
e115c51452 Qt ui for PC (#2023)
* qt ui boilerplate

* this kinda works

* cleanup

* render inside other widget

* cleanup

* more cleanup

* Not needed

* Handle click

* Draw at 20Hz

* create paint.hpp

* move stuff around

* update sidebar

* Draw vision

* this works again

* add clickable settings button

* Only collapse sidebar when started

* always use qt on linux

* fix width

* scrollable area

* talk to NetworkManager

* code to add a connection

* params toggles

* small cleanup

* add qt5 to dockerfile

* Qt on mac

* Add qt to release files

* fix macos build

* nore more ifdefs needed

* add icons

* make a bit nicer

* Hide scrollbar

Co-authored-by: Comma Device <device@comma.ai>
2020-08-20 17:16:44 +02:00
Michael Honan
4a9228fcc7 Setup script improvements to MacOS / Ubuntu (#2012)
* Setup script improvements to MacOS / Ubuntu

scons isn't actually required from brew install

pyenv init on all envs

added installation to .zshrc on macos with better dir logic

Using git to detect project root for ubuntu bashrc install

Check shell and determine correct RC file

Update tools/mac_setup.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Sourcing RC file only if it's found

Removed unnecessary source of rc file

Submodules should never have been bumped...

Output the $RC_FILE when successfully installed

pyenv init every time, and skip RC install on CI

Confused bash conditionals, opposite of what I meant

* Was missing libusb on a fresh MacOS 10.15.6 install

Co-authored-by: Michael Honan <michaelhonan@Michaels-MacBook-Pro.local>
2020-08-14 18:03:55 -07:00
Willem Melching
72cc0fc801 use pipenv for dev dependencies 2020-06-05 14:03:54 -07:00
xx979xx
6596dd62ae add pygmae dependencies (#1573)
https://www.pygame.org/wiki/CompileUbuntu#Python%203.x%20into%20virtual%20environment
2020-05-27 12:24:04 -07:00
Ewout ter Hoeven
3f8afe593f Pip: Move from tensorflow-gpu to tensorflow package (#1530)
* Pip: Move from tensorflow-gpu to tensorflow package

Since tensorflow 2.1 the regular tensorflow package contains GPU support and replaces the tensorflow-gpu package, which will be depreceated at some point.

* Readme: Update Tensorflow version

* Update Pipfile.lock

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-05-20 13:17:54 -07:00
Noel Schenk
ce8b629fb0 tensorflow-gpu==2.1 update (#1525)
not available on current used python version
2020-05-16 21:59:28 -07:00
Willem Melching
72db8d890d Library cleanup (#1491)
* library cleanup

* remove fastcv

* Fix build step

* bump cereal

* bump cereal

* Install capnp

* bump

* no docker cache

* Update installation instructions

* Needs sudo

* Can we sudo?

* Cache was not the problem

* remove static libraries from boardd install script

* Update setup script

* Remove import

* No capnp install in lgtm

* Fix dockerfile
2020-05-12 18:50:07 -07:00
George Hotz
0a6d9a7bbd remove unused overpy, bump ubuntu_setup to 3.8.2 2020-04-28 15:23:39 -07:00
Harald Schafer
24ae93f965 not a good name 2020-04-23 12:29:06 -07:00
Ewout ter Hoeven
d8a414834d Docs/tools: Update Tensorflow to 2.1 in readme and build script (#1286)
Update to Tensorflow 2.1 in a few forgotten places after 027deba:
tools\ubuntu_setup.sh
tools\webcam\README.md
2020-03-28 12:10:43 -07:00
littlemountainman
a32fe80d39 Make Nui tests work. Framereader moved to tools/clib (#1185)
* add more deps

* setup is now working,removing brackets

* Fixing tests in nui

* make it eveno

* readme markdown and town not needed since set via client

* adding explanations for sim in readme

* make it markdown buildable

* revert changes in setup

* work now
2020-03-01 10:50:03 -08:00
George Hotz
3693aa56a7 setup ubuntu improvements 2020-02-29 14:50:51 -08:00
George Hotz
e10f330290 commit external/capnp and don't build it 2020-02-29 14:36:54 -08:00
Comma User
756a6d6ed8 it's a real script now 2020-02-29 01:42:38 -08:00
Comma User
a89a9a8a4a fix for loggerd 2020-02-28 20:22:47 -08:00
Comma User
59b63d1950 ubuntu setup 2020-02-28 20:18:02 -08:00
Comma User
1457001c2d fix sim 2020-02-28 19:58:05 -08:00
Comma User
79a5183496 more ubuntu setup 2020-02-28 19:44:59 -08:00
Comma User
6a0cbf45d4 more ubuntu setup 2020-02-28 19:36:29 -08:00
George Hotz
bb9c90ab03 ubuntu setup 2020-02-28 19:26:15 -08:00