diff --git a/src/drivers/hemic/hemic.cpp b/src/drivers/hemic/hemic.cpp index eee7e12..f132266 100644 --- a/src/drivers/hemic/hemic.cpp +++ b/src/drivers/hemic/hemic.cpp @@ -623,7 +623,9 @@ void openPositionLog(tBot *bot) { if (bot->distanceLog == NULL) { - bot->distanceLog = fopen("relative_distance.csv", "a"); + //bot->distanceLog = fopen("relative_distance.csv", "a"); + std::cout << "Hemic relative position:\n"; + std::cout << "xDistance, yDistance\n"; } } @@ -637,6 +639,10 @@ void writePositionLog(tBot *bot, float x, float y) x, y ); } + else + { + std::cout << x << ", " << y << "\n"; + } } void closePositionLog(tBot *bot)