Kacper Rączy
236dffe400
locationd no GPS ( #33029 )
...
* Pose kf draft
old-commit-hash: 17dd4d576e597792f0e18826498c00076739f92b
* Fix it
old-commit-hash: 13ac120affe58fd22e871586ea5f4d335b3e9d2b
* Add translation noise
old-commit-hash: 166529cb612858c4ce80649367ac35b2b6007e1d
* Add gravity to acc
old-commit-hash: 8fcfed544b8e090ccc86b189c13bc03c6c190613
* Use pyx
old-commit-hash: 8e69e0baa0a4c43b4d0c22535711f296f05420aa
* Indent
old-commit-hash: 25b19a73644cdcb571ccf1a1d8acb88a0d066c67
* Reset function
old-commit-hash: ca5d2736da15e4fd6539f7268133320735b7c9cc
* Add device_from_ned and ned_from_device transformations
old-commit-hash: a60d25da0edc311e583549dc015fa595749fd4ae
* Fix rotations
old-commit-hash: d6d582f7f6d19a2bc2308dbcb0c9f81363e325b6
* kms
old-commit-hash: 681bc4e50374795ccc61422c3ce4ffb51389fce2
* Centripetal acceleration
old-commit-hash: 6e574506d27e5b76a04b2097d94efa4ca91ead71
* Rewrite draft
old-commit-hash: 4a2aad0146267460e5d30036c8cdb2bef94d1d7c
* Remove old locationd stuff
old-commit-hash: c2be9f7dbf22fb5cd29e437cd7891a7d52266fba
* Python process now
old-commit-hash: 83fac85f28c0b546b6965aafe1dd8a089e67f5b3
* Process replay fix
old-commit-hash: c44f9de98583c49dad0b22497869b3bb0266fcd9
* Add checks for timing and validity
old-commit-hash: aed4fbe2d00ca620e01a0e0ee99a4871c939de36
* Fixes
old-commit-hash: 3f052c658c16984a34915f38afdfbfd0fb19a267
* Process replay config fixes
old-commit-hash: 1c56690ee7ceb3c23c9ec2b2713352191212716e
* static analysis fixes
old-commit-hash: 6145e2c140ea9aa97e75069c3ddd82172cadc866
* lp in latcontrol
old-commit-hash: 9abf7359d68e794c69052724f3aca14b04dd3cca
* Fix SensorEvent name for acceleration
old-commit-hash: 91a1ad6c604727c9c898ba4aefe9478022b167fd
* Ignore sensor readings from segments with multiple imus
old-commit-hash: 1f05af63d6cc605ea98d7da0d727a5bd8d7819b0
* Update shebang
old-commit-hash: e3f2f5c10df3a4ba698421335bfeffc63d1a8797
* Replace llk with lp
old-commit-hash: 99b6c7ba08de6b703708fef0b8fd2d8cb24b92c0
* Refactor locationd scenario test
old-commit-hash: 7f5f788f071b7647e36f854df927cc5b6f819a84
* Add more debugging tools
old-commit-hash: 8d4e364867e143ea35f4bfd00d8212aaf170a1d1
* Param name update
old-commit-hash: 5151e8f5520f067e7808e3f0baa628fbf8fb7337
* Fix expected observations
old-commit-hash: d6a0d4c1a96c438fb6893e8b6ff43becf6061b75
* Handle invalid measurements
old-commit-hash: 549362571e74ad1e7ec9368f6026378c54a29adf
* Fix spelling
old-commit-hash: eefd7c4c92fb486452e9b83c7121d2599811852b
* Include observations in debug info too
old-commit-hash: 625806d1110b3bffe249cd1d03416f2a3f2c1868
* Store error instead of expected observation
old-commit-hash: 1cb7a799b67e56af4eddc6608d5b0e295f2d888c
* Renames
old-commit-hash: a7eec74640fc5cc7a5e86172d2087b66cb93d17d
* Zero the yaw
old-commit-hash: 96150779590fcb8ac50e8ffe8f8df03105983179
* New state_dot for orientation
old-commit-hash: c1456bf3a0c5af2f888aa6ff0b5ffc2e5516ddf7
* Fix the state transformations
old-commit-hash: 7cb9b91e2f99caa4ac3fb748c7f23bb8bf9f65db
* Update process in test_onroad
old-commit-hash: 854afab7c39ca7dec2b42974cecbb5310b82b617
* Test polling on cameraOdometry
old-commit-hash: a78e8b7d61618177f15c9892e2fa1e51620deca8
* Keep the copy of x and P returned from predict
old-commit-hash: 3c4159a6a7d7383265a99f3f78f8805d2fcfc8cd
* Remove polling again
old-commit-hash: f7228675c5fd2de5f879c4786859f1abcec27d68
* Remove locationd.cc
old-commit-hash: d7005599b2b178e688c3bd1959d6b69357d3a663
* Optim in _finite_check
old-commit-hash: 58ad6a06b9380960e9f69eb98663ddb97461e8d5
* Access .t once
old-commit-hash: d03252e75ed4cbdb49291a60c904568e6a3d3399
* Move the timing check to cam odo code path
old-commit-hash: 6a1c26f8c201e1feb601753f0cb7299cf981b47e
* Call all_checks only once
old-commit-hash: 373809cebf8d9db89d1ab00f4c8c933f33038e78
* Do not sort
old-commit-hash: 2984cd02c0ab76827b8c7e32f7e637b261425025
* Check sm.updated
old-commit-hash: 11c48de3f0802eb4783899f6a37737078dbf2da4
* Remove test_params_gps
old-commit-hash: 82db4fd1a876cc2402702edc74eba0a8ac5da858
* Increase tolerance
old-commit-hash: 927d6f05249d2c8ec40b32e2a0dcde8e1a469fb3
* Fix static
old-commit-hash: 2d86d62c74d5ac0ad56ec3855a126e00a26cd490
* Try separate sockets for sensors
old-commit-hash: 5dade63947ab237f0b4555f45d941a8851449ab1
* sensor_all_checks
old-commit-hash: e25f40dd6b37ee76cd9cc2b19be552baf1355ec3
* Fix static
old-commit-hash: 328cf1ad86079746b4f3fde55539e4acb92d285e
* Set the cpu limit to 25
old-commit-hash: 7ba696ff54c5d3bfa42e42624d124f2a1914a96d
* Make it prettier
old-commit-hash: cd6270dec80d8b9dac784ddd4767a1a46bcff4b7
* Prettier
old-commit-hash: 1b17931d23d37f299dad54139eaf283a89592bf5
* Increase the cpu budget to 260
old-commit-hash: 20173afb937a2609c8a9905aee0b2b093cb8bba4
* Change trans std mult. 2 works better
* Update ref commit
* Update ref commit
8 months ago
Adeeb Shihadeh
72d7ada7e4
controlsd: deprecate startMonoTime ( #33445 )
...
* controlsd: deprecate startMonoTime
* update refs
old-commit-hash: 04eb73e4a1
8 months ago
Adeeb Shihadeh
bd2b09c7b6
Deprecate controlsState state fields ( #33437 )
...
* Deprecate controlsState state fields
* sim works
* update refs
* one more
* these too
* update sim
old-commit-hash: 3924ac587b
8 months ago
Adeeb Shihadeh
53288d4dbf
Move vCruise to card ( #33439 )
...
* Move vCruise to card
* cleanup drive_helpers
* works in sim
* update refs
* update that
* too slow :(
old-commit-hash: 2f3256ed8b
8 months ago
Adeeb Shihadeh
7575c707f1
carEvent -> onroadEvent ( #33432 )
...
old-commit-hash: c481f11833
8 months ago
royjr
dbe0866a6f
ui: show personality updates ( #33406 )
...
* personality-alerts
* Update events.py
* Update car.capnp
* no AudibleAlert
* shorter
* no VisualAlert
* one liner
* smaller
* normal
* what am I doing wrong?
* it works, but is it messy?
* arg all
* lil more
* update that
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 35da93fa95
8 months ago
Adeeb Shihadeh
1b2bc44227
controlsd: split out state/alerts into selfdriveState ( #33421 )
...
* setup selfdriveState
* little more
* update refs
* migration
* all too slow
old-commit-hash: 87051803ab
8 months ago
Adeeb Shihadeh
60549c9557
controlsd: deprecate alertBlinkingRate ( #33422 )
...
* controlsd: deprecate alertBlinkingRate
* simplify
* update refs
old-commit-hash: f4e101c67d
8 months ago
Kacper Rączy
012162e816
Deprecate liveLocationKalman ( #33405 )
...
* Remove usages of llk
* Deprecate it
* Add scenarios back
* Fix orientationNED valid
* Regenerate
* Increase tolerances and update segment
* Remove calibration
old-commit-hash: 282eae3c30
8 months ago
Mitchell Goff
6bb9e72c64
Add gas/brake press probs to ModelDataV2 ( #33382 )
...
* Add gas/brake press probs to ModelDataV2
* Updated model_replay_ref_commit
old-commit-hash: 40fb90a8a2
8 months ago
Dean Lee
a0a322c456
bridge: drain each socket up to a fixed number ( #33400 )
...
drain each socket up to a fixed number
old-commit-hash: 930fa18299
8 months ago
Dean Lee
51fb5009f1
bridge: implement MSGQ to ZMQ bridge with subscriber-based publishing ( #32862 )
...
implement MSGQ to ZMQ bridge with subscriber-based publishing
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2faa08c2d6
8 months ago
Dean Lee
2bfbc779b3
cereal: remove unused shared library creation ( #33363 )
...
clear cereal/SConscript
old-commit-hash: 1a4ff8272b
8 months ago
Dean Lee
965aea8eab
scons: remove duplicate linker flags for -ljson11, -lzmq ( #33361 )
...
fix duplicate link
old-commit-hash: 908aa525ec
8 months ago
Dean Lee
a0f8148ae6
SubMaster: add self.services attribute for consistent service management ( #33268 )
...
simplify service handing
old-commit-hash: b644555a1d
8 months ago
Dean Lee
2119f7774e
cereal/SubMaster: encapsulate frequency management in FrequencyTracker ( #33252 )
...
* encapsulate frequency management
* apply reviews
* early return, avoiding unnecessary calculations
* simplify avg freq calc
old-commit-hash: b14fca78e0
8 months ago
Kacper Rączy
8315623257
paramsd: remove usages of llk nested structures ( #33317 )
...
* Remove usages of llk nested structures
* Rename to debugFitlerState
* Semicolon
* Initial parameters debugFilterState
old-commit-hash: 51fae363e4
8 months ago
Shane Smiskol
11c9105a60
carState: add invalid sensors field ( #33266 )
...
* add to CS
* add vehicleSensorsInvalid to CarState
* fix ord
* clean up
old-commit-hash: 7ec9986340
9 months ago
Shane Smiskol
5cc7d1c36b
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
old-commit-hash: 42f2601416
9 months ago
Adeeb Shihadeh
1f43f47b81
qlog: remove mag and less CAN
...
old-commit-hash: 43dcddc68b
9 months ago
Dean Lee
cc3f9090bf
cereal: deprecate FrameData.frameType ( #33019 )
...
deprecate FrameData.frameType
old-commit-hash: 917ea5699f
9 months ago
Kacper Rączy
4efe8d8118
Fix msgq context overrides ( #33014 )
...
* Fix msgq context overrides
* Remove unneccesary changes
* add reset_context helper
* Remove redundant import
old-commit-hash: c96dbd5a0b
9 months ago
Shane Smiskol
75c33e7a1c
increase longitudinalPlan decimation ( #33009 )
...
change longitudinalPlan decimation
old-commit-hash: 3c48a6154b
9 months ago
Kacper Rączy
8740f8618b
increase cameraOdometry decimation ( #33010 )
...
reduce cameraOdometry decimation
old-commit-hash: 7f9cdf8e43
9 months ago
Harald Schäfer
28a91c4e23
livePose log ( #32868 )
...
* add livepose
* Formatting
* Add to sevices
* Update locationd to publish livePose
* Remove fields and increase decimation
* Fix field indices
* Remove the line
* Add livePose to pubmaster
* Fix llk decimation
* Update ref commit
* XYZ measurements instead of lists
* Update locationd
* Update ref commit
* Lower the qlog size in test_onroad
* Update lower and upper boundary
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: 996bced674
9 months ago
Maxime Desroches
d0e2572507
switch cereal to pytest ( #32950 )
...
pytest
old-commit-hash: 133f25eecb
10 months ago
Dean Lee
45c3992e43
CarParams: set no traversal limit ( #32929 )
...
* Increase traversal_limit_in_words to Fix Traversal Limit Errors
* just use log_from_bytes
* come on pycharm
* no free lunch
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 12d729a0a0
10 months ago
Jimmy
b03daaadf1
fix bug in modelV2 service which was triggering test_loggerd failure ( #32892 )
...
* fix services bug
* add nonzero decimation assert
old-commit-hash: 9cec7bbfb3
10 months ago
Kacper Rączy
02a35949dc
drivingModelData: frameDropPerc ( #32871 )
...
* Smokes! lets go!
* Ignore it in model replay
old-commit-hash: 417f1e2139
10 months ago
Kacper Rączy
102188c245
drivingModelData: new model packet for qlogs ( #32821 )
...
* Mini model v2 prototype
* Apply suggestions
* Add meta
* Support for new packet in model
* Support in process replay
* Meta
* Add it to services
* Update model replay
* Add drivingModelData in model_replay
* Update ref
* MAX_FRAMES*3
* No modelv2, but drivingModelData at 2hz
* Polypath
* Dont use keyword
* Update model ref commit
* xyz coeff
* Fix field name
* Update ref commit
* Min qlog size 0.6
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2059f986df
10 months ago
Dean Lee
b07f5254ef
cereal: use nanos_since_boot() from common/timing.h ( #32840 )
...
Use nanos_since_boot() from common/timing.h
old-commit-hash: fccba867a9
10 months ago
Dean Lee
6f31d529b1
cereal: remove messaging/.gitignore ( #32839 )
...
cleanup gitignore
old-commit-hash: a256898510
10 months ago
Jason Wen
ecb9dfecff
Hyundai CAN: Log ABS/ESP Activation to `espActive` ( #32743 )
...
* Hyundai CAN: Log active ABS to accFaulted
* Add comments
* `espActive` to CarState and CarEvent.EventName
* re-order
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 36eafc0dc6
10 months ago
Harald Schäfer
47d5601d8a
long control: new API ( #32706 )
...
* Simplify long control
* Seperate
* Rename
* Try new api for toyota
* rm v_pid everywhere
* No speed in reset
* 0 is better default
* unassigned variable
* Update other cars
* Update gm
* SIMPLIFY
* simplify more
* fix API boundry
* Fix stopping bug
* Small fixes
* Update ref
old-commit-hash: bc303df6a0
11 months ago
Shane Smiskol
272216b2a8
remove uiPlan ( #32721 )
...
* remove uiPlan from ui
* remove publishing
* Update log.capnp
* Update services.py
* no uiPlan here
* Update ref_commit
old-commit-hash: 684209e077
11 months ago
Harald Schäfer
a5aa89fe69
Update cereal README.md
...
old-commit-hash: 05669df102
11 months ago
Harald Schäfer
d9fb61da16
Long control: Double delay is super complicated ( #32694 )
...
* Double delay is super complicated
* No more upper bound
* DEAD
* Update ref
old-commit-hash: 965415135a
11 months ago
Harald Schäfer
05ed3d8c15
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e70dc90a45
11 months ago
Adeeb Shihadeh
97bfed714c
card: remove old canRcvtimeout field ( #32650 )
...
* card: remove old canRcvtimeout field
* deprecate
old-commit-hash: b42b156fcd
11 months ago
Harald Schäfer
d7dae4db72
More cereal cleanups ( #32644 )
...
* rm generate_javascript.sh
* Unused
old-commit-hash: e6caaf40fb
11 months ago
Harald Schäfer
9fcd3fe73b
Msgq cleanups ( #32643 )
...
* Dead cereal stuff
* Dead code
* also dead
* More cleanup
old-commit-hash: 83209e0860
11 months ago
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7
11 months ago
commaci-public
cb04f7502a
[bot] Bump submodules ( #32602 )
...
bump submodules
Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 544b554c69
11 months ago
ZwX1616
bd0cabd88d
Update process replay refs with updated submaster alive behavior ( #32508 )
...
* add cereal
* update cereal
* cereal master
* lol really
* ref com
* ref
old-commit-hash: 749455c91d
11 months ago
Shane Smiskol
ee03d13529
card: process that abstracts car interface and CAN ( #32380 )
...
* format card
* standalone process
* no class member CS, there's no point
also can be confusing; what else could be using this?
* rename CoS
* Update selfdrive/controls/controlsd.py
* never works first time :D
* canRcvTimeout is bool
* hack
* add cpu
* see what testing closet comes up with
* first
* some clean up
* support passable CI, fix test models
* fix startup alert
* process replay changes
* test_fuzzy
* gate carOutput valid on carControl valid
* we should publish after we update carOutput
* controlsd was using actuatorsOutput from 2 frames ago for torque, not the most up to date
* check all checks for carControl in case controlsd dies
* log more timestamps
* more generic latency logger; needs some clean up
latency_logger.py was difficult to understand and modify
* card polls on can and carControl to get latest carControl possible
* temp try to send earlier
* add log
* remove latencylogger
* no mpld3!
* old loop
* detect first event
* normal send
* revert "card polls on can and carControl to get latest carControl possible"
how it was is best
* sheesh! update should be first
* first timestamp
* temp comment ( timestamp is slow :( )
* more final ordering, and make polling on/off test repeatable
* Received can
* new plot timestamps
* clean up
* no poll
* add controllers (draft)
* Revert "add controllers (draft)"
This reverts commit e2c3f01b2f
.
* fix that
* conventions
* just use CS
* consider controlsd state machine in card: not fully done
* hmm it's just becoming controlsd
* rm debugging
* Revert "hmm it's just becoming controlsd"
This reverts commit 534a357ee9
.
* Revert "just use CS"
This reverts commit 9fa7406f30
.
* add vCruise
* migrate car state
* Revert "migrate car state"
This reverts commit 4ae86ca163
.
* Revert "add vCruise"
This reverts commit af247a8da4
.
* simple state machine in card (doesn't work as is)
* Revert "simple state machine in card (doesn't work as is)"
This reverts commit b4af8a9b0a
.
* poll carState without conflate
* bump
* remove state transition
* fix
* update refs
* ignore cumLagMs and don't ignore valid
* fix controls mismatch; controlsd used to set alt exp
* controlsd_config_callback not needed for card
* revert ref temp
* update refs
* no poll
* not builder!
* test fix
* need to migrate initialized
* CC will be a reader
* more as_reader!
* fix None
* init after publish like before - no real difference
* controlsd clean up
* remove redundant check and check passive for init
* stash
* flip
* migrate missing carOutput for controlsd
* Update ref_commit
* bump cereal
* comment
* no class params
* no class
* Revert "no class"
This reverts commit 5499b83c2d
.
* add todo
* regen and update refs
* fix
* update refs
* and fix that
* should be controlsstate
* remove controlsState migration
CoS.initialized isn't needed yet
* fix
* flip!
* bump
* fix that
* update refs
* fix
* if canValid goes false, controlsd would still send
* bump
* rm diff
* need to be very careful with initializing
* update refs
old-commit-hash: 71f5c441fe
11 months ago
Dean Lee
46183bc11b
encoderd: publish i-frame as thumbnail ( #32202 )
...
* pusblish i-frame as thumbnail
* generic
* disable for now
* fix
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b742776bff
11 months ago
commaci-public
44ced20226
[bot] Bump submodules ( #32410 )
...
bump submodules
Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: acd84e0f9c
12 months ago
Adeeb Shihadeh
da105b759c
bump cereal ( #32403 )
...
old-commit-hash: 07aad17993
12 months ago
commaci-public
ca9d039f14
[bot] Bump submodules ( #32344 )
...
bump submodules
Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 7b5923a5eb
12 months ago
Adeeb Shihadeh
a6faeb03ce
adjust gps alert
...
old-commit-hash: 6ef95f7a91
12 months ago