Commit Graph

343 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
6b8ea0b86a tools/setup: install git-lfs from standard apt source
old-commit-hash: 76a8751497
2021-10-19 22:37:08 -07:00
Minjie Xu
8120ce0a98 tools/setup: use OP_ROOT in cd (#22600)
old-commit-hash: a9672eabf4
2021-10-18 10:51:20 -07:00
FM
8eb8313509 Update README.md (#22586)
old-commit-hash: f6dd5dde5c
2021-10-17 14:57:58 +02:00
Adeeb Shihadeh
39099120a5 can_replay: use segments without an FCW
old-commit-hash: 7b5d915a68
2021-10-16 15:00:07 -07:00
Dean Lee
09a378d1eb tools/ui.py: support playing qcamera (#22571)
old-commit-hash: f564eca51d
2021-10-16 11:32:24 -07: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
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: 26c5e7b826
2021-10-13 17:16:56 -07:00
Adeeb Shihadeh
da0873ef6a fix sub bullets
old-commit-hash: 37937a4aa6
2021-10-13 13:31:40 -07:00
Adeeb Shihadeh
9f06d6efd8 CTF is live
old-commit-hash: 78a72cbe2f
2021-10-13 13:28:17 -07:00
Adeeb Shihadeh
61e3458852 update replay readme
old-commit-hash: cbac96f50c
2021-10-12 21:19:36 -07:00
Adeeb Shihadeh
2fcc8323dc docs for tools/lib
old-commit-hash: 431f6eac95
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: b6514a5cb3
2021-10-12 00:34:53 -07:00
Adeeb Shihadeh
86d84599dd remove old tools camera script
old-commit-hash: 0d10c00026
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: 25def3cc34
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: a3c26a912a
2021-10-10 15:54:47 -07:00
Adeeb Shihadeh
3ed45d74dd improve sim readme
old-commit-hash: 04271fef55
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: 91987f38d4
2021-10-08 17:54:34 +02:00
Dean Lee
67677a4539 remove tools/lib/route_framereader.py (#22486)
old-commit-hash: c43d35a04d
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: 5b641379ae
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh
b3fdccfab3 sim: build openpilot with frame stream camera
old-commit-hash: 59c47f0334
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: 720e82eeef
2021-10-07 11:18:45 +02:00
Willem Melching
af467b7b6d ui.py: small plotting cleanup (#22441)
old-commit-hash: 1cfabc3388
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: 2a8feb9eb9
2021-10-05 15:14:38 +02:00
Willem Melching
d0d63b7fb9 replace unlogger.py with c++ replay (#22430)
old-commit-hash: e233d59e03
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: a31c6ce3f9
2021-09-30 20:13:46 +02:00
Adeeb Shihadeh
4852437483 update demo route (#22381)
old-commit-hash: dd67dc6b34
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: 22cb4546d4
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: 8412f607b7
2021-09-28 14:07:41 -07:00
Adeeb Shihadeh
6e163fa568 faster connect
old-commit-hash: a20ebd16a2
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: 703d0cb832
2021-09-22 09:38:38 -07:00
Willem Melching
c8990cb174 unlogger.py: fix YUV replay (#22299)
old-commit-hash: 1e494a5224
2021-09-22 09:31:46 -07:00
sshane
147823fc6b fix small typo in replay docs (#22305)
old-commit-hash: 535af87650
2021-09-21 18:55:46 -07:00
Adeeb Shihadeh
9b50379537 fix up replay docs
old-commit-hash: 07d23a1db9
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: 6fd980c63e
2021-09-15 15:43:01 -07:00
George Hotz
a6c4c2768a Fix test relying on SAFETY.md being in the root
old-commit-hash: 3a6c8d4678
2021-09-14 16:02:36 -07:00
HaraldSchafer
c422cce205 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>
old-commit-hash: 7081ab4fb7
2021-09-13 19:06:54 -07:00
HaraldSchafer
cb1cd01bdf cleanup old nidec accel override logic (#22181)
* cleanup old nidec accel override logic

* add ref without deprecated fields

* no more override
old-commit-hash: 74b6c87254
2021-09-10 10:34:18 -07:00
HaraldSchafer
a73a820338 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>
old-commit-hash: 1ac89f14aa
2021-08-30 09:32:52 -07:00
Willem Melching
6f92abc815 Less open file permissions (#21922)
* Less open file permissions

* add test back

* remove params test for permissions

* remove umask

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dddab597bc
2021-08-28 18:25:05 -07:00
Dean Lee
92881d347d add login info to serial readme for c3 (#22016)
* update comma serial README

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7da5896af9
2021-08-23 11:32:43 -07:00
Adeeb Shihadeh
873f25bd1c fix typo
old-commit-hash: 4fd3ca5eac
2021-08-18 15:10:12 -07:00
Adeeb Shihadeh
a59a1fae26 add comma serial to tools
old-commit-hash: 2949946337
2021-08-18 15:00:51 -07:00
Comma Device
b9ffdc8a3d can replay: flashing lock
old-commit-hash: 6a5940c562
2021-08-18 14:17:02 -07:00
Adeeb Shihadeh
f0fcb68bb9 fix up can replay script
old-commit-hash: fd81a5556b
2021-08-18 14:06:06 -07:00
qadmus
8aaf2fb168 Update plotjuggler readme for streaming, and cabana url input (#21938)
* Condense plotjuggler streaming instructions

* add cabana share link to help output

* update juggle.py -h output

* redundant idiom

* Update tools/plotjuggler/juggle.py

* Update tools/plotjuggler/README.md

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f52dcd468c
2021-08-16 22:23:42 -07:00
qadmus
87de705dc0 plotjuggler takes cabana shared links (#21899)
* plotjuggler cabana shared links

* extra newline
old-commit-hash: b9601dfe9d
2021-08-12 11:00:54 +02:00
speedking456
4895422c90 fix tools readme url typo (#21913)
old-commit-hash: 69da1a6e6e
2021-08-11 23:03:00 -07:00
Maxime Desroches
202af3bb4e tools: fix replay/camera.py crash (#21881)
* check array size before reshape

* revert

* check length directly
old-commit-hash: d90188a14e
2021-08-09 09:43:11 +02:00