Justin Newberry
bc2407abeb
move card to selfdrive/car/card ( #31693 )
...
* more obivous dif
* release
2024-03-04 10:45:32 -08:00
Justin Newberry
8ec0d87de0
card: prepare for separate process ( #31660 )
...
* Card
* update ref
* bump cpu
* sub to caroutput
* update ref
2024-03-04 09:53:42 -08:00
Adeeb Shihadeh
d8ce15a869
controlsd: increase initializing timeout ( #31535 )
2024-02-21 16:23:43 -08:00
Justin Newberry
00315325a3
controlsd: move carParams management to card ( #31534 )
...
* card-manage
* fix
* init params
* reversed that
* can be in the init
2024-02-21 16:11:00 -08:00
Justin Newberry
837b811f9c
Split out can control into new "card" class ( #31529 )
...
* card v1
* fix car events
* fix proc replay
* lets keep that the same
* no extra space here
* move can recv timeouts to card
* organize imports
* organize imports
* slightly bump cpu
* not a card!
2024-02-21 13:18:43 -08:00
Justin Newberry
0eba392cf2
controlsd: sort imports ( #31531 )
...
sort imports
2024-02-21 11:58:04 -08:00
Adeeb Shihadeh
b28daef34a
controlsd: allow mismatch while boardd reads back mode ( #31505 )
...
* controlsd: allow mismatch while boardd reads back mode
* self
2024-02-18 14:43:42 -08:00
Adeeb Shihadeh
b218abcaa3
controlsd: increase initializing timeout
2024-02-16 13:35:45 -08:00
Adeeb Shihadeh
d31269f663
fix no GPS alert when driving slowly in a tunnel ( #31483 )
2024-02-15 11:52:57 -08:00
Adeeb Shihadeh
194bd85905
log all startups
2024-02-14 11:44:19 -08:00
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 >
2024-02-12 10:11:37 -08:00
Adeeb Shihadeh
daceb171bd
bump cereal ( #31392 )
...
* bump cereal
* update those
* update refs
* bump cereal
* bump
* bump cereal
* bump
* fix
* bump
* typo:
2024-02-09 21:44:23 -08:00
Adeeb Shihadeh
013d4bd4ce
controlsd: log initializing timeouts
2024-02-08 21:26:07 -08:00
Greg Hogan
7affba06d8
simplify git remote is comma check ( #31284 )
...
* simplify git remote is comma check
* cast to str
* eliminate default and always return string
* add type annotation for cache decorator
* fix up default handling
2024-02-02 21:23:32 -08:00
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 >
2024-01-21 12:09:48 -08:00
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
2024-01-19 14:05:03 -08:00
Harald Schäfer
d36103791c
No curv rate for lateral control ( #31042 )
...
* No more Curvature rate for lat control
* Update cereal
* Update
* Fix lat control test
2024-01-17 16:00:50 -08:00
Adeeb Shihadeh
f0ccb84ae3
remove common.profiler ( #30927 )
...
* remove common.profiler
* cleanup
2024-01-06 16:20:28 -08:00
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 >
2023-12-13 20:36:01 -08:00
Adeeb Shihadeh
fe24bdc689
read params in a thread
2023-12-13 19:00:22 -08:00
Kacper Rączy
e62756596b
controlsd: require joystick mode param for the body ( #30680 )
...
* Update joystick mode in step
* Stop putting the body in joystick mode by default
* Toggle JoystickDebugMode by default for notCars in process_replay
* Remove subsection about web joystick
* Update param only in non-cars
* Make joystickDebug non-static event, and add it in a loop
* Add comment
2023-12-12 14:14:51 -08:00
Kacper Rączy
7f07f47302
locationd: disable locationd temporary error alert on the body ( #30608 )
...
* Disable locationd temporary error alert on the body
* Disable locationd/paramsd/planner alerts on body with joystick mode
* joystick_enabled param not joystick_mode
2023-12-07 10:53:33 -08:00
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
2023-12-06 17:27:51 -08:00
Shane Smiskol
09a9ba6de1
joystick: bump max angle ( #30602 )
2023-12-04 21:16:33 -08:00
Adeeb Shihadeh
ce4bac8218
remove unused last_actuators arg from lateral controllers ( #30595 )
2023-12-03 15:54:18 -08:00
Adeeb Shihadeh
bd0ab957b1
add carParams.passive ( #30594 )
2023-12-03 14:09:37 -08:00
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
2023-12-03 10:50:17 -08:00
Adeeb Shihadeh
8971e2c177
longitudinal tests: cleanup old hacks ( #30585 )
2023-12-02 10:01:28 -08:00
Adeeb Shihadeh
531e62fc03
clear non-release params on startup ( #30583 )
2023-12-01 23:57:54 -08:00
Adeeb Shihadeh
b97e5b0e03
rename carEvents -> onroadEvents ( #30577 )
...
* rename carEvents -> onroadEvents
* bump cereal
* bump cereal
2023-12-01 22:48:29 -08:00
Adeeb Shihadeh
8e00ce672d
controlsd: remove old process replay sentinel ( #30581 )
2023-12-01 22:42:43 -08:00
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
2023-11-08 15:25:41 -08:00
Kacper Rączy
c419376bbd
controlsd: reset axes in joystick mode if message is old ( #30409 )
...
Reset joystick if it wasnt received after 0.2 sec
2023-11-07 15:48:13 -08:00
Adeeb Shihadeh
b68cfbb332
cleanup old sm pm args ( #30241 )
...
* cleanup sm pm
* fix controlsd
* fix
2023-10-13 23:27:04 -07:00
Adeeb Shihadeh
a4aa801fbe
simplify sensor alert ( #29824 )
...
* simplify
* update proc replay
2023-09-26 16:47:21 -07:00
coffee-cake-isaac
c43325fa17
joystick mode: add curvature control ( #30010 )
...
* Added curvature controls to joystick mode
* same line
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2023-09-22 21:53:31 -07:00
Vivek Aithal
00d1c682b0
Alerts: More understandable locationd, paramsd alerts ( #29831 )
...
* add locationd paramsd alerts
* remove more additions, just renames
* update refs
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update selfdrive/controls/lib/events.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* resolve comemnts
* update cereal
* update refs
* remove nosensor in new alerts
* bump cereal
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-09-11 16:28:42 -07:00
Lee Jong Mun
238f9d65db
cleanup remnants of LQR and INDI tuning ( #29860 )
...
* not use 'indi' cleanup
* bump cereal
* rm more
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-09-10 16:30:13 -07:00
Vivek Aithal
dbada885ac
locationd: Add camera-IMU cross-checks ( #29727 )
...
* camera-gyro cross checks, but one way
* increase factor to account for gyro noise (potholes, bad roads etc
* increase factor to reduce FP with device taps, bad roads, etc
* factor to 30
* add inputsok to sensoir data invalid alert
* bugfix
* move the sensors check
* add localizer catchall alert
* update refcommit
* remove permanent alert
* revert sensorDataInvalid alert change, split into new PR
2023-09-06 21:01:01 -07:00
Adeeb Shihadeh
ec479322d3
Revert "params: safe and efficient async writing parameters ( #25912 )"
...
This reverts commit 0d797f4e8b .
2023-09-06 13:44:20 -07:00
Dean Lee
0d797f4e8b
params: safe and efficient async writing parameters ( #25912 )
...
* 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
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-09-06 08:50:28 -07:00
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
d61f86d339
replace custom clock helpers with time module ( #29499 )
...
* replace custom clock stuff wtih time module
* fix double
* fix release
* bump cereal
* update type
* fix one more
2023-08-20 18:50:58 -07:00
Justin Newberry
8793cbff40
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
2023-08-10 18:58:22 -07:00
Justin Newberry
cf64b27168
Linter: Fix >160 line length test ( #29287 )
...
* test
* fix line length
* fix line length
* fix file size
* revert poetry
* cleanup for PR
2023-08-08 17:13:35 -07:00
Vivek Aithal
92448012f0
[commabody] Support both self-balancing bodies and the wheeled bodies ( #29118 )
...
* add wheeled body support
* add WheeledBody param
* make movement less jerky
2023-07-24 19:49:51 -07:00
Adeeb Shihadeh
1945c356c2
agnos 8 ( #28843 )
...
* agnos 8
* update to python 3.11.4 (#27452 )
* rebase
* optional
* lower cython
* TEMP don't pull cl to use python3.11
* Revert "lower cython"
This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.
* fix cython
* remove tensorrt
* carla + opencv
* macos
* update timm and smp
* pynvc
* https
* downgrade numpy
* pin scipy
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
Co-authored-by: Yassine <yassine.y10@gmail.com >
* revert that
* fix linter
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
Co-authored-by: Yassine <yassine.y10@gmail.com >
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
83c5d11dff
controlsd: write ControlsReady in thread ( #29048 )
2023-07-19 19:13:18 -07:00
Adeeb Shihadeh
9c307f2550
Revert "Update pycapnp and Cython ( #29021 )"
...
This reverts commit 76ef1b9b9f .
2023-07-18 18:47:35 -07:00
Maxime Desroches
76ef1b9b9f
Update pycapnp and Cython ( #29021 )
...
* cython + pycapnp
* from_bytes with context
* poetry lock
* limit numpy
* force build
* Revert "force build"
This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2023-07-18 16:40:36 -07:00