Commit Graph

1717 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
11f2d56f5e ubuntu: remove extra packages
old-commit-hash: 5d3f8bb04b
2024-08-27 19:22:09 -07:00
Adeeb Shihadeh
55bae8feef openpilot isn't required for a car port PR (#33383)
* disable car docs diff

* mv routes.py

* bump opendbc
old-commit-hash: 48bceb2bbf
2024-08-26 17:12:01 -07:00
Hoang Bui
696d4c8450 sim: fix code formatting (#33381)
sim: fix code
old-commit-hash: f37ee559fa
2024-08-26 14:09:40 -07:00
Adeeb Shihadeh
9abd041b53 these have nothing to do with openpilot (#33369)
old-commit-hash: 73d9f6e05e
2024-08-23 21:24:04 -07:00
Maxime Desroches
8ff2785fb9 add back pre-commit hook (#33366)
* add pre-commit

* space

* post

* e
old-commit-hash: b87414c749
2024-08-23 15:19:21 -07:00
Dean Lee
7098ddcd19 ui: remove QtQml and related dependencies (#33357)
* remove QtQml

* remove qtdeclarative5-dev
old-commit-hash: 4d9ee68d16
2024-08-23 10:56:31 -07:00
Dean Lee
d105d8b3fa scons: remove QtMultimedia lib and include path from build configuration (#33358)
remove multimedia
old-commit-hash: 61abc05c8b
2024-08-22 19:44:59 -07:00
Hoang Bui
c2fbe69e9f rerun: adapt to the change in release of 0.18 (#33359)
old-commit-hash: 63992fd164
2024-08-22 14:01:43 -07:00
Sameh Mohamed
725a6fa998 Cleaning up README for tools directory (#33322)
cleaning up readme

Co-authored-by: Sameh <Sameh Mohamed>
old-commit-hash: 542f3d1b44
2024-08-17 15:37:06 -07:00