wjxjmj
dbdb3a02a8
Add ip and port arguments to /tools/sim/bridge.py ( #26011 )
...
* Add ip and port arguments
* Add descriptions of ip and port arguments
* Update README.md
* Update README.md
* prefer host/port options
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
3 years ago
Dean Lee
754b44e7ce
Cabana: increase slider precision to milliseconds ( #26025 )
3 years ago
Dean Lee
2ed82387a5
cabana: fix Incorrect Y-Axis Scale ( #26018 )
3 years ago
Dean Lee
beb0f8ac23
cabana: custom slider to indicate the status of engaged/disengaged/alerts ( #26003 )
...
* timeline
* remove todo
* cleanup
3 years ago
pbkompasz
cfabae28e7
README -> README.md ( #26005 )
3 years ago
Adeeb Shihadeh
01d05f66fe
auto-detect pigeon or quectel ( #25991 )
...
* auto-detect pigeon or quectel
* persistent
* fix sim
* fix process replay
* fix locationd unit tests
* fix that
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Shane Smiskol
e7805eb5c5
FPv2: fixed fingerprint overrides query result ( #25990 )
...
* query FW versions if fixed (override after)
* skip here
* also skip here
* and here
3 years ago
Dean Lee
750b96aaed
cabana: improve time control ( #25985 )
...
* group signals/slots together
* slider:fix wrong minimum
* add TODO
* moveing to mouse click position
* show tickmark
* fix seek back to the old pos after sliderReleased
* reduce data copied in queued connection
* drop packets while seeking
* install event filter in streaming
* stop replay in dctor
3 years ago
Dean Lee
9ec262bbfd
cabana: Docking and undocking charts ( #25983 )
...
* floating dock charts
* more button
* setMinimumSize
* move reset zoom button to title bar
* show chart count
* cleanup
* reduce flicker
* dont update linemarker if pos not changed
* cleanup
* remove blank line
* always show dock/undock button
3 years ago
Dean Lee
2d9e797259
cabana: Fix the incorrect Y axis ( #25984 )
3 years ago
Dean Lee
7156633034
cabana: use QFormLayout ( #25982 )
3 years ago
Dean Lee
4cd3753d98
cabana: insert new chart at the top ( #25981 )
...
* small cleanup
* new chart insert at the top
3 years ago
Dean Lee
a6ba073231
canbana: complete basic functions ( #25965 )
...
* add chart header
* get all signal val from logs
* loop in selected range
* clear list before append
* automatically zoom on yaxis
* cleanup
* sync charts
* fix event_begin_sec
* set the color of rubber
* add TODO
* sync slider with charts
* keep video aspect ratio
* sync plot buttons
* reduce flickers
* cleanup
* refactor detail view
* clear counters
* more
use qcamera
3 years ago
Adeeb Shihadeh
285fd56a1d
bootlog: add helper to get a bootlog by segment id
3 years ago
Cameron Clough
4404cb42b4
fix build without extras ( #25957 )
3 years ago
Dean Lee
1b8324af87
c++ cabana: Initial version ( #25946 )
...
* draft
* continue
* fix QChart unresponsive with large points
* build with --extras
* add filter
* save DBC button
* more buttons
* add flag to use qcamera
* stop replay in dctor
* README
* use getMsg
* video control
* edit signal
* add colors
* correct ts
* add/edit signals
* use bus:address as key
3 years ago
Adeeb Shihadeh
5d33199905
sim: fix sensor freq and timestamps ( #25937 )
...
* sim: fix sensor freq and timestamps
* 100hz
* fix that too
3 years ago
Kurt Nistelberger
29d3ed2ce6
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>
3 years ago
Kurt Nistelberger
784246cf54
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>
3 years ago
Shane Smiskol
26517a0ef9
replay: set CarParamsPersistent
3 years ago
Adeeb Shihadeh
f18773acbe
compressed_vipc: add main()
3 years ago
Dean Lee
75c434bde7
replay: add shortcuts for seeking to the next info, warning, and critical alerts ( #25576 )
3 years ago
Adeeb Shihadeh
c6b749fb96
add pyside2 package ( #25602 )
3 years ago
Adeeb Shihadeh
6590fb2b93
pre-commit: add codespell ( #25571 )
3 years ago
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>
3 years ago
Mitchell Goff
acbb230e0a
Update DATA_ENDPOINT default to data-raw.comma.internal ( #25597 )
3 years ago
Dean Lee
8f3b259f7c
replay/camera: set frame id before send ( #25591 )
3 years ago
Dean Lee
cd32f64d01
replay: add missing format specifier ( #25590 )
3 years ago
Adeeb Shihadeh
90a4565eb2
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
3 years ago
Adeeb Shihadeh
051e1e0a06
update webcam readme
3 years ago
Dean Lee
f95519cb44
replay/CameraServer: yuv_buf should not be null ( #25545 )
3 years ago
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>
3 years ago
Cameron Clough
f65547fbe2
sim: fix gps message ( #25521 )
...
fix gps timestamp field renamed
bug introduced in https://github.com/commaai/cereal/pull/341
3 years ago
Shane Smiskol
16fe10e128
joystick: revert max axes value ( #25483 )
...
revert this to 255
3 years ago
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>
3 years ago
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 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
3 years ago
Adeeb Shihadeh
76a4daefff
pj: update torque control layout
3 years ago
Jason Shuler
65f230e6f6
ubuntu_setup.sh detect base ubuntu version for variant distros ( #25433 )
...
ubuntu_setup detect base version
3 years ago
grekiki
7f6464d97d
plotjuggler: Longer max stream buffer size ( #25399 )
...
* longer streams
* more consistent
* reduce diff
3 years ago
Robbe Derks
3575142071
don't wait to install plotjuggler
3 years ago
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>
3 years ago
Adeeb Shihadeh
49044b5399
remove old tools script
3 years ago
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
3 years ago
Adeeb Shihadeh
20c140b10e
plotjuggler: add max torque layout
3 years ago
Jeroen
26d29d2138
sim: role_name attribute used by ScenarioRunner for CARLA ( #25315 )
3 years ago
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
3 years ago
Willem Melching
f3be47bc55
plotjuggler: allow loading ci routes ( #25294 )
...
* plotjuggler: allow loading ci routes
* update readme
3 years ago
Adeeb Shihadeh
d462a08056
remove CS.steeringRateLimited ( #25251 )
...
* remove CS.steeringRateLimited
* bump cereal
* update refs
3 years ago
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.
3 years ago
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
3 years ago