remove debugging

old-commit-hash: 50949600aeed231347cc4c600a8a7d24accde674
pull/32103/head
Shane Smiskol 1 year ago
parent 5d87fc5c90
commit f15218c360
  1. 8
      selfdrive/pandad/pandad.cc

@ -7,7 +7,6 @@
#include <cassert> #include <cassert>
#include <cerrno> #include <cerrno>
#include <chrono> #include <chrono>
#include <fstream>
#include <future> #include <future>
#include <memory> #include <memory>
#include <thread> #include <thread>
@ -494,13 +493,6 @@ void panda_state_thread(std::vector<Panda *> pandas, bool spoofing_started) {
rk.keepTime(); rk.keepTime();
} }
// reset the safety mode to avoid faulting the car
LOGE("EXITED!");
std::ofstream f;
f.open("/data/pandad_exited.txt", std::ios_base::app);
f << "exited\n";
if (is_onroad && !engaged) { if (is_onroad && !engaged) {
for (auto &p : pandas) { for (auto &p : pandas) {
p->set_safety_model(cereal::CarParams::SafetyModel::NO_OUTPUT); p->set_safety_model(cereal::CarParams::SafetyModel::NO_OUTPUT);

Loading…
Cancel
Save