Adeeb Shihadeh
1cb4cdab24
sim: fix sensor freq and timestamps ( #25937 )
...
* sim: fix sensor freq and timestamps
* 100hz
* fix that too
old-commit-hash: 5d33199905
3 years ago
Kurt Nistelberger
fb06d2769f
Sensor events splitup ( #25714 )
...
* PoC of reading sensors via interrupts instead of polling
* add Gyro and draft for magn
* add more functionality to gpio.cc
* change LSM gyro to interrupt
* resolve rebase conflict
* update BMX accel interrupt impl
* add interrupt collector thread to fetch in parallel
* change get_event interface to return true on successful read
* update BMX gyro interrupt impl
* update gpio.h/.cc according to comments
* address comments, rename Edgetype enum
* Edgetype to EdgeType
* update sensor interrupt interface
* add error handling, and read fd on trigger
* avoid sending empty messages
* fix build
* use gpiochip
* less diff
* gpiochip on both edges, but skip falling edge if rising edge is detected
* init last_ts with 0
* update sensord testcases
* update sensord testsweet
* test for pipeline
* readd with_process
* add null check
* move tests update to seperate PR
* sensord: improve test coverage (#25683 )
* update sensord-interrupt testsweet
* address review comments
* inc stddev threshold
* fix format string
* add version 0 check again
* relax strictness after c3 with bmx tests
* relax strictness after tests
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
* address PR comments
* fix typo
* remove 4ms limit, and skip first 0.5sec of data
* revert disable_interuppt change to destructor
* fix and remove timing skip
* make gpiochip generic
* sensord port
* change from sensorEvents to separated events
* fix gyro usage
* add splitted sensor tests
* modify debug script sensor_data_to_hist.py
* refactor get_event interface to remove sensorEvent message type
* update locationd to non sensorEvent usage
* tmp commit
* fix replay
* fix accelerometer type
* fix sensor to hist debug script
* update sensord tests to split events
* remove rebase artifacts
* port test_sensord.py
* small clean up
* change cereal to sensorEvents-splitup branch
* upate sensorEvents in regen
* fix route generation for splitted sensor events
* regen cleanUp from sensorEvents change
* .
* remove light and temp from locationd
* add generic init delay per sensor
* .
* update routes
* move bmx gyro/accel to its own channel
* adopt sensor tests to bmx channel
* remove rebase artifacts
* fix sensord test
* handle bmx not present
* add bmx sockets to regen
* .
* .
* code cleanUp
* .
* address PR comments
* address PR comments
* address PR comments
* lsm clean up
* readd sensorEvents
* rever regen.py
* .
* update replay refs
* move channels
* fix artifact
* bump cereal
* update refs
* fix timing issue
Co-authored-by: Bruce Wayne <batman@workstation-eu-intern2.eu.local>
Co-authored-by: gast04 <kurt.nistelberger@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 29d3ed2ce6
3 years ago
Kurt Nistelberger
90aff8c6fb
Gps test Setup, PoC ( #25919 )
...
* first ignore
* init gps test
* make LimeGPS git clone
* revert ignore
* .
* remove prebuilt bins
* Update README.md
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 784246cf54
3 years ago
Shane Smiskol
867193b686
replay: set CarParamsPersistent
...
old-commit-hash: 26517a0ef9
3 years ago
Adeeb Shihadeh
da2d4bebd1
compressed_vipc: add main()
...
old-commit-hash: f18773acbe
3 years ago
Dean Lee
ec96bc52d6
replay: add shortcuts for seeking to the next info, warning, and critical alerts ( #25576 )
...
old-commit-hash: 75c434bde7
3 years ago
Adeeb Shihadeh
0325a33752
add pyside2 package ( #25602 )
...
old-commit-hash: c6b749fb96
3 years ago
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93
3 years ago
qadmus
8f468a01fa
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>
old-commit-hash: ff3ebbb13b
3 years ago
Mitchell Goff
a2d87101c7
Update DATA_ENDPOINT default to data-raw.comma.internal ( #25597 )
...
old-commit-hash: acbb230e0a
3 years ago
Dean Lee
efeb964728
replay/camera: set frame id before send ( #25591 )
...
old-commit-hash: 8f3b259f7c
3 years ago
Dean Lee
66b0c1c591
replay: add missing format specifier ( #25590 )
...
old-commit-hash: cd32f64d01
3 years ago
Adeeb Shihadeh
d9c279aea9
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
old-commit-hash: 90a4565eb2
3 years ago
Adeeb Shihadeh
51c5932248
update webcam readme
...
old-commit-hash: 051e1e0a06
3 years ago
Dean Lee
06556bd76a
replay/CameraServer: yuv_buf should not be null ( #25545 )
...
old-commit-hash: f95519cb44
3 years ago
Cameron Clough
07084dcbaf
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>
old-commit-hash: b3cfe962cf
3 years ago
Cameron Clough
25236f1f79
sim: fix gps message ( #25521 )
...
fix gps timestamp field renamed
bug introduced in https://github.com/commaai/cereal/pull/341
old-commit-hash: f65547fbe2
3 years ago
Shane Smiskol
f49bbf60b6
joystick: revert max axes value ( #25483 )
...
revert this to 255
old-commit-hash: 16fe10e128
3 years ago
Erich Moraga
00cd70f3e2
ssh docs: corrections and readability improvements ( #25482 )
...
* Corrections and readability improvements
* Apply suggestions from code review
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 6a3a9944c2
3 years ago
Shane Smiskol
2bd8ee0974
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 efc89e8a23
.
* 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
old-commit-hash: 5ed587ebef
3 years ago
Adeeb Shihadeh
6c03a57b85
pj: update torque control layout
...
old-commit-hash: 76a4daefff
3 years ago
Jason Shuler
2922d5b7aa
ubuntu_setup.sh detect base ubuntu version for variant distros ( #25433 )
...
ubuntu_setup detect base version
old-commit-hash: 65f230e6f6
3 years ago
grekiki
9e577a7cb0
plotjuggler: Longer max stream buffer size ( #25399 )
...
* longer streams
* more consistent
* reduce diff
old-commit-hash: 7f6464d97d
3 years ago
Robbe Derks
99ef2b4d02
don't wait to install plotjuggler
...
old-commit-hash: 3575142071
3 years ago
grekiki
31260ce863
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>
old-commit-hash: cac960cb54
3 years ago
Adeeb Shihadeh
18b4b1e73e
remove old tools script
...
old-commit-hash: 49044b5399
3 years ago
Nelson Chen
c824ca1076
Update replay README.md to be more clear that auth.py is in tools/lib ( #25366 )
...
and a little minor format fix
old-commit-hash: 4fb318c5be
3 years ago
Adeeb Shihadeh
ee0f5386a1
plotjuggler: add max torque layout
...
old-commit-hash: 20c140b10e
3 years ago
Jeroen
e215317cf0
sim: role_name attribute used by ScenarioRunner for CARLA ( #25315 )
...
old-commit-hash: 26d29d2138
3 years ago
Willem Melching
dfcd3a2910
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
old-commit-hash: 753f4c7fab
3 years ago
Willem Melching
cd9aa86b8a
plotjuggler: allow loading ci routes ( #25294 )
...
* plotjuggler: allow loading ci routes
* update readme
old-commit-hash: f3be47bc55
3 years ago
Adeeb Shihadeh
5263356958
remove CS.steeringRateLimited ( #25251 )
...
* remove CS.steeringRateLimited
* bump cereal
* update refs
old-commit-hash: d462a08056
3 years ago
pcjx
3ccab8345c
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.
old-commit-hash: 551d2fe511
3 years ago
Adeeb Shihadeh
04af978260
let can packer handle counter ( #25240 )
...
* let can packer handle counter
* diff is expected
* update refs
* clean that up
* bump opendbc
* fix sim
old-commit-hash: 0ca62bf7df
3 years ago
Adeeb Shihadeh
8a7454eec3
implement string representation for Bootlog
...
old-commit-hash: e6e8607306
3 years ago
Dean Lee
908eb73e35
replay: add support for reading from plain logs ( #25053 )
...
* read from plain log
* reduce memory copies
* cleanup
* fix test_replay
old-commit-hash: 91eb096ac9
3 years ago
Adeeb Shihadeh
b73f02bf45
controlsd: handle radar missing + cleanup system error handling ( #25179 )
...
* controlsd: handle radar missing + cleanup system erorr handling
* fix carla
* update refs
old-commit-hash: 505bbce29d
3 years ago
Willem Melching
994b31a585
fix MacOS buid: replay frameworks ( #25061 )
...
* replay: fix macos build
* here too
* keep original frameworks
old-commit-hash: 356190f671
3 years ago
Adeeb Shihadeh
fa29abe740
always show avg power
...
old-commit-hash: d4f4809992
3 years ago
Maxime Desroches
4a09ab86ac
tools: add support for nv12 in compressed_vipc ( #24962 )
...
reshape for nv12
old-commit-hash: 2027d5311d
3 years ago
Greg Hogan
7998c45a3f
docs: ssh.comma.ai ( #25000 )
...
old-commit-hash: e643f8e681
3 years ago
Shane Smiskol
2c5e890a23
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
old-commit-hash: 879a7c3201
3 years ago
Dean Lee
1175e76182
framereader.cc: remove nv12toyuv_buffer ( #24991 )
...
remove nv12toyuv_buffer
old-commit-hash: e0cd3bf5fc
3 years ago
Dean Lee
2156e71e7a
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
old-commit-hash: fd5b3d7603
3 years ago
Shane Smiskol
aecb469f36
can replay: get logs in parallel ( #24960 )
...
* get can replay segs in parallel
* total not needed
old-commit-hash: 379dc24eca
3 years ago
ZwX1616
3e2828c9bb
fix carla test fake driverState ( #24959 )
...
use driverstatev2
old-commit-hash: 6721f0ef57
3 years ago
Robbe Derks
39661f9291
use correct tty device for serial
...
old-commit-hash: 5cd8bef921
3 years ago
Adeeb Shihadeh
f06bb9d5f2
CANParser: invalid until valid ( #24945 )
...
* CANParser: invalid until valid
* bump opendbc
* bump opendbc
* fix counter in sim
old-commit-hash: 569a39ff76
3 years ago
Gijs Koning
5494622601
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
old-commit-hash: 1c4b145aa4
3 years ago
Adeeb Shihadeh
5fcc792527
sim: update cl kernel path
...
old-commit-hash: 1baf0e3f4a
3 years ago