Commit Graph

23 Commits

Author SHA1 Message Date
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