mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-03 16:33:53 +08:00
replay: set CarParamsPersistent
This commit is contained in:
@@ -290,6 +290,7 @@ void Replay::startStream(const Segment *cur_segment) {
|
||||
auto words = capnp::messageToFlatArray(builder);
|
||||
auto bytes = words.asBytes();
|
||||
Params().put("CarParams", (const char *)bytes.begin(), bytes.size());
|
||||
Params().put("CarParamsPersistent", (const char *)bytes.begin(), bytes.size());
|
||||
} else {
|
||||
rWarning("failed to read CarParams from current segment");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user