Kacper Rączy
9734015bbb
controlsd: use livePose ( #33283 )
...
* Pose calibrator
* Fix static analysis
* Fix static
* Fix test_latcontrol
* Fix test_latcontrol
* Update services in process replay
* Fix static
* Matmul not mul
* Add assertion
* Move pose calibration to data_sample
* Update ref commit
* Remove llk from cycle alerts
* Deprecated nogps event
* Switch power_draw to lp
* Bring back noGps alert
* Add handling code back
* get_bool
* Bring inputsok back
9 months ago
Kacper Rączy
86d8d1d996
torqued: use livePose ( #33136 )
...
* Use livePose
* Replace it in process replay
* Add liveCalibration to messages
* Update ref commit
9 months ago
Kacper Rączy
84cff4fc03
paramsd: use livePose ( #33099 )
...
* Use livePose instead of llk
* Update process replay sockets
* Fix import
* Fix calib
* Fix field name
* Dont store device_from_calib
* Update ref commit
9 months ago
Harald Schäfer
996bced674
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>
9 months ago
Shane Smiskol
b247c3caaa
torqued: check steer override to current time ( #32963 )
...
* lat active/steer override: check up to now
* lint
* Update ref_commit
10 months ago
Shane Smiskol
fbc53a24a3
torqued: clean up ( #32958 )
...
* formatting
* function signatures didn't match
* function signatures didn't match
* filtered and raw mean something totally different when it comes to params
filtered and raw mean something totally different when it comes to params
* cmt
* probably better for organization
* add todo
* STASH
* revert some stuff
* clean up
* oof
10 months ago
Shane Smiskol
5efdaf2026
torqued: option to keep track of all points ( #32957 )
...
* how about this
* here
* rename
* revert
* revert this too
* can do this
* ugh inside TorqueBuckets it implicitly limits steer torque to 50%!!!!!!!!
* fix
* move up
10 months ago
Shane Smiskol
0c58e35b6c
format torqued.py
10 months ago
Shane Smiskol
35df0a4fda
torqued: rename lat_active ( #32942 )
...
* Update torqued.py
* lint
* not necessary
10 months ago
Dean Lee
12d729a0a0
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>
10 months ago
Harald Schäfer
e70dc90a45
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>
11 months ago
Harald Schäfer
e71ec4e8d7
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
11 months ago
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
Adeeb Shihadeh
accdade4cf
manager: move to system/ ( #32538 )
...
* manager: move to system/
* one more
11 months ago
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
11 months ago
cl0cks4fe
dd9d5d4528
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
12 months ago
Adeeb Shihadeh
a0389d7120
add hasFix field to gpsLocation ( #31778 )
...
* add hasFix field to gpsLocation
* migration
* update refs for ubloxd
* cereal master
1 year ago
Justin Newberry
9d4d5f6077
torqued: use correct time from carOutput ( #31712 )
...
fix timings
1 year ago
Justin Newberry
8ec0d87de0
card: prepare for separate process ( #31660 )
...
* Card
* update ref
* bump cpu
* sub to caroutput
* update ref
1 year ago
Harald Schäfer
85eb221e4c
GpsLocation: Rename accuracy to horizontal accuracy ( #31629 )
...
* Rename accuracy to horizontal accuracy
* typo in cereal
1 year ago
Harald Schäfer
c05b37979d
Wheeled body ( #31614 )
...
* Wheeled body
* 100hz only for balance
* No carparams in locationd no more
* Update ref
1 year ago
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
1 year ago
Cameron Clough
995250ae49
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
1 year ago
Shane Smiskol
c3e3103830
torqued: log raw params if calculable ( #31521 )
...
* log params when calculable
* better
* Update ref_commit
* this is redundant
* this is only used in one place, confusing which to use so remove
* better
1 year ago
Adeeb Shihadeh
279d2c3b23
SubMaster: improve service aliveness checks ( #31391 )
...
* bump cereal
* fix
* fixes
* single poll
* bump
* bump
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Justin Newberry
3846130d8e
pytest: add marker for sharing the download cache ( #31082 )
...
* fix cache
* with a marker
1 year ago
Harald Schäfer
e6c97c3846
Delete lat planner ( #31089 )
...
* Initial commit
* Fixup
* typo
* ignore lateral plan
* Update cereal
* Remove lateralPlan
* Fix release build
* Fix release build
* give car params
* Add carParams to include_all_types
* Write car param in powerdraw test
* add demo mode
* Update model regf
* proc replay ref commit
* Try
* Move enum definition
* Update cereal
* typo
* Write car param for modeld test
* Update ref
* Update model ref again
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
1 year ago
Justin Newberry
d39b31aed1
remove get_url instances ( #30986 )
...
rm
1 year ago
Adeeb Shihadeh
bd8a99ba28
fix put_nonblocking reference
1 year ago
Dean Lee
3c4c4d1f7f
common/params: support nonblocking write ( #29808 )
...
* Safe and efficient asynchronous writing parameters
* call putNonBlocking in locationd
* remove space
* ->AsyncWriter
* remove semicolon
* use member function
* asyc write multiple times
* add test case for AsyncWriter
* merge master
* add missing include
* public
* cleanup
* create once
* cleanup
* update that
* explicit waiting
* improve test case
* pass prefix to asywriter
* move to params
* assert(queue.empty())
* add comment
* add todo
* test_power_monitoring: remove patch
* rm laikad.py
* fix import
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
1 year ago
Jason Wen
fcc671297e
torqued: cache bucket points every minute while onroad ( #30515 )
...
* torqued: cache bucket points every minute while onroad
* use put_nonblocking
* remove caching on exit
* unused
* more unused
* remove logging
1 year ago
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
1 year ago
Adeeb Shihadeh
a1d36961cf
new msgs default to invalid ( #30587 )
...
* new msgs default to invalid
* fix lm
* set more valid
* update rest
* update refs
* fix logMessage
* more valids
* cleanup
* fix llk test
* pigeond is also valid
* more valids
1 year ago
Kacper Rączy
f65e6bc30e
locationd: remove models unused in openpilot ( #30481 )
...
* Remove filters used exclusively by xx
* Update SConstruct
* Remove from release
* Accomodate rednose build changes
* Update rednose ref
* rednose/helpers in rpath
* Add rednose_filters to files_common
* Change rednose_root
* Copy rednose site_scons to docker images
* Remove rednose from rpath
* Bump rednose
* Bump rednose
* Bump rednose
1 year ago
Kacper Rączy
2de13bea91
Remove laika submodule ( #30453 )
...
* Remove laika submodule
* Remove laika check for minimal builds
* Fix minimal build check
* Bring back exclude for opendbc in codespell
* Fix typo
* Copy GNSS indices from laika
* Delete laika dependencies
1 year ago
Justin Newberry
31c682d407
Pytest: load by group by default ( #30466 )
...
* wip
* use a class marker
* this one should be grouped too
1 year ago
Vivek Aithal
2eb487c9a5
params: Remove separate CarParams from each daemon ( #30405 )
...
* remove separate previous route carparams from each daemon and add centrally to controlsd
* extract out sigint handler
* make process replay work for torqued
* don't write param if None
1 year ago
Harald Schäfer
56dea7b0b4
Rm laikad ( #30299 )
...
* rm laika
* Rm laika
* Needed this
* More rm
* More rm
2 years ago
Adeeb Shihadeh
b68cfbb332
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
2 years ago
Vivek Aithal
9e24a11f17
torqued: Refactor to share code with magd ( #30238 )
...
* refactor to extract common functions and classes out
* Add helpers.py to release files
* refactor
2 years ago
Harald Schäfer
2162d149e8
calibrationd: Pitch spread different tolerance ( #30065 )
...
* calibrationd: Pitch spread different tolerance
* Improve calibrationd tests
2 years ago
Vivek Aithal
0461ea8a82
paramsd: Add condition to sensor valid check ( #30066 )
...
add condition to sensorvalid check
2 years ago
Shane Smiskol
61c5618f15
torqued: useParams field reflects if using torque control ( #30059 )
...
fix useParams
2 years ago
Vivek Aithal
6d5f4f149d
locationd: Replace allAliveAndValid with allValid ( #30064 )
...
* replace allaliveandvalid check with allvalid, all necessary time checks are already used
* update refs
2 years ago
Justin Newberry
0251742079
CI: use "slow" marker for pytest ( #30063 )
...
* skip to mark
* fix quotes
2 years ago
Shane Smiskol
7f073483bb
services: capitalize constant service list ( #30005 )
...
* rename
* bump
* Apply suggestions from code review
2 years ago
Justin Newberry
7e54882458
test_locationd: don't redownload logs ( #29929 )
...
don't redownload logs
2 years ago
Vivek Aithal
e9edf1300a
locationd: Unit tests for different scenarios ( #29908 )
...
* add different scenarios for locationd
* add locationd scenario tests to unit tests
2 years ago
Vivek Aithal
01011c6c1d
liblocationd: No longer used ( #29909 )
...
remove liblocationd
2 years ago
Justin Newberry
73eda51a11
System: use paths for download folders too ( #29818 )
...
* use paths for download folders too
* trailing slash
* reset that
2 years ago