Commit Graph

546 Commits

Author SHA1 Message Date
Dean Lee
75c434bde7 replay: add shortcuts for seeking to the next info, warning, and critical alerts (#25576) 2022-09-05 14:11:32 -07:00
Adeeb Shihadeh
c6b749fb96 add pyside2 package (#25602) 2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
6590fb2b93 pre-commit: add codespell (#25571) 2022-08-30 11:20:55 -07:00
qadmus
ff3ebbb13b plotjuggler readme: refer to openpilot env setup (#25609)
* plotjuggler readme: refer to openpilot env setup

* Update tools/plotjuggler/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-30 02:40:23 -07:00
Mitchell Goff
acbb230e0a Update DATA_ENDPOINT default to data-raw.comma.internal (#25597) 2022-08-29 13:31:43 -07:00
Dean Lee
8f3b259f7c replay/camera: set frame id before send (#25591) 2022-08-29 11:56:18 -07:00
Dean Lee
cd32f64d01 replay: add missing format specifier (#25590) 2022-08-29 11:53:11 -07:00
Adeeb Shihadeh
90a4565eb2 params: make python and c++ API match (#25573)
* params: make python and c++ API match

* few more
2022-08-26 20:46:19 -07:00
Adeeb Shihadeh
051e1e0a06 update webcam readme 2022-08-25 17:00:02 -07:00
Dean Lee
f95519cb44 replay/CameraServer: yuv_buf should not be null (#25545) 2022-08-24 11:03:54 -07:00
Cameron Clough
b3cfe962cf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-22 21:47:09 -07:00
Cameron Clough
f65547fbe2 sim: fix gps message (#25521)
fix gps timestamp field renamed

bug introduced in https://github.com/commaai/cereal/pull/341
2022-08-22 16:23:36 -07:00
Shane Smiskol
16fe10e128 joystick: revert max axes value (#25483)
revert this to 255
2022-08-18 23:34:48 -07:00
Erich Moraga
6a3a9944c2 ssh docs: corrections and readability improvements (#25482)
* Corrections and readability improvements

* Apply suggestions from code review

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-08-18 15:18:50 -07:00
Shane Smiskol
5ed587ebef controls: block resume if cruise not previously engaged (#25402)
* see if this works at all

* can revert this

* think adding a no entry conditionally is nicer

* then we can revert this

* 0 makes more sense

* Revert "0 makes more sense"

This reverts commit efc89e8a2389ef58fbc0cec0a2872d24db524867.

* gm CC uses > 70

* bump cereal

* comment

* test on Honda

* whoops

* works

* add exception with todo

* moved button enable events to controlsd

* get rid of that

get rid of that

* different values for now

* car interfaces add enable event, controlsd can block it

* Regen and update refs

* delete if not set

* One place

one place

* regen routes are uninitialized first few frames

* Trim start of segment so it's like original segment

* stash

* regen

* not working

* clean up

* more cleanup

* revert

* bump ceral

* actually check resume button

* whoops

* pcmCruise cars don't use setSpeed, so we're good

* engage correctly in sim

* Update ref_commit

* Update refs
2022-08-17 18:03:33 -07:00
Adeeb Shihadeh
76a4daefff pj: update torque control layout 2022-08-16 13:16:23 -07:00
Jason Shuler
65f230e6f6 ubuntu_setup.sh detect base ubuntu version for variant distros (#25433)
ubuntu_setup detect base version
2022-08-13 18:53:45 -07:00
grekiki
7f6464d97d plotjuggler: Longer max stream buffer size (#25399)
* longer streams

* more consistent

* reduce diff
2022-08-10 20:02:45 -07:00
Robbe Derks
3575142071 don't wait to install plotjuggler 2022-08-10 12:22:41 +02:00
grekiki
cac960cb54 plotjuggler: route name in window title (#25370)
* Route titles

* minimum version check

* use tuples

* minor clean up

* use check_output

* space

* belongs here

* add prompt

* no f string

* Update juggle.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-08 15:10:31 -07:00
Adeeb Shihadeh
49044b5399 remove old tools script 2022-08-07 17:10:14 -07:00
Nelson Chen
4fb318c5be Update replay README.md to be more clear that auth.py is in tools/lib (#25366)
and a little minor format fix
2022-08-04 15:06:36 -07:00
Adeeb Shihadeh
20c140b10e plotjuggler: add max torque layout 2022-07-31 15:36:37 -07:00
Jeroen
26d29d2138 sim: role_name attribute used by ScenarioRunner for CARLA (#25315) 2022-07-31 13:18:02 -07:00
Willem Melching
753f4c7fab casync unittests (#25306)
* simple extract test

* add test with loopback

* test for chunk reuse

* test seeding

* add instructions

* cleanup

* install casync

* make more tests work without a loopback
2022-07-29 17:46:19 +02:00
Willem Melching
f3be47bc55 plotjuggler: allow loading ci routes (#25294)
* plotjuggler: allow loading ci routes

* update readme
2022-07-27 16:19:19 +02:00
Adeeb Shihadeh
d462a08056 remove CS.steeringRateLimited (#25251)
* remove CS.steeringRateLimited

* bump cereal

* update refs
2022-07-24 14:56:55 -07:00
pcjx
551d2fe511 Make ubuntu_setup.sh use codenames to support Ubuntu based distros (#25261)
Using codenames allows the ubuntu_setup.sh to install
properly on systems like Pop!_OS or Linux Mint.
2022-07-23 16:49:41 -07:00
Adeeb Shihadeh
0ca62bf7df let can packer handle counter (#25240)
* let can packer handle counter

* diff is expected

* update refs

* clean that up

* bump opendbc

* fix sim
2022-07-21 20:54:53 -07:00
Adeeb Shihadeh
e6e8607306 implement string representation for Bootlog 2022-07-21 14:14:34 -07:00
Dean Lee
91eb096ac9 replay: add support for reading from plain logs (#25053)
* read from plain log

* reduce memory copies

* cleanup

* fix test_replay
2022-07-15 10:53:10 -07:00
Adeeb Shihadeh
505bbce29d controlsd: handle radar missing + cleanup system error handling (#25179)
* controlsd: handle radar missing + cleanup system erorr handling

* fix carla

* update refs
2022-07-14 19:55:18 -07:00
Willem Melching
356190f671 fix MacOS buid: replay frameworks (#25061)
* replay: fix macos build

* here too

* keep original frameworks
2022-07-07 16:13:05 +02:00
Adeeb Shihadeh
d4f4809992 always show avg power 2022-07-05 14:28:54 -07:00
Maxime Desroches
2027d5311d tools: add support for nv12 in compressed_vipc (#24962)
reshape for nv12
2022-06-30 15:03:15 -07:00
Greg Hogan
e643f8e681 docs: ssh.comma.ai (#25000) 2022-06-30 10:52:56 +02:00
Shane Smiskol
879a7c3201 UI: wrap all text for translation (#24961)
* rough multiple language demo

* more wrappings

* stash

* add some bad translations

* updates

* map from french to spanish still has same problem of needing to call setText on everything

* add files

* restart UI

* use return code

* relative path

* more translations

* don't loop restart

* Toggle and prime translations

* try on device

* try QComboBox with readable style

* stash

* not yet scrollable

* stash

* dynamic translations (doesn't work for dynamic widget strings yet)

* clean up multiple option selector

* store languages in json

* try transparent

* Try transparent popup

* see how this looks

* tweaks

* clean up

* clean up

* clean up 2 and missing tr

* wrap more strings

* missing updater

* fixes

* add basic test to ensure all strings wrapped

* try in CI

* clean up

* test name

* fix test

* always install qt dev tools

* fix deps

* fast test

* add section so it prints multiple errors

* debug

* debug

get rid of those

* make any difference?

* comment

* oh...

* run with offscreen platform

* try out section

* clean up

* fix missing wrappings (it works!)

* move down

* space

* clear relevant params, set TICI=1
2022-06-29 14:47:46 -07:00
Dean Lee
e0cd3bf5fc framereader.cc: remove nv12toyuv_buffer (#24991)
remove nv12toyuv_buffer
2022-06-29 11:27:37 +02:00
Dean Lee
fd5b3d7603 move replay from selfdrive/ui/replay to tools/replay (#24971)
* mv to tools/replay

* change folder

* add .gitignore

* fix build doc

* disable warning

* enable warning after build

* build qt/util.cc qt/api.cc to library

* cleanup
2022-06-28 16:12:42 +02:00
Shane Smiskol
379dc24eca can replay: get logs in parallel (#24960)
* get can replay segs in parallel

* total not needed
2022-06-24 16:49:56 -07:00
ZwX1616
6721f0ef57 fix carla test fake driverState (#24959)
use driverstatev2
2022-06-24 14:29:46 -07:00
Robbe Derks
5cd8bef921 use correct tty device for serial 2022-06-24 12:37:30 +02:00
Adeeb Shihadeh
569a39ff76 CANParser: invalid until valid (#24945)
* CANParser: invalid until valid

* bump opendbc

* bump opendbc

* fix counter in sim
2022-06-22 15:38:38 -07:00
Gijs Koning
1c4b145aa4 Improve laikad cpu usage. Less pos fix. Less local imports (#24887)
* Improve laikad cpu usage. Less pos fix. Not local imports

* Add laika to files_common

* Add laika to dockerfile sim

* Fix

* Fix

* undo
2022-06-20 14:24:11 +02:00
Adeeb Shihadeh
1baf0e3f4a sim: update cl kernel path 2022-06-19 15:49:38 -07:00
Adeeb Shihadeh
6123ab3d1c Move camerad to system/ (#24836)
* mv camerad

* add hardware symlink

* fix unit tests
2022-06-19 14:43:49 -07:00
Adeeb Shihadeh
a27d242e3d zookeeper: add avg power to power_monitor.py 2022-06-18 19:02:09 -07:00
Adeeb Shihadeh
6757e235f9 little zookeeper fixes (#24861)
* little zookeeper fixes

* bump that up
2022-06-14 20:38:25 -07:00
Adeeb Shihadeh
f05166ae26 ui.py: update for nv12 2022-06-13 13:58:22 -07:00
Adeeb Shihadeh
39da6912ea misc jenkins fixups (#24840)
* bump cereal

* remove that

* pull cl image

* lil docker cleanup
2022-06-12 18:00:00 -07:00