From d2b60a33ea326748e3aac73fc3a163fd18db6e22 Mon Sep 17 00:00:00 2001 From: Alopez <alopez@iri.upc.edu> Date: Mon, 4 May 2020 18:15:01 +0200 Subject: [PATCH] Fixed some typos --- src/adc_signals.cpp | 2 +- src/open_drive_format.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/adc_signals.cpp b/src/adc_signals.cpp index 8752130..8071352 100644 --- a/src/adc_signals.cpp +++ b/src/adc_signals.cpp @@ -200,7 +200,7 @@ void CAdcSignals::append_sign_spawn(std::string &filename) std::ostringstream oss; - oss << std::endl << " <include file=\"$(find sign_description)/launch/spwan.launch\">" << std::endl; + oss << std::endl << " <include file=\"$(find sign_description)/launch/spawn.launch\">" << std::endl; oss << " <arg name=\"name\" value=\"" << it->second.type << this->id << "\"/>" << std::endl; oss << " <arg name=\"model\" value=\"" << (this->type == SEMAPHORE_TYPE ? "semaphore": "sign") << "\"/>" << std::endl; oss << " <arg name=\"tag\" value=\"" << it->second.marker << "\"/>" << std::endl; diff --git a/src/open_drive_format.cpp b/src/open_drive_format.cpp index eb9a4f7..549bf12 100644 --- a/src/open_drive_format.cpp +++ b/src/open_drive_format.cpp @@ -25,6 +25,7 @@ void COpenDriveFormat::load(std::string &filename, bool debug) std::cout << "Loading .xodr info..." << std::endl; struct stat buffer; + std::cout << filename << std::endl; if(stat(filename.c_str(),&buffer)==0) { // try to open the specified file @@ -44,7 +45,7 @@ void COpenDriveFormat::load(std::string &filename, bool debug) } } else - throw CException(_HERE_,"The configuration file does not exist"); + throw CException(_HERE_,"The .xodr file does not exist"); } void COpenDriveFormat::calculate_signals_pose(bool debug) -- GitLab