Commit Graph

9550 Commits

Author SHA1 Message Date
Dean Lee 7a11d0180b locationd: improve circular buffer handling with np.roll (#33470)
improve circular buffer handling
2024-09-19 13:09:41 -07:00
Dean Lee fc8762ab51 ci: fix ui report issues (#33585)
* fix ui report issues

* fix indentation

* Update selfdrive/ui/tests/test_ui/run.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-18 22:53:47 -07:00
Adeeb Shihadeh 80013219fe camerad: abstract out ISP handling (#33583)
* spectra and tici

* master

* move the rest

* rm stupid indirection

* start move

* multi cam state is dead

* rest is moved

* lil more

* mv that

* lil more

* fix pc build

* we haven't done rgb for a while

* bring this stuff back

* fix mac?

* no camera in ui!

* i remember why we always cut mac

* fix mac build

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-18 22:24:53 -07:00
Dean Lee aca0ee3eea locationd: replaced the loop and setattr with direct attribute assignment (#33466)
replaced the loop and setattr with direct attribute assignment
2024-09-18 22:19:57 -07:00
Dean Lee 45b887a08e ci: add toggles to ui report (#33577)
add toggles
2024-09-17 21:04:08 -07:00
Jason Wen e549f7af45 tests: fix selfdrive state machine import (#33571)
* selfdrive: Fix state machine test imports

* it's the same file

* Update selfdrive/selfdrived/tests/test_state_machine.py

* Update selfdrive/selfdrived/tests/test_state_machine.py

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-17 16:23:27 -07:00
Adeeb Shihadeh f294162b2c bump up cpu budget 2024-09-16 19:23:04 -07:00
Adeeb Shihadeh 6b7996de91 jenkins fixups for agnos 11 (#33569)
* jenkins fixups for agnos 11

* just do this for now
2024-09-16 18:05:20 -07:00
Adeeb Shihadeh df5b45a285 modeld has gone up a bit 2024-09-16 18:05:07 -07:00
Shane Smiskol 2e6e977c93 Longitudinal planner: wait for valid cruise speed (#33568)
* Revert "only vCruise changes here"

This reverts commit 4f5659b5d53e9bac3357781bce262a29d3b1d14e.

* less nonsense
2024-09-16 16:06:02 -07:00
Shane Smiskol 5be53a39f0 Cruise speed: 0 is considered unset (#33449)
* give 10 frames of tolerance to reset -- WARNING: hacks inside

old-commit-hash: d72ac9e53d211074b059f049f8ebc89b9cff1c58

* comment

old-commit-hash: adf1ef88b692132c37d865fc973189fdf971464f

* more conventional

old-commit-hash: 552aa2c159fc535682d098425e827d8cb56911c1

* move

old-commit-hash: fe88ac0afc5aa7438d5b36908744124bc1cb68c9

* oh tf

old-commit-hash: 98d8659bd0f61dd512693807ea29d2f0c78f7514

* better

old-commit-hash: 5ddda806a008cc189758491f91a4a4d0aeb8d343

* this is fine 🔥

* INIT NOT UNINIT

* only vCruise changes here

* update refs
2024-09-16 15:47:59 -07:00
Dean Lee 782d959b4c CI: continuously send messages to keep them active during alert screenshots (#33544)
keep alive
2024-09-16 15:47:15 -07:00
Dean Lee 4897c9821d panda.cc: pass capnp list by reference (#33555)
pass by reference
2024-09-13 11:13:59 -07:00
Dean Lee 50b0089602 panda: using reference in loop (#33554)
using reference in loop
2024-09-13 11:13:47 -07:00
Shane Smiskol 5305f7a95e maneuversd: add second line warning 2024-09-12 16:10:48 -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 b168c6f9af controlsd is driven by selfdriveState (#33541)
* controlsd is driven by selfdriveState

* update refs
2024-09-11 15:02:38 -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
Maxime Desroches 838746c831 ui preview: keyboard (#33520)
keyboard
2024-09-09 10:35:22 -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
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
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
Lee Jong Mun 68257da3d5 Multilang: kor translation update (#33499) 2024-09-06 21:02:29 -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
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
Shane Smiskol 54a2626e44 Joystick: improve angle control (#33475)
* calculate max angle/curvature with speed

* don't inflate to inf

* screw radians

* up limit a bit
2024-09-04 16:29:04 -07:00
Kacper Rączy f247663727 process_replay: liveLocationKalman migration (#33472)
* migrate_livePose

* Remove unused param

* Dont migrate if livePose is there
2024-09-04 16:24:33 -07:00