software/final/alf_car/src/slam/SlamMap.cpp
void SlamMap::createTxtPositionFile() {

    //std::string mapCounterStr = std::to_string(mapCounter_);
    //std::string positionDataFile = "position" + mapCounterStr +  ".txt";
    std::string positionDataFile = "position.txt";
    FILE* out = fopen(positionDataFile.c_str(), "w");
    fprintf(out, "%d\n%d\n%.2f", getPixelX(), getPixelY(), theta);
    fclose(out);

}
/**
 * creates a position.txt file containing x, y, theta
 */
creates a position.txt file containing x, y, theta
creates a position . txt file containing x y theta
void SlamMap::createTxtPositionFile() {
    std::string positionDataFile = "position.txt";
    FILE* out = fopen(positionDataFile.c_str(), "w");
    fprintf(out, "%d\n%d\n%.2f", getPixelX(), getPixelY(), theta);
    fclose(out);
}
void SlamMap :: createTxtPositionFile ( ) { std :: string positionDataFile = " " ; FILE * out = fopen ( positionDataFile . c_str ( ) , " " ) ; fprintf ( out , " \n \n " , getPixelX ( ) , getPixelY ( ) , theta ) ; fclose ( out ) ; }
creates a position.txt file containing x, y, theta
creates a position . txt file containing x y theta
//std::string mapCounterStr = std::to_string(mapCounter_); //std::string positionDataFile = "position" + mapCounterStr +  ".txt";