Commit Graph

13883 Commits

Author SHA1 Message Date
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
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 34f5ba46b3 camerad: move handle_camera_event to SpectraCamera class (#33595)
move handle event

Co-authored-by: Comma Device <device@comma.ai>
2024-09-19 11:34:37 -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 943aa616b3 camerad: add helper function get_gain_factor (#33594) 2024-09-19 10:58:49 -07:00
Dean Lee b852aba670 camerad: fix POLLPRI event check in poll loop (#33591)
fix event check in poll loop to validate POLLPRI
2024-09-19 10:58:06 -07:00
Dean Lee c95f0f039f camerad: move debugging parameters from camera_common.h to camera_qcom2.cc (#33589)
move debugging parameters

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-09-19 10:45:57 -07:00
Dean Lee 78db136914 camerad: remove libyuv dependency (#33593)
remove libyuv
2024-09-19 10:41:51 -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
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
Shane Smiskol 08b731cbd7 Lexus ES TSS2: improve start from stop for ICE variants (#33586)
bump
2024-09-18 22:48:15 -07:00
Shane Smiskol e018a20bc2 longitudinal maneuver readme: small improvements 2024-09-18 22:47:42 -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
Adeeb Shihadeh 102f1b0d85 loggerd: fix mac build 2024-09-18 22:16:25 -07:00
Adeeb Shihadeh 718835a825 camerad: prep part 2 (#33584)
* no camerastate in sensors

* bring this over

* and encoder
2024-09-18 21:10:45 -07:00
Adeeb Shihadeh 5378e63812 it's not really rgb 2024-09-18 21:01:38 -07:00
Adeeb Shihadeh b733b875f8 camerad: ci -> sensor rename (#33582)
* camerad: ci -> sensor rename

* no behavior change for now
2024-09-18 15:51:03 -07:00
Jason Young 41a7fa0623 FCA Giorgio: Reserve safety ID (#33580)
reserve safety ID for FCA Giorgio
2024-09-18 10:57:02 -07:00
Dean Lee 45b887a08e ci: add toggles to ui report (#33577)
add toggles
2024-09-17 21:04:08 -07:00
commaci-public 163e7406c2 [bot] Update Python packages (#33576)
Update Python packages

Co-authored-by: Vehicle Researcher <user@comma.ai>
2024-09-17 17:54:24 -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
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
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
Andrei Radulescu 306316755b agnos: move metadrive-simulator & rerun-sdk to a separate tools group (#33570) 2024-09-17 10:03:25 -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
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 ea532c7a7c cabana: improve isMessageActive (#33563)
improve isMessageActive
2024-09-16 14:05:57 -07:00
commaci-public 01bf17a8ca [bot] Update Python packages (#33566)
Update Python packages

Co-authored-by: Vehicle Researcher <user@comma.ai>
2024-09-16 11:45:35 -07:00
Dean Lee fd893dfcb7 replay: optimize decompressZST with pre-allocated buffer (#33562)
improve decompressZST
2024-09-16 09:45:15 -07:00
Shane Smiskol dcbeda1e85 deprecate controlsState.aTarget (#33558)
deprecate
2024-09-13 19:34:27 -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
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 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 5fc79bda64 decimate alertDebug (#33550)
* decimate alertDebug

* int
2024-09-12 17:34:12 -07:00
Shane Smiskol d414f8c3b6 log alertDebug to qlog 2024-09-12 17:18:34 -07:00
commaci-public 5f0aa663c8 [bot] Update Python packages (#33549)
* Update Python packages

* bump

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2024-09-12 16:51:42 -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