Commit Graph

47 Commits

Author SHA1 Message Date
Sameh Mohamed 725a6fa998 Cleaning up README for tools directory (#33322)
cleaning up readme

Co-authored-by: Sameh <Sameh Mohamed>
old-commit-hash: 542f3d1b44
2024-08-17 15:37:06 -07:00
Maxime Desroches a1a0e9e8a0 switch to uv (#32853)
* switch to uv

* pin back numpy

* remove lock

* try without cache

* test with no cache

* no cache for all

* debug

* remove debug

* remove pygame dep

* Update README.md

* remove lower bound

* update repo maintenance job

* upgradable

* repo maintenance

* copy poetry api

* build system

* unpin pygame

* readd cache

* readd cache

* basic command

* lower delay

* macos

* fix authors

* macos fix

* use uv

* preview

* other way

* new metadrive

* uv sync

* cp lock in docker

* fix docker

* use hatchling

* fix devcontainer

* fix container

* path

* uv run

* cleanup

* pre-commit

* format

* release_file
old-commit-hash: 12d5afba73
2024-06-28 00:04:05 +00:00
Maxime Desroches 1b836bdb86 Ubuntu 24.04 (#32624)
* noble build

* workflow

* symlink

* map only for noble

* sym

* add qt to cppcheck

* cppcheck noreturn in non void funct

* get kaitai header

* kaitai header

* syntax

* try new pyopencl

* try this version

* install lsb-core manually

* support old 20.04 lsb-core

* try arm

* try latest pyopencl

* revert

* use pocl icd

* no lock

* no arm pyopencl

* new intel opencl runtime

* pin filelock

* undo

* glsl version

* new version

* build test

* remove test

* new metadrive

* remove glsl restrictions

* <optional>

* Update .github/workflows/tools_tests.yaml

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

* cache

* new cache

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 5c4ea14a3c
2024-06-18 03:30:32 +00:00
dzid26 05cfa6de9d camerastream instructions (#31326)
* camerastream instructions

* Update README.md

* Update tools/README.md

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0af62eb3b0
2024-02-06 13:19:01 -08:00
Adeeb Shihadeh a4f0826df4 add lfs pull to setup instructions
old-commit-hash: 0788573a73
2023-11-02 22:36:53 -07:00
Kacper Rączy 7b6586228d README: mention git-lfs requirement (#30092)
Mention lfs in setup instructions
old-commit-hash: 32ac71af37
2023-09-28 17:45:01 -07:00
Harald Schäfer e632d68888 setup README: Native on 20.04, WSL on windows, otherwise devcontainer (#29928)
* Main README: Webcam needs work, don't mention

* Update README.md

* Link to VSCode guide

* Update README.md

* Fix formatting

* Update README.md

* little more

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4b55d90af9
2023-09-18 19:01:32 -07:00
Robbe Derks a04cbced36 Devcontainer (#29259)
* mvp devcontainer. builds, runs and UI works

* fix indentation

* enable color and fix openpilot_env path

* separate dockerfile for devcontainer

* use prebuilt image

* Fix openpilot_env setup

* Add dev container section in readme

* Fix typo

* Fix typo again

* Move dev dockerfile to .devcontainer dir

* Update README

* Add note about x11 forwarding on macos

* Update dev container json

* Fix typo

* Override DISPLAY on macOS

* Mention XAUTHORITY for macOS setup in README

* fix typo

* Add devcontainer CI test

* Rename to devcontainer

* Fix git issues

* ripgrep

* Link instead of vscode manual

* Replace raw path with containerWorkspaceFolder

* Fix typo

* Remove dev tools workflow

* Link away X11 forwarding setup isntructions for mac

* Remove fork consrtaint, add test run of scons

* Add submodules as safe.directories in postStartCommand

* Remove openpilot_env references

* Add scons cache volume

---------

Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: d71a7190f1
2023-08-22 11:47:09 -07:00
Adeeb Shihadeh 1c3ca3e810 update clone instructions (#29490)
* both

* Update README.md

* Update README.md
old-commit-hash: 5690386d8d
2023-08-20 15:13:24 -07:00
Greg Hogan f136a35ce1 fast clone instructions (#29455)
* fast clone instructions

* Support default ubuntu 20.04 git

---------

Co-authored-by: Harald Schäfer <harald.the.engineer@gmail.com>
old-commit-hash: 012060ba32
2023-08-19 01:49:16 -07:00
Lucas Keller 80127d0683 Document WSL bug workaround (#28696)
* Document WSL bug workaround

WSL developers may run into an issue while running GUIs, where GUIs will segfault or crash due to hardware rendering issues.

Use LIBGL_ALWAYS_SOFTWARE=1 if you see segfaults or other strange GUI failures even after setting up a fresh WSL.

History: https://github.com/commaai/openpilot/discussions/26091#discussioncomment-4258846 .

* make smaller

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0e34b87744
2023-06-25 15:38:53 -07:00
Adeeb Shihadeh 4894158e7b tools: update windows instructions
old-commit-hash: d0369521ba
2023-06-16 11:06:33 -07:00
Cameron Clough 25ce3cfd1e tools: add cabana to README
old-commit-hash: 3cd00a9b6c
2023-04-17 17:39:03 -07:00
HaraldSchafer 3ca9b7f02e Pipenv -> poetry (#24858)
* Try poetry

* Remove casadi for now

* Update docker

* Copy pipfiles

* add casadi back

* Too many slashes

* New poetry api

* Install system

* Try again

* No more pipenv

* new dependencies

* updates

* poetry 1.2.1, install dev dependencies

* keep install pipenv for xx for now?

* add pre-commit checks for poetry

* poetry lock is too slow

* update pip

* migrate to poetry groups

* update lockfile

* don't need to specify dev group unless it is made optional

* always install poetry

* set POETRY_VIRTUALENVS_CREATE instead, and use pipenv for xx

* use env for docs docker image

* alphabetical

* poetry 1.2.2

* add dev dependencies for typing

added in aacf6ae3

* remove constraint

* fix PIPENV_SYSTEM

* remove constraint

* don't need this here

* bump

* bump pipenv

adds support for installing local pyprojects (can add openpilot as dependency of xx)

* README improvements

* probably not necessary

* bump pip

* maybe not necessary?

* revert

* don't install openpilot itself into the virtual env

* remove PySide2 and shiboken2

reverts 3e41c775cbf670740ac648a8614d2d6b433312fe

* remove Pipenv, add xx dependencies, sync system python

* add pipenv as xx dep

* semver package constraints, use old lockfile versions

* fix casadi

* remove whitespace

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

* disable poetry cache

* cleanup

* prefer config file

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a98d105cb9
2022-10-21 16:23:56 -07:00
Adeeb Shihadeh 35ff65121e pre-commit: add codespell (#25571)
old-commit-hash: 6590fb2b93
2022-08-30 11:20:55 -07:00
rzeydelis 3c7e41d900 tools: update README.md (#23447)
old-commit-hash: 207ce410b4
2022-01-07 14:03:27 -08:00
Adeeb Shihadeh 24314bdc3f fix up tools readme
old-commit-hash: f30a702414
2022-01-04 19:59:49 -08:00
Adeeb Shihadeh 4ffc570eb8 link to ctf in tools readme
old-commit-hash: a64169af26
2021-11-19 21:16:49 -08:00
lipniak dc816fc35c tools: add info on common issues (#22709)
* tools/README.md: add more information

1. Add info about OpenCL drivers
2. Add info about pipenv environment

* ubuntu_setup.sh: add clinfo

Adds the clinfo command so you can verify your OpenCL installation.

* tools/README.md: add info on GUI WSL
old-commit-hash: e68849cfc8
2021-10-29 11:19:43 +02:00
lipniak d2d94f2fd4 ubuntu_setup.sh: add 21.10 support and change packages (#22628)
old-commit-hash: 38420a1bef
2021-10-22 15:45:20 -07:00
FM 8eb8313509 Update README.md (#22586)
old-commit-hash: f6dd5dde5c
2021-10-17 14:57:58 +02:00
Adeeb Shihadeh 7011ab48af add note about WSL2
old-commit-hash: a6f44092ce
2021-10-14 15:02:36 -07:00
Adeeb Shihadeh b8215f213c update to python 3.8.10 (#22551)
* update to python 3.8.10

* update CI

* add note about update_requirements.py
old-commit-hash: 7386d4f6c3
2021-10-13 21:36:10 -07:00
Adeeb Shihadeh 4d2c20da14 windows setup instructions (#22374)
* windows setup instructions

* sub heading

* finish that sentence
old-commit-hash: 22cb4546d4
2021-09-28 22:26:58 -07:00
Adeeb Shihadeh 11ca4168a9 fix typo
old-commit-hash: 8ed08af48d
2021-06-16 23:56:35 -07:00
Adeeb Shihadeh 0c79439980 tools readme improvements
old-commit-hash: 527115670f
2021-06-16 22:23:12 -07:00
ShaneSmiskol 23ea456f4f Fixup joystick (#21129)
* some common changes

* rename to joystick

* add alert and update controlsd to work with joystick

* update joystickd

* Update Joystick readme

* assume we have inputs

* only send gb or steer when engaged_toggle is true

* Update instructions

* fix --ip

* Easier to understand at a glance

* much better

* -a

* receive events and send msg in same loop

* always import

* Update selfdrive/controls/lib/events.py

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

* Update selfdrive/controls/lib/events.py

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

* combine logic and clean up

* use argparse

* outdated, and use normal class

* rm

* bit of a refactor

* refactor part 2 / 3

* much better (3 / 3)

* Simplify

* bump cereal and update readme

* capitalize

* Update tools/joystick/joystickd.py

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

* Update tools/joystick/joystickd.py

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

* make joystick abstraction class clearer

* use interp, clearer without comments

* no need to use apply_deadzone

* more explicit

* define btns and axes once

* split function by use_keyboard again, but simpler

* we can use handle_button as a reset function

* need to flip sign

* remove

* invert axes map for kb, easier to read the button mapping

* apply changes from review

* new lateral log for debug mode

* bump

* add saturated

* static alert

* joystick_mode

* conditionally subscribe

* Update selfdrive/controls/controlsd.py

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

* move params instantiation

* Spoof active and enabled

* Only allow car to engage

* no startup alert if joystick

* Update controlsd.py

* Should be orange not enabled, green enabled

* no more button states

* should work

* blue

* submaster conflates, so only send when we have an update

* final change

* remove msg

* clean up a bit

sort of clean up

clean up a bit

remove msg

* this was right

* Apply suggestions from code review

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

* lowercase

* suggestions from code review

* forgot laptop

* bump to latest

* fixes

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: vanillagorillaa <31773928+vanillagorillaa@users.noreply.github.com>
old-commit-hash: ae77f693a2
2021-06-11 14:33:17 -07:00
cydia2020 2efc95b0a7 README.md for SSH (#20365)
* SSH README

* table of contents fix

* fix ambiguity

* removed some useless sections

* Update README.md

* fix line

* cleanup

* add link

* this is correct

* Add notice that key is only fetched once

* Update README.md

* end of sentence

* Even more

* Update tools/ssh/README.md

* move ssh above tools

* remove useless sections

* succint

* note

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e87d88490b
2021-03-21 18:58:58 -07:00
iejMac 7780426434 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>
old-commit-hash: c4031750f3
2021-03-11 15:28:37 -08:00
Adeeb Shihadeh 0823abceff tools: cleanup + setup CI (#20104)
* cleanup tools

* setup tools CI

* loggerd doesn't support this anymore

* cleanup

* builds with openpilot now
old-commit-hash: d1b44bbb34
2021-02-17 20:37:01 -08:00
Abdul Adhil PK bc426feb1f Update config.py code (#19609)
* Update config.py

* Update README.md
old-commit-hash: 50d5434a9f
2020-12-28 15:36:23 -08:00
Adeeb Shihadeh 2e5247056a ubuntu 16.04 -> 20.04 (#2378)
old-commit-hash: 719c5e3598
2020-10-29 16:51:09 -07:00
Willem Melching 789d5176cb Params path only in one place (#2344)
* fix params paths

* Qcom & qcom2

* This env variable is not used anywhere

* params path in only one place

* fix other PARAMS_PATH references

* absolute path is probably better
old-commit-hash: 3dd9448981
2020-10-15 13:15:22 +02:00
Greg Hogan ece081d471 build script that uses docker container (#1944)
old-commit-hash: e4720eb798
2020-08-30 17:02:36 -07:00
Adeeb Shihadeh 355e4a40a6 Build openpilot on mac in CI (#1792)
* build on mac in CI

* coreutils

* python stuff

* pipenv

* newer clang

* init pyenv

* verbose

* init pyenv

* install eigen

* ffmpeg

* sdl

* libav

* libtool

* glfw

* add pipfile as cache key

* test cache

* fix cache path

* brew link

* update tools readme

* don't cache on pipfile

* skip python install if installed

* unlink

* simpler cachingm

* here's your key

* cache pip too

* cache pyenv
old-commit-hash: c450110f96
2020-08-10 00:44:24 -07:00
VirtuallyChris ebf0e7d062 Remove chffrplus mention from tools readme
old-commit-hash: de16043331
2020-07-07 13:25:54 -07:00
Willem Melching b831619ec6 use pipenv for dev dependencies
old-commit-hash: 72cc0fc801
2020-06-05 14:03:54 -07:00
Adeeb Shihadeh 45b9284fd0 don't need c capnp any more
old-commit-hash: 27303c2d5d
2020-05-07 21:07:18 -07:00
Willem Melching 1be0d5c72c Update debug carcontrols instructions
old-commit-hash: cf08c833f7
2020-04-27 10:49:40 -07:00
HaraldSchafer 3e790d8133 Update README.md
old-commit-hash: c22f1267cd
2020-04-08 13:28:58 -07:00
Adeeb 1132e6e8d2 tools is no longer a separate repo (#1308)
old-commit-hash: 83d8dd4717
2020-04-01 22:34:41 -07:00
HaraldSchafer abe47454be Update README.md
old-commit-hash: 01e237375d
2020-02-29 00:27:48 -08:00
HaraldSchafer f57bc00a56 Update README.md
old-commit-hash: 713666c0b0
2020-02-29 00:21:39 -08:00
HaraldSchafer be512dd538 Update README.md
old-commit-hash: eb0c5c6c53
2020-02-29 00:20:40 -08:00
andyh2 e7dbaac272 tools: Update replay examples
old-commit-hash: 8c5f843fa3
2020-02-28 23:02:01 -05:00
Andy 738c3cca79 Tools: Storage API (#1161)
* filereader

* support URLs in filereader, logreader

* unused

* use route files api; add auth file

* Implement browser auth

* Update readme, fix up cache paths

* Add tests, clear token on 401

* Factor out URLFile

* space

old-commit-hash: c4af05868b
2020-02-24 21:24:54 -05:00
George Hotz 99c5800ea5 merge in tools
old-commit-hash: 29ac3da7b8
2020-01-17 10:07:22 -08:00