Willem Melching
6d6f989b7f
RobustLogReader that can recover corrupted bz2 files ( #22835 )
...
* LogReader with bzip2 recovery
* only rlogs
* add comment
* plotjuggler should also use robust logreader
4 years ago
Adeeb Shihadeh
ee33f8a8cd
tools/lib/route: expose raw file paths
4 years ago
Willem Melching
252f3c1c87
tools/lib/auth.py: support github/apple login ( #22766 )
...
* tools/lib/auth.py: support github/apple login
* print some info about logged in user
* add docstring
4 years ago
Dean Lee
41e5e76596
replay: fixed the alignment issue when replaying from C3 qcamera ( #22734 )
...
* fix qcamera replay
* fix alignment in replay
* upscale yuv if needed
* remove space
4 years ago
lipniak
1d55f2f23e
tools/setup: do not change global state ( #22735 )
...
* tools/setup: do not change global state
1. download packages in the venv
2. never change global python version
* update_requirements.sh: install to system if used by comma employees
* bump pip & pipenv versions
* no --upgrade
* run pre-commmit install in venv
* for consistency
Co-authored-by: predicate@bonzo <noreply@example.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
lipniak
e68849cfc8
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
4 years ago
Willem Melching
b816b5b644
Sphinx docs generation ( #22697 )
...
* add sphinx
* switch theme
* Experiment: sphinx docs generation updated (#22708 )
* moved build to root gitignore, added .gitkeep
* Improved makefile doc build process
- Removed auto-generated docs from source control
- Moved apidoc.sh into Makefile
- Removed make.bat (can add back if Windows support desired)
- Added sphinx viewcode and markdown extensions
- Added feature to source /docs in build, so any .rst file in /docs will
override the respective file during the build process
- Added feature to copy all markdown/rst files from source into /build/
during build process so they can be easily referenced while writing
docs (see examples in index.md)
- Wrote basic starter index.md file
TODO: Add new dependencies to Pipfile [dev-packages]
* Revert accidental modification to Pipfile
* fix command substitution
* exclude xx
* improve docs
* dont include all docs in release build
* Add dockerfile
* update title
* include normal readme
* build container in CI
* use buildkit
* add login
Co-authored-by: Chad Bailey <chadbailey904@gmail.com>
4 years ago
Andrew
999b2ee5cc
tools/setup: add missing package for plotjuggler ( #22713 )
4 years ago
Willem Melching
59accdd814
do not run on import
4 years ago
Adeeb Shihadeh
e556d3d3d3
sim: set fingerprint with environment variable ( #22679 )
4 years ago
lipniak
38420a1bef
ubuntu_setup.sh: add 21.10 support and change packages ( #22628 )
4 years ago
Adeeb Shihadeh
76a8751497
tools/setup: install git-lfs from standard apt source
4 years ago
Minjie Xu
a9672eabf4
tools/setup: use OP_ROOT in cd ( #22600 )
4 years ago
FM
f6dd5dde5c
Update README.md ( #22586 )
4 years ago
Adeeb Shihadeh
7b5d915a68
can_replay: use segments without an FCW
4 years ago
Dean Lee
f564eca51d
tools/ui.py: support playing qcamera ( #22571 )
4 years ago
Adeeb Shihadeh
a6f44092ce
add note about WSL2
4 years ago
Adeeb Shihadeh
7386d4f6c3
update to python 3.8.10 ( #22551 )
...
* update to python 3.8.10
* update CI
* add note about update_requirements.py
4 years ago
jimw
26c5e7b826
sim: send peripheralState message ( #22541 )
...
* controlsd: ignore peripheralState for Simulation
* controlsd: use fake peripheralState for Simulation
* controlsd: use fake peripheralState for Simulation
* controlsd: use fake peripheralState for Simulation
* Apply suggestions from code review
* sim: send peripheralState message
* sim: send peripheralState message
* sim: send peripheralState message
* sim: send peripheralState message
Co-authored-by: wolffja <wolffja@ubuntu20.04LTS>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
37937a4aa6
fix sub bullets
4 years ago
Adeeb Shihadeh
78a72cbe2f
CTF is live
4 years ago
Adeeb Shihadeh
cbac96f50c
update replay readme
4 years ago
Adeeb Shihadeh
431f6eac95
docs for tools/lib
4 years ago
Adeeb Shihadeh
b6514a5cb3
lib/route: support for e/d cams ( #22529 )
...
* lib/route: support for e/d cams
* comment
4 years ago
Adeeb Shihadeh
0d10c00026
remove old tools camera script
4 years ago
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>
4 years ago
xia0long
a3c26a912a
sim: update CARLA to 0.9.12 ( #22497 )
...
* bump carla
* update dockerfile
* no need
* specify version
* some fixups
* fix start_carla
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
04271fef55
improve sim readme
4 years ago
Robbe Derks
91987f38d4
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
4 years ago
Dean Lee
c43d35a04d
remove tools/lib/route_framereader.py ( #22486 )
4 years ago
Adeeb Shihadeh
5b641379ae
phonelibs -> third_party ( #22477 )
...
* git mv to third_party
* find and replace
* fix release tests
* update pre-commit
* update tici bins
* update eon bins
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
59c47f0334
sim: build openpilot with frame stream camera
4 years ago
Greg Hogan
720e82eeef
replay: do not clear ui image when paused ( #22467 )
...
* replay: do not clear ui image when paused
* also stop plots
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Willem Melching
1cfabc3388
ui.py: small plotting cleanup ( #22441 )
4 years ago
Dean Lee
2a8feb9eb9
replay/ui.py: get image from vipc ( #22433 )
...
* get image from vipc
* cleanup import
* if not None
* lgtm
* bump cereal&do reconnect
* bump cereal
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Willem Melching
e233d59e03
replace unlogger.py with c++ replay ( #22430 )
4 years ago
Willem Melching
a31c6ce3f9
tools: make auth optional for public routes ( #22386 )
...
* tools: make auth optional for public routes
* handle 403
* show warning from c++ replay
4 years ago
Adeeb Shihadeh
dd67dc6b34
update demo route ( #22381 )
4 years ago
Adeeb Shihadeh
22cb4546d4
windows setup instructions ( #22374 )
...
* windows setup instructions
* sub heading
* finish that sentence
4 years ago
Piotrek Rybiec
8412f607b7
sim: fix race condition in tmux script ( #22365 )
...
* carla simulator tmux script enhancement
* real name
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
a20ebd16a2
faster connect
4 years ago
Alfonso Hernandez
703d0cb832
Fix throttle scaling in simulator to match gas 1.0 to NIDEC_ACCEL_MAX in Honda CarControllerParams ( #22310 )
4 years ago
Willem Melching
1e494a5224
unlogger.py: fix YUV replay ( #22299 )
4 years ago
sshane
535af87650
fix small typo in replay docs ( #22305 )
4 years ago
Adeeb Shihadeh
07d23a1db9
fix up replay docs
4 years ago
Willem Melching
6fd980c63e
Hyundai radar parser ( #22241 )
...
* add radar parser for 0x5XX range
* fix speed
* enable based of fingerprint
* fix speed scale
* use proper signal names
* add to release files
* hyundai: script to enable radar points
* typo
* add comment
* fix tests
* cleanup
* add note about persistent
* Update selfdrive/car/hyundai/radar_interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* fix bugs in hyundai enable radar points script
* accidentally removed comment
* add some other cars
* add cosine to dRel
* fw versions do not match openpilot
* bump opendbc
* include state 4
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
George Hotz
3a6c8d4678
Fix test relying on SAFETY.md being in the root
4 years ago
HaraldSchafer
7081ab4fb7
Port lateral planning to ACADOS ( #22080 )
...
* lateral acados
* looks good!
* add another solve, needed for init somehow
* use copy
* init correctly
* cleanup sconstruct
* Update files_common
* update cpu usage
* reset when invalid
* fix cpu usage
* cost_set doesnt leak
* new ref
* non leaky reset
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
HaraldSchafer
74b6c87254
cleanup old nidec accel override logic ( #22181 )
...
* cleanup old nidec accel override logic
* add ref without deprecated fields
* no more override
4 years ago
HaraldSchafer
1ac89f14aa
Change car controller interface from gas/brake to acceleration ( #21911 )
...
* retune civic
* seems smooth
* back to normal
* new ref
* fix conflict
* runs
* rm
* accel scale is 4
* toyota should be good
* more cleanup
* fixup
* better naming
* update ref
* deprecated
* sending brake when not enable causes a fault
* rm gas and brake
* unused
* update ref
* acura logic is no more
* wrong before
* revert tuning cleanup
* adress comments
* update ref
* already on master
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago