mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 12:02:09 +08:00
replay: set CarParamsPersistent
old-commit-hash: 26517a0ef920eb7dc89663ee599c1f1d06166c88
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