mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
sim: fix CAN error and block loggerd
This commit is contained in:
@@ -5,5 +5,8 @@ export NOBOARD="1"
|
||||
export SIMULATION="1"
|
||||
export FINGERPRINT="HONDA CIVIC 2016"
|
||||
|
||||
# TODO: remove this once the bridge uses visionipc
|
||||
export BLOCK="loggerd"
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
cd ../../selfdrive/manager && ./manager.py
|
||||
|
||||
@@ -62,6 +62,7 @@ def can_function(pm, speed, angle, idx, cruise_button, is_engaged):
|
||||
msg.append(packer.make_can_msg("CRUISE", 0, {}, idx))
|
||||
msg.append(packer.make_can_msg("SCM_FEEDBACK", 0, {"MAIN_ON": 1}, idx))
|
||||
msg.append(packer.make_can_msg("POWERTRAIN_DATA", 0, {"ACC_STATUS": int(is_engaged)}, idx))
|
||||
msg.append(packer.make_can_msg("HUD_SETTING", 0, {}, idx))
|
||||
|
||||
# *** cam bus ***
|
||||
msg.append(packer.make_can_msg("STEERING_CONTROL", 2, {}, idx))
|
||||
|
||||
Reference in New Issue
Block a user