Commit Graph

1726 Commits

Author SHA1 Message Date
garrettpall
7ebd7b8b4d maneuversd: Add note about cars requiring resume button press to exit standstill (#33665)
* maneuversd: Set active true when resume pressed

* Revert "maneuversd: Set active true when resume pressed"

This reverts commit 1165270c47c6a3fe4af5752f7779c36bd5e840c9.

* Add note

* Update README.md

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-30 14:39:23 -07:00
Shane Smiskol
f7b800673b smaller legend in the report 2024-09-27 17:49:09 -07:00
Shane Smiskol
6b232cf91f maneuversd: run creep test for slightly longer 2024-09-27 17:48:34 -07:00
Shane Smiskol
b9f9854743 maneuversd: run start from stop maneuver for longer 2024-09-27 14:49:13 -07:00
Shane Smiskol
0ee8bb8f8e add come to stop maneuver 2024-09-26 19:48:53 -07:00
Jason Young
17b29f42af tools: notebook for HKG alt message validation (#33647) 2024-09-24 20:44:49 -04:00
Dean Lee
811bf06f8c replay: improve README with clearer instructions and example (#33560)
improve README with clearer instructions and example
2024-09-24 12:03:08 -07:00
Jason Young
3b7a60499e tools: fix car porting notebooks (#33641)
* ford_vin_fingerprint fixes and updates

* subaru_fuzzy_fingerprint partial fixes

* subaru_long_accel: fixes

* subaru_steer_temp_fault fixes

* subaru_fuzzy_fingerprint more fixes
2024-09-24 15:02:43 -04:00
Kacper Rączy
d82c4509ea joystickd: split into joystickd and joystick_control (#33632)
* Split joystickd into joystickd and joystick_control

* Update process config

* Undeprecate testJoystick

* Static analysis fixes

* Mark as +x

* Update README

* Add testJoystick back to services

* reset if testJoystick not received

* Fix quotes

* Remove self

* Add a send thread instead

* Add joystick_control into process config

* Add main

* Add additional condition

* Fix imports
2024-09-23 20:47:28 -07:00
Kacper Rączy
580388e209 Deprecate ModelDataV2.gpuExecutionTime (#33607)
Deprecate gpuExecutionTime
2024-09-19 22:10:07 -07:00
Shane Smiskol
fe61b436b2 fix import 2024-09-19 21:58:00 -07:00
Shane Smiskol
3c5ed2f716 Longitudinal maneuver report: display pitch (#33610)
* export and fix platforms

* test

* display pitch

* Revert "test"

This reverts commit 80c57fda9afcb6e6cae002f54d8ffbe46c2feb01.

* Revert "export and fix platforms"

This reverts commit 614e62d775799a9af1e76ab9025dc96bbe1b83c6.

* add to top

* Revert "display pitch"

This reverts commit 5bad8c0be71aba914490848473782ed7c4a1ca83.
2024-09-19 21:57:11 -07:00
Shane Smiskol
91e342fc58 longitudinal maneuver report: require two frames above target (#33602)
require two frames
2024-09-19 14:14:22 -07:00
Shane Smiskol
81a0e3716e longitudinal report: description is optional 2024-09-19 13:30:20 -07:00
Adeeb Shihadeh
eea06b4c3e camerad: camera_util is spectra (#33597)
* camerad: camera_util is spectra

* lil more

* mv that

* fix build

* runs on device

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 11:22:46 -07:00
Dean Lee
467bd74944 camerad: remove CameraType enum from camera_common.h (#33588)
remove CameraType from camera_common.h
2024-09-19 10:33:24 -07:00
Shane Smiskol
e018a20bc2 longitudinal maneuver readme: small improvements 2024-09-18 22:47:42 -07:00
Nelson Chen
fe2bd2e0e3 Add clip to longitudinal_maneuvers README (#33574)
Added to step 5, really ties together the images from step 4 and 6.
2024-09-17 16:42:24 -07:00
Nelson Chen
3e0ec64e9a Longitudinal manuever docs (#33561)
* Make output longitudinal maneuvers HTML smaller so users can throw them onto jsfiddle and etc.

* Add an initial meaty readme for longitudinal maneuver tool

Feel free to trim!

* simplify instructions

* revert

revert

* remove broken video, better image

* details

* discord

* final

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-17 13:37:41 -07:00
Shane Smiskol
2371698601 maneuver report: use livePose acceleration and add description 2024-09-16 22:59:37 -07:00
Shane Smiskol
a3d587b93d maneuversd: check for longActive again 2024-09-16 22:27:29 -07:00
Dean Lee
ea532c7a7c cabana: improve isMessageActive (#33563)
improve isMessageActive
2024-09-16 14:05:57 -07:00
Dean Lee
fd893dfcb7 replay: optimize decompressZST with pre-allocated buffer (#33562)
improve decompressZST
2024-09-16 09:45:15 -07:00
Adeeb Shihadeh
6ec603872b long maneuvers: add start from stop (#33556)
* long maneuvers: add start from stop

* fix

* git ignore
2024-09-13 15:58:00 -07:00
Shane Smiskol
3da5ddae71 fix maneuversd.py 2024-09-13 14:47:04 -07:00
Shane Smiskol
fa892a9755 Simple longitudinal maneuver summary (#33553)
* check for overrides as well

* only used twice

* longActive is false for gas pressed

* label cross time

* love pycharm

* quick summary

* add min/max

* show unreached maneuvers
2024-09-12 22:29:00 -07:00
Shane Smiskol
f89b59baa8 Long maneuver report markers (#33552)
* check for overrides as well

* only used twice

* longActive is false for gas pressed

* label cross time

* love pycharm
2024-09-12 21:17:28 -07:00
Shane Smiskol
03ea2b180f longitudinal maneuver report improvements (#33551)
* switch to route name

* add car params and relative time

* separate plots, easier to read
2024-09-12 20:25:22 -07:00
Shane Smiskol
82f8db87f4 add longitudinal maneuvers (#33527)
* add longitudinal profiles

* stash

* unfortunately even longitudinalPlan causes circle

* add to process config

* reach target speed smoothly

* stash

* works

* clean up

* debug alert

* rename

* fix

* better text

* toggle via exp button

* try coming to a stop better, smoother target reaching

* closer to target

* revert controlsd migration

* add description to alert

* generate report from local logs

* hide bad maneuvers

* pdflike

* Revert "pdflike"

This reverts commit 6d4af1bf9be2e9e0798eaecf026a53d860da7613.

* try this

* use alert manager

* fix that check

* wat

* Revert "wat"

This reverts commit 93d0d27ab838d3f580d06ff212f380e0b912d599.

* some clean up

* rm

* cleanup

* move

* fix test

* more fix

* clean up

* fix that
2024-09-12 14:10:18 -07:00
Adeeb Shihadeh
13d947375a plotjuggler: add bin/ to LD_LIBRARY_PATH (#33538) 2024-09-11 14:02:00 -07:00
Dean Lee
47409ab4d4 ui: refactor CameraView to serve as a generic vision stream display class (#33457)
refactor transform
2024-09-10 11:53:10 -07:00
Shane Smiskol
606943010e Reapply "joystickd is a real process (#33490)" (#33514)
* Reapply "joystickd is a real process (#33490)"

This reverts commit c8465e3a21.

* catch this

* reset to 0 when unplugged

* catch this too

* pytest capturing breaks stdin (pytest -s) fixes
2024-09-07 17:03:22 -07:00
Adeeb Shihadeh
c8465e3a21 Revert "joystickd is a real process (#33490)"
This reverts commit 374246845c.
2024-09-07 09:28:16 -07:00
Shane Smiskol
374246845c joystickd is a real process (#33490)
* true joystickd

* temp params hack, manager clears all on start

* implement main, assume js

* works

* fix enable

* clean up

* like a real controlsd

* clean up

* fix mypy

* clean up

* update refs

* clean up
2024-09-06 21:58:45 -07:00
Shane Smiskol
eecac1069e joystickd: mapping for PC (#33500)
work on PC
2024-09-06 21:06:34 -07:00
Shane Smiskol
5521ab6d53 Joystick: utilize left/right trigger for gas/brakes (#33474)
* try

* clean up

* flip

* Update tools/joystick/joystickd.py
2024-09-04 14:29:52 -07:00
commaci-public
1e92af9b3c [bot] Update Python packages (#33436)
* Update Python packages

* bump

* specify any list of sources

ooh this is pretty nice

* update

* y

* fix

* fix that

* bump

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 239cc69a20b7d3c2f285bd1907cecad9c9604d50
2024-09-03 18:57:28 -07:00
Shane Smiskol
9da055853f LogReader clean ups (#33446)
* buggin me

* no caps

* remove at least one level of indirection

* no recursion, remove a bunch of junk

* default is now allfault ??

* back

* fix tests
old-commit-hash: 5796bf12b6dac4f3fc8e55ecd9785c73044d8a08
2024-09-03 18:34:18 -07:00
Shane Smiskol
730924e7f2 LogReader: formatting and remove unnecessary type alias
old-commit-hash: 34305bec091c1088249fe6fe8df8de64a7ce1f86
2024-09-03 17:58:50 -07:00
Adeeb Shihadeh
bd2b09c7b6 Deprecate controlsState state fields (#33437)
* Deprecate controlsState state fields

* sim works

* update refs

* one more

* these too

* update sim
old-commit-hash: 3924ac587b735d1e735af4cb77faf6ccf053f656
2024-09-03 14:40:23 -07:00
Dean Lee
c8048d85e9 cabana: update event Handling from CONTROLS_STATE to SELFDRIVE_STATE (#33426)
check selfdrive_state
old-commit-hash: fdf6c9009cdc70bb1ce36fba461509a59e1be68b
2024-09-01 09:50:42 -07:00
Dean Lee
9fb50bd1c6 replay: migrate old ControlState event to new format during log file parsing (#33425)
Migrate Old ControlState Event to New Format During Log File Parsing
old-commit-hash: 6741877fbd
2024-09-01 00:37:40 -07:00
Adeeb Shihadeh
1b2bc44227 controlsd: split out state/alerts into selfdriveState (#33421)
* setup selfdriveState

* little more

* update refs

* migration

* all too slow
old-commit-hash: 87051803ab
2024-08-31 18:48:17 -07:00
Shane Smiskol
aec6547cf1 joystickd: works with game controller on device (#33414)
* state what we support

* more

* wording
old-commit-hash: dae88e1ffb
2024-08-30 22:54:42 -07:00
Shane Smiskol
ae96713070 joystick: perform deadzone first
old-commit-hash: fc425042ab
2024-08-30 22:30:49 -07:00
Maxime Desroches
6a36e1d05f reduce metadrive size (#33391)
* minimal

* uv.lock

* remove anisotropic filtering

* new wheel
old-commit-hash: 629dcdcfca
2024-08-30 20:08:03 -07:00
Shane Smiskol
b96b60fa6c joystickd: lower deadzone
old-commit-hash: 0a737d9a2e
2024-08-30 18:42:28 -07:00
Shane Smiskol
13acd5c84f joystickd: non-linear response function
old-commit-hash: f037d2216a
2024-08-30 18:40:32 -07:00
Kacper Rączy
786aff27da azure_container: pass the filename explicitely when using get_url (#33407)
* Pass filename explicitely when using azure container

* Do not update segments in test_processes

* openpilotci_source_zst

* Fix static analysisc
old-commit-hash: b5958ebb60
2024-08-29 21:51:55 -07:00
Adeeb Shihadeh
4c8547cfe4 cleanup duplicate serial docs
old-commit-hash: d7f4fbc1c2
2024-08-28 11:53:59 -07:00