mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
C++ Process replay improvements - Part 1 (#20828)
* C++ Process replay improvements * revert that change * create publisher before subscribers * dont block forever, print warning * add comment * create sockets after process init * try once more to receive the message * SIMULATION env variable * print message num when no response
This commit is contained in:
@@ -340,8 +340,8 @@ kj::ArrayPtr<capnp::byte> Localizer::get_message_bytes(MessageBuilder& msg_build
|
||||
int Localizer::locationd_thread() {
|
||||
const std::initializer_list<const char *> service_list =
|
||||
{ "gpsLocationExternal", "sensorEvents", "cameraOdometry", "liveCalibration", "carState" };
|
||||
SubMaster sm(service_list, nullptr, { "gpsLocationExternal" });
|
||||
PubMaster pm({ "liveLocationKalman" });
|
||||
SubMaster sm(service_list, nullptr, { "gpsLocationExternal" });
|
||||
|
||||
Params params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user