replay: replay deprecated pandaState if pandaStates is whitelisted (#28275)

old-commit-hash: 00ff096ca2
beeps
Kacper Rączy 2 years ago committed by GitHub
parent a48b67f720
commit 3c1ae19261
  1. 3
      tools/replay/replay.cc

@ -30,6 +30,9 @@ Replay::Replay(QString route, QStringList allow, QStringList block, SubMaster *s
// the following events are needed for replay to work properly. // the following events are needed for replay to work properly.
allow_list.insert(cereal::Event::Which::INIT_DATA); allow_list.insert(cereal::Event::Which::INIT_DATA);
allow_list.insert(cereal::Event::Which::CAR_PARAMS); allow_list.insert(cereal::Event::Which::CAR_PARAMS);
if (sockets_[cereal::Event::Which::PANDA_STATES] != nullptr) {
allow_list.insert(cereal::Event::Which::PANDA_STATE_D_E_P_R_E_C_A_T_E_D);
}
} }
qDebug() << "services " << s; qDebug() << "services " << s;

Loading…
Cancel
Save