Adeeb Shihadeh
b6514a5cb3
lib/route: support for e/d cams ( #22529 )
...
* lib/route: support for e/d cams
* comment
2021-10-12 00:34:53 -07:00
Adeeb Shihadeh
0d10c00026
remove old tools camera script
2021-10-10 16:07:11 -07:00
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 >
2021-10-10 16:03:56 -07:00
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 >
2021-10-10 15:54:47 -07:00
Adeeb Shihadeh
04271fef55
improve sim readme
2021-10-10 15:50:30 -07:00
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
2021-10-08 17:54:34 +02:00
Dean Lee
c43d35a04d
remove tools/lib/route_framereader.py ( #22486 )
2021-10-08 11:10:44 +02:00
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 >
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh
59c47f0334
sim: build openpilot with frame stream camera
2021-10-07 11:31:49 -07:00
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 >
2021-10-07 11:18:45 +02:00
Willem Melching
1cfabc3388
ui.py: small plotting cleanup ( #22441 )
2021-10-05 16:27:29 +02:00
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 >
2021-10-05 15:14:38 +02:00
Willem Melching
e233d59e03
replace unlogger.py with c++ replay ( #22430 )
2021-10-04 21:07:40 +02:00
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
2021-09-30 20:13:46 +02:00
Adeeb Shihadeh
dd67dc6b34
update demo route ( #22381 )
2021-09-29 18:51:30 -07:00
Adeeb Shihadeh
22cb4546d4
windows setup instructions ( #22374 )
...
* windows setup instructions
* sub heading
* finish that sentence
2021-09-28 22:26:58 -07:00
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 >
2021-09-28 14:07:41 -07:00
Adeeb Shihadeh
a20ebd16a2
faster connect
2021-09-22 12:31:48 -07:00
Alfonso Hernandez
703d0cb832
Fix throttle scaling in simulator to match gas 1.0 to NIDEC_ACCEL_MAX in Honda CarControllerParams ( #22310 )
2021-09-22 09:38:38 -07:00
Willem Melching
1e494a5224
unlogger.py: fix YUV replay ( #22299 )
2021-09-22 09:31:46 -07:00
sshane
535af87650
fix small typo in replay docs ( #22305 )
2021-09-21 18:55:46 -07:00
Adeeb Shihadeh
07d23a1db9
fix up replay docs
2021-09-16 17:01:45 -07:00
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 >
2021-09-15 15:43:01 -07:00
George Hotz
3a6c8d4678
Fix test relying on SAFETY.md being in the root
2021-09-14 16:02:36 -07:00
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 >
2021-09-13 19:06:54 -07:00
HaraldSchafer
74b6c87254
cleanup old nidec accel override logic ( #22181 )
...
* cleanup old nidec accel override logic
* add ref without deprecated fields
* no more override
2021-09-10 10:34:18 -07:00
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 >
2021-08-30 09:32:52 -07:00
Willem Melching
dddab597bc
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 >
2021-08-28 18:25:05 -07:00
Dean Lee
7da5896af9
add login info to serial readme for c3 ( #22016 )
...
* update comma serial README
* Update README.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-08-23 11:32:43 -07:00
Adeeb Shihadeh
4fd3ca5eac
fix typo
2021-08-18 15:10:12 -07:00
Adeeb Shihadeh
2949946337
add comma serial to tools
2021-08-18 15:00:51 -07:00
Comma Device
6a5940c562
can replay: flashing lock
2021-08-18 14:17:02 -07:00
Adeeb Shihadeh
fd81a5556b
fix up can replay script
2021-08-18 14:06:06 -07:00
qadmus
f52dcd468c
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 >
2021-08-16 22:23:42 -07:00
qadmus
b9601dfe9d
plotjuggler takes cabana shared links ( #21899 )
...
* plotjuggler cabana shared links
* extra newline
2021-08-12 11:00:54 +02:00
speedking456
69da1a6e6e
fix tools readme url typo ( #21913 )
2021-08-11 23:03:00 -07:00
Maxime Desroches
d90188a14e
tools: fix replay/camera.py crash ( #21881 )
...
* check array size before reshape
* revert
* check length directly
2021-08-09 09:43:11 +02:00
Adeeb Shihadeh
1d4b19f739
use same env variable for loggerd, deleter, and uploader
2021-08-07 18:58:11 -07:00
Adeeb Shihadeh
45b5df5b08
update ssh readme for c3
2021-08-07 11:36:34 -07:00
arfy slowy
d74def61f8
fix: spelling typos ( #21861 )
...
* fix: typo spelling grammar
* revert
* Update selfdrive/locationd/calibrationd.py
* more revert
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-08-05 12:05:49 -07:00
grekiki
6048988c13
Tools: Plotjuggler reduce RAM usage ( #21781 )
2021-07-30 09:04:31 +02:00
Adeeb Shihadeh
deb170e0b2
my.comma.ai -> connect.comma.ai ( #21702 )
2021-07-26 13:53:49 -07:00
Greg Hogan
8f1806602c
FrameIterator that uses 1+ GB less RAM ( #21687 )
2021-07-22 12:08:56 -07:00
Willem Melching
a85b5557ed
fix ui.py after longitudinal refactor
2021-07-13 12:01:36 +02:00
grekiki
b3a792305e
plotjuggler: add segment_count arg ( #21474 )
2021-07-06 13:57:03 -07:00
HaraldSchafer
6838e1c82c
Refactor lateral lag compensation ( #21334 )
...
* add T_IDXS
* refactor
* fix test
* unused
* typo
* needs casting
* Update selfdrive/controls/lib/drive_helpers.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* deprecate field
* regen all
* new segs
* add todo
* split back
* clean
* bad names
* do in controls
* add arg
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-06-30 14:19:39 -07:00
orphen
325cabd4da
fix: sim: gracefully shutdown the bridge ( #21413 )
2021-06-29 13:45:34 -07:00
HaraldSchafer
234971203b
Simplify longitudinal tests ( #21337 )
...
* first pass
* passes!
* little more cleanup
* little more
* fix sim
* remove more plot stuff
* fix crash check
* fcw
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-06-24 21:03:18 -07:00
orphen
6d3c587564
Fix path issues in ubuntu_setup.sh and openpilot_env.sh ( #21380 )
...
* fix: fix pathing issues in ubuntu_setup.sh and openpilot_env.sh
Fixes:
- enter git tree before trying git operations in ubuntu_setup.sh
- extend PYTHONPATH instead of overwriting it in openpilot_env.sh
- fix pyenv pathing with workaround in openpilot_env.sh
This also adds a newline before .bashrc extensions to visually separate
the additions from existing content.
* Update tools/ubuntu_setup.sh
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2021-06-23 13:31:28 -07:00
Alfonso Hernandez
22b632f407
Simulator: Complete GPS message from Carala State Values ( #21357 )
2021-06-21 13:52:46 +02:00