Commit Graph

13834 Commits

Author SHA1 Message Date
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 9211b701ce carControl API cleanup (#33543)
carControl cleanup
2024-09-11 17:23:53 -07:00
Adeeb Shihadeh 188de7b90e CI: disable devcontainer until it's faster. not worth 5m 2024-09-11 17:23:33 -07:00
Adeeb Shihadeh eae369c7dd carControl cleanup 2024-09-11 16:18:47 -07:00
Adeeb Shihadeh b168c6f9af controlsd is driven by selfdriveState (#33541)
* controlsd is driven by selfdriveState

* update refs
2024-09-11 15:02:38 -07:00
Adeeb Shihadeh 13d947375a plotjuggler: add bin/ to LD_LIBRARY_PATH (#33538) 2024-09-11 14:02:00 -07:00
Shane Smiskol b9dbefc491 Deprecate testJoystick (#33539)
* Deprecate testJoystick

* fix
2024-09-11 13:20:07 -07:00
ZwX1616 e951b7093f point tinygrad_repo to commaai/tinygrad (#33536)
update submodule
2024-09-10 20:52:12 -07:00
Adeeb Shihadeh d02e9393d2 this probably shouldn't go here 2024-09-10 18:58:01 -07:00
Adeeb Shihadeh d018fd56da AEB prep (#33515)
* init aeb

* remove that for now
2024-09-10 15:55:18 -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
Shengming Yuan 650ee44e89 ui: update CHS/CHT translation (#33529) 2024-09-09 21:53:15 -07:00
ugtthis c8eb5916a7 Keyboard UX: Easier to type URLs (#33517)
Easier access to / and -
2024-09-09 20:20:42 -07:00
Maxime Desroches f1331ae9bc ci: make ui preview more deterministic (#33526)
set ping time
2024-09-09 14:35:40 -07:00
Dean Lee 343de54030 ui: consolidate prime state management into PrimeState Class (#33473)
new class PrimeState
2024-09-09 14:34:11 -07:00
Shane Smiskol 592778ab29 inputs is real dependency (#33524)
inputs is real dep
2024-09-09 14:11:07 -07:00
Shane Smiskol d6644c457a test manager again in CI (#33523)
* test manager again

* fix

* whitelist joystickd
2024-09-09 12:04:04 -07:00
Shane Smiskol d73a787e8a release files: add tools/joystick (#33525) 2024-09-09 12:03:34 -07:00
Maxime Desroches 838746c831 ui preview: keyboard (#33520)
keyboard
2024-09-09 10:35:22 -07:00
commaci-public 762492b9be [bot] Update Python packages (#33518)
Update Python packages

Co-authored-by: Vehicle Researcher <user@comma.ai>
2024-09-09 09:58:26 -07:00
Dean Lee b286a2f0e5 transformations: standardize parameter passing by reference (#33469)
pass parameters by reference
2024-09-07 17:06:57 -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
Dean Lee ee6d7aeb53 pandad: add log_once_ to prevent repeated logging (#33505)
add log_once_ flag
2024-09-07 16:38:44 -07:00
Adeeb Shihadeh e3f05db3e0 SubMaster: init services as invalid (#33513)
* SubMaster: init services as invalid

* fix sim

* update refs

* cpp too

* update refs

* model ref
2024-09-07 16:31:49 -07:00
Adeeb Shihadeh 584eb373cd CI: remove 20.04 job 2024-09-07 15:57:30 -07:00
Alexandre Nobuharu Sato b4bcaf6f02 Multilang: update pt-BR translation (#33510)
Update main_pt-BR.ts
2024-09-07 14:26:46 -07:00
Dean Lee 0317f292d0 selfdrived: define and reuse longitudinal personality mapping (#33507)
define and reuse longitudinal personality mapping
2024-09-07 13:57:54 -07:00
ugtthis b720fe1bfe create_badges.py: Changed to higher contrast colors (#33509)
Changed color badge - clearer difference
2024-09-07 13:51:49 -07:00
Adeeb Shihadeh c8465e3a21 Revert "joystickd is a real process (#33490)"
This reverts commit 374246845c.
2024-09-07 09:28:16 -07:00
Dean Lee 870214c909 ci: add a 0.5-second delay before taking screenshots of the onroad widgets (#33504)
Add a 0.5-second delay before taking screenshots of the onroad widgets
2024-09-07 09:27:44 -07:00
Maxime Desroches 1a9504cc73 ci: ui_preview: save master ref (#33503)
ref
2024-09-06 22:32:25 -07:00
Dean Lee 9e09f42ccb ui: fix texture deletion (#33480)
fix texture deletion
2024-09-06 21:59:06 -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
Joshua Mack 415391c3fc Multilang: Spanish translation update (#33502)
Update main_es.ts
2024-09-06 21:28:44 -07:00
Shane Smiskol eecac1069e joystickd: mapping for PC (#33500)
work on PC
2024-09-06 21:06:34 -07:00
Lee Jong Mun 68257da3d5 Multilang: kor translation update (#33499) 2024-09-06 21:02:29 -07:00
Maxime Desroches de0ac29960 ci: ui preview with diff (#33498)
* diff

* not for now
2024-09-06 20:55:43 -07:00
Adeeb Shihadeh 590e217368 selfdrived cleanup (#33497)
* selfdrived cleanup

* lil more

* always alert

* bring this back
2024-09-06 18:21:41 -07:00
Adeeb Shihadeh e04455cbaa selfdrived: controlsd only does controls (#33485)
* selfdrived

* process replay

* lil more

* set the valids

* rename that
2024-09-06 17:16:32 -07:00
Adeeb Shihadeh e459cee1e7 Setup driverAssistance service (#33495)
* Move LDW and FCW to driverAssitance service

* move ldw

* cleanup
2024-09-06 15:30:14 -07:00
Dean Lee 51ebf44f48 card: remove redundant CAN data conversion (#33488)
* remove redundant CAN data conversion

* 1 less %

* rename

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-06 13:51:19 -07:00
Dean Lee c45e2731ae CI: integrate pairing device and prime user widgets into UI report (#33486)
add prime widgets
2024-09-06 13:38:38 -07:00
Shane Smiskol e80c27ffdf liveTracks: don't check carState for valid CAN (#33489)
* no need to check CS.canValid

* update refs
2024-09-06 13:29:20 -07:00
Adeeb Shihadeh f6d5f8fccf ui: controls -> selfdrive (#33487)
* ui: controls -> selfdrive

* lil more
2024-09-06 11:40:06 -07:00
Shane Smiskol 922348f33d card parses radar points (#33443)
* interfaces returns radarinterface

old-commit-hash: 9ad1f096bfca3712320f19b1b49aa9e6ac9b68e4

* bump

old-commit-hash: 20334a8b257c6037e11d02f2ba7b1f02c59f3240

* get RI from opendbc

old-commit-hash: b5f6d0c48c90927926e9dd557130075aeec5edee

* stash so far

old-commit-hash: 5aa2c842eb152316434c17a661df05bb8af61f47

* new liveTracks message (radard expects and needs RadarData)

* this should just work?

* whoops

* fix that

* rm liveTracks from radard pm

* fix proceess replay

* lol fcw diff, something's not right

* actually there's fcw in original route. it's pretty close

* no tracks!

* fix test_leads

* CPU moved across procs

* fix not engageable from onroadEvents

* bump

* fixes

* bump to master

* radard publishes w/ modelV2 now, so it will always be sent. check valid which radard sets using liveTracks avg freq

* fix that (it works!)

* combine

join

* bump

* bump

* deprecate

* why

* fix incorrect args

* remove cumLagMs from process_replay

* update refs
2024-09-05 22:40:17 -07:00
Adeeb Shihadeh aef650013e controlsd: split up publishing and logic (#33483)
* split up the pubs

* move all event adds

* split out alerts

* lil more

* clenaup

* update test

* cleanup
2024-09-05 16:28:57 -07:00
Dean Lee e0be4a1f85 ci: eliminate unnecessary sleep to shorten UI report run time (#33462)
reduce sleep
2024-09-05 16:24:25 -07:00
Shane Smiskol e39466f535 bump opendbc (#33482)
* bump

* update
2024-09-05 13:50:58 -07:00
Adeeb Shihadeh 73d31d50c4 controlsd: pull out LDW (#33479)
* controlsd: pull out LDW

* cleanup

* good ol mypy
2024-09-04 17:45:09 -07:00
Adeeb Shihadeh 77f4f57e73 controlsd: pull out selfdrive state machine (#33477)
* controlsd: pull out selfdrive state machine

* cleanup test

* cleanup
2024-09-04 16:44:28 -07:00