From 6789c2f74dc47f8b111492cc6d90aae2e2d006e6 Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Mon, 21 Nov 2022 14:52:53 +0900 Subject: [PATCH] remove unnecessary cpm_facilities, change .db path Signed-off-by: Yu Asabe --- src/cpm_application.cpp | 6 ++---- src/v2x_app.cpp | 2 -- src/v2x_node.cpp | 2 -- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/cpm_application.cpp b/src/cpm_application.cpp index f832387..0a89efe 100644 --- a/src/cpm_application.cpp +++ b/src/cpm_application.cpp @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -30,7 +29,6 @@ #include using namespace vanetza; -using namespace vanetza::facilities; using namespace std::chrono; namespace v2x { @@ -612,7 +610,7 @@ namespace v2x { sqlite3 *db = NULL; char* err = NULL; - int ret = sqlite3_open("./src/autoware_v2x/db/autoware_v2x.db", &db); + int ret = sqlite3_open("autoware_v2x.db", &db); if (ret != SQLITE_OK) { RCLCPP_INFO(node_->get_logger(), "DB File Open Error"); return; @@ -648,7 +646,7 @@ namespace v2x { sqlite3 *db = NULL; char* err = NULL; - int ret = sqlite3_open("./src/autoware_v2x/db/autoware_v2x.db", &db); + int ret = sqlite3_open("autoware_v2x.db", &db); if (ret != SQLITE_OK) { RCLCPP_INFO(node_->get_logger(), "DB File Open Error"); return; diff --git a/src/v2x_app.cpp b/src/v2x_app.cpp index b6498b3..0eaf010 100644 --- a/src/v2x_app.cpp +++ b/src/v2x_app.cpp @@ -14,7 +14,6 @@ #include "tf2/LinearMath/Matrix3x3.h" #include -#include #include #include #include @@ -25,7 +24,6 @@ namespace gn = vanetza::geonet; using namespace vanetza; -using namespace vanetza::facilities; using namespace std::chrono; namespace v2x diff --git a/src/v2x_node.cpp b/src/v2x_node.cpp index a951625..f83fa54 100644 --- a/src/v2x_node.cpp +++ b/src/v2x_node.cpp @@ -11,7 +11,6 @@ #include "std_msgs/msg/string.hpp" #include -#include #include #include #include @@ -25,7 +24,6 @@ namespace gn = vanetza::geonet; using namespace vanetza; -using namespace vanetza::facilities; using namespace std::chrono; namespace v2x