mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
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> old-commit-hash: 76ef1b9b9f725834256d7b3429e2805739ccbed5
This commit is contained in:
@@ -129,7 +129,8 @@ def main(sm=None, pm=None):
|
||||
params_reader = Params()
|
||||
# wait for stats about the car to come in from controls
|
||||
cloudlog.info("paramsd is waiting for CarParams")
|
||||
CP = car.CarParams.from_bytes(params_reader.get("CarParams", block=True))
|
||||
with car.CarParams.from_bytes(params_reader.get("CarParams", block=True)) as msg:
|
||||
CP = msg
|
||||
cloudlog.info("paramsd got CarParams")
|
||||
|
||||
min_sr, max_sr = 0.5 * CP.steerRatio, 2.0 * CP.steerRatio
|
||||
|
||||
Reference in New Issue
Block a user