Commit Graph

356 Commits

Author SHA1 Message Date
qadmus 2e3bf355a1 plotjuggler: plotjuggler: tuning layout w/ cruise setpoint, use carControl.enable not carControl.active (#22908)
old-commit-hash: 5f2c7ad69f68857c0a160032fc4308927e38302e
2021-11-15 13:20:53 -08:00
qadmus 229d987f10 PlotJuggler: Tuning layout (#22902)
* PlotJuggler layout for lateral and longitudinal tuning

* update README and tuning PR template
old-commit-hash: 65d1b5147694934385ec2943c0b67cf0f971c597
2021-11-13 23:16:42 -08:00
Adeeb Shihadeh 17b51d3fd8 sim: fix CAN error and block loggerd
old-commit-hash: 45ced84acf9d0c8fcb5d37a9be82f81b5ff59479
2021-11-13 12:21:24 -08:00
Willem Melching c11eeb6c80 RobustLogReader that can recover corrupted bz2 files (#22835)
* LogReader with bzip2 recovery

* only rlogs

* add comment

* plotjuggler should also use robust logreader
old-commit-hash: 6d6f989b7f4f084ff2a1124aa4de05b90d7fc534
2021-11-10 16:41:00 +01:00
Adeeb Shihadeh 605c84634a tools/lib/route: expose raw file paths
old-commit-hash: ee33f8a8cd31dce6b6cfcab0dcd0c3c2d9f01595
2021-11-04 20:32:02 -07:00
Willem Melching 2dbecc8a15 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
old-commit-hash: 252f3c1c871909611d162596e163fd7e6b8541bb
2021-11-01 15:00:00 +01:00
Dean Lee 15ed1a50a3 replay: fixed the alignment issue when replaying from C3 qcamera (#22734)
* fix qcamera replay

* fix alignment in replay

* upscale yuv if needed

* remove space
old-commit-hash: 41e5e76596eed1b6391cb5770df2c628c3125023
2021-11-01 11:06:00 +01:00
lipniak 9fcb713e9c 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>
old-commit-hash: 1d55f2f23e31dd64568d729ef33325cf229fdf51
2021-10-31 16:37:07 +01: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: e68849cfc8e612eeadca316070e5f49464b98831
2021-10-29 11:19:43 +02:00
Willem Melching 67f41f32f1 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>
old-commit-hash: b816b5b6442c21e63a09108c70986eeedb0372b2
2021-10-28 15:14:37 +02:00
Andrew 1e04063b9b tools/setup: add missing package for plotjuggler (#22713)
old-commit-hash: 999b2ee5cc5af8f356a76b0cb240a3bfffa7b30c
2021-10-27 10:56:41 -07:00
Willem Melching 116ae68bdb do not run on import
old-commit-hash: 59accdd814398b884167c0f41dbf46dcccf0c29c
2021-10-26 14:49:51 +02:00
Adeeb Shihadeh fc4b12c05c sim: set fingerprint with environment variable (#22679)
old-commit-hash: e556d3d3d3bf6a0cdc588abbae57b256aace0351
2021-10-24 21:59:50 -07:00
lipniak d2d94f2fd4 ubuntu_setup.sh: add 21.10 support and change packages (#22628)
old-commit-hash: 38420a1bef9419fffe778ab737d69eb143337762
2021-10-22 15:45:20 -07:00
Adeeb Shihadeh 6b8ea0b86a tools/setup: install git-lfs from standard apt source
old-commit-hash: 76a87514975283722172c30d53e581c2f6815026
2021-10-19 22:37:08 -07:00
Minjie Xu 8120ce0a98 tools/setup: use OP_ROOT in cd (#22600)
old-commit-hash: a9672eabf490b2088fe32e2ef8e09e18ff41e1b1
2021-10-18 10:51:20 -07:00
FM 8eb8313509 Update README.md (#22586)
old-commit-hash: f6dd5dde5c299b495851dfef78cfbed925d62626
2021-10-17 14:57:58 +02:00
Adeeb Shihadeh 39099120a5 can_replay: use segments without an FCW
old-commit-hash: 7b5d915a6827be907c4abfc40afe5c287201674e
2021-10-16 15:00:07 -07:00
Dean Lee 09a378d1eb tools/ui.py: support playing qcamera (#22571)
old-commit-hash: f564eca51d72c00ba379fc7d891982bef4c92791
2021-10-16 11:32:24 -07:00
Adeeb Shihadeh 7011ab48af add note about WSL2
old-commit-hash: a6f44092cea23ccf350ef8e05389f0228ac3c05d
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: 7386d4f6c3a434670a9c7b966dcf867f18fec048
2021-10-13 21:36:10 -07:00
jimw aaae6ac738 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>
old-commit-hash: 26c5e7b826cc04e301e3c8c50884582f05e27ceb
2021-10-13 17:16:56 -07:00
Adeeb Shihadeh da0873ef6a fix sub bullets
old-commit-hash: 37937a4aa69d8f4dc75d1cbfd3f2a6ba7e04f478
2021-10-13 13:31:40 -07:00
Adeeb Shihadeh 9f06d6efd8 CTF is live
old-commit-hash: 78a72cbe2fb1f31fb18a98248dec63d17b99bf88
2021-10-13 13:28:17 -07:00
Adeeb Shihadeh 61e3458852 update replay readme
old-commit-hash: cbac96f50cbd959841e8fb24e33d95bd11a89b91
2021-10-12 21:19:36 -07:00
Adeeb Shihadeh 2fcc8323dc docs for tools/lib
old-commit-hash: 431f6eac9586174960584d5c5cf397b3e9d5734b
2021-10-12 20:58:04 -07:00
Adeeb Shihadeh b5ebe63878 lib/route: support for e/d cams (#22529)
* lib/route: support for e/d cams

* comment
old-commit-hash: b6514a5cb30912ea7e81e34fd82d267fb6596a37
2021-10-12 00:34:53 -07:00
Adeeb Shihadeh 86d84599dd remove old tools camera script
old-commit-hash: 0d10c000260262c11c58452d41be845b96134d40
2021-10-10 16:07:11 -07:00
Lasse Skov aade2e1025 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>
old-commit-hash: 25def3cc34708aa42859bf6362ba35cefafd61d4
2021-10-10 16:03:56 -07:00
xia0long 42b4521f7b 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>
old-commit-hash: a3c26a912a9d26233d040bd71fe5324cd25142fd
2021-10-10 15:54:47 -07:00
Adeeb Shihadeh 3ed45d74dd improve sim readme
old-commit-hash: 04271fef55d1ecf7d4a41c90a6e3331d7c5db294
2021-10-10 15:50:30 -07:00
Robbe Derks 58c99158a1 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
old-commit-hash: 91987f38d425e2a5dc61d09571933cffb9536113
2021-10-08 17:54:34 +02:00
Dean Lee 67677a4539 remove tools/lib/route_framereader.py (#22486)
old-commit-hash: c43d35a04dfeb5f890091ecdfbfe373054e955ae
2021-10-08 11:10:44 +02:00
Adeeb Shihadeh 782d7023d2 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>
old-commit-hash: 5b641379ae04d3408093381629b9d60dee81da27
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh b3fdccfab3 sim: build openpilot with frame stream camera
old-commit-hash: 59c47f0334524fc63b35b1fe067a70d47e1fe3de
2021-10-07 11:31:49 -07:00
Greg Hogan ce1c24a0df 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>
old-commit-hash: 720e82eeef7be15d234ac2ea1fe42e43063ec5f8
2021-10-07 11:18:45 +02:00
Willem Melching af467b7b6d ui.py: small plotting cleanup (#22441)
old-commit-hash: 1cfabc3388443a5480310930e12331d508c92bdd
2021-10-05 16:27:29 +02:00
Dean Lee 1240e4a673 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>
old-commit-hash: 2a8feb9eb91dad1c17d907543a33367aae109093
2021-10-05 15:14:38 +02:00
Willem Melching d0d63b7fb9 replace unlogger.py with c++ replay (#22430)
old-commit-hash: e233d59e03683b829884a0fea8ec119c9c5a8378
2021-10-04 21:07:40 +02:00
Willem Melching f4ac70557b tools: make auth optional for public routes (#22386)
* tools: make auth optional for public routes

* handle 403

* show warning from c++ replay
old-commit-hash: a31c6ce3f9c352dfe683cc7fa26e1cf630e105e1
2021-09-30 20:13:46 +02:00
Adeeb Shihadeh 4852437483 update demo route (#22381)
old-commit-hash: dd67dc6b34e4b70af6f7ef13b2a701aad2512174
2021-09-29 18:51:30 -07:00
Adeeb Shihadeh 4d2c20da14 windows setup instructions (#22374)
* windows setup instructions

* sub heading

* finish that sentence
old-commit-hash: 22cb4546d41c898382241a982b7aab0f1b7a6f48
2021-09-28 22:26:58 -07:00
Piotrek Rybiec 415de2224c sim: fix race condition in tmux script (#22365)
* carla simulator tmux script enhancement

* real name

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8412f607b7145a64a0a78a585f27912557d10ee9
2021-09-28 14:07:41 -07:00
Adeeb Shihadeh 6e163fa568 faster connect
old-commit-hash: a20ebd16a24f5638abc9d7a6fd08acf43f4b814a
2021-09-22 12:31:48 -07:00
Alfonso Hernandez 0f3b5ba1dd Fix throttle scaling in simulator to match gas 1.0 to NIDEC_ACCEL_MAX in Honda CarControllerParams (#22310)
old-commit-hash: 703d0cb832fb04119d88cb796ff6845eae0557d4
2021-09-22 09:38:38 -07:00
Willem Melching c8990cb174 unlogger.py: fix YUV replay (#22299)
old-commit-hash: 1e494a52248daa71c66ed92c59af3b2e822edc4b
2021-09-22 09:31:46 -07:00
sshane 147823fc6b fix small typo in replay docs (#22305)
old-commit-hash: 535af876509441654e6f80688a81073fe3dfcddf
2021-09-21 18:55:46 -07:00
Adeeb Shihadeh 9b50379537 fix up replay docs
old-commit-hash: 07d23a1db949adf41c0fdc5711d7d436f323141a
2021-09-16 17:01:45 -07:00
Willem Melching 4e529f843b 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>
old-commit-hash: 6fd980c63e803b433c25e75e423193cef9287f9c
2021-09-15 15:43:01 -07:00
George Hotz a6c4c2768a Fix test relying on SAFETY.md being in the root
old-commit-hash: 3a6c8d4678ac5e21bc55e7d5f2adb06f4f559dc4
2021-09-14 16:02:36 -07:00