remove unnecessary cpm_facilities, change .db path

Signed-off-by: Yu Asabe <yuasabe@g.ecc.u-tokyo.ac.jp>
This commit is contained in:
Yu Asabe 2022-11-21 14:52:53 +09:00
parent 9bcdb33b6f
commit 6789c2f74d
3 changed files with 2 additions and 8 deletions

View File

@ -11,7 +11,6 @@
#include <vanetza/btp/ports.hpp> #include <vanetza/btp/ports.hpp>
#include <vanetza/asn1/cpm.hpp> #include <vanetza/asn1/cpm.hpp>
#include <vanetza/asn1/packet_visitor.hpp> #include <vanetza/asn1/packet_visitor.hpp>
#include <vanetza/facilities/cpm_functions.hpp>
#include <chrono> #include <chrono>
#include <functional> #include <functional>
#include <iostream> #include <iostream>
@ -30,7 +29,6 @@
#include <math.h> #include <math.h>
using namespace vanetza; using namespace vanetza;
using namespace vanetza::facilities;
using namespace std::chrono; using namespace std::chrono;
namespace v2x { namespace v2x {
@ -612,7 +610,7 @@ namespace v2x {
sqlite3 *db = NULL; sqlite3 *db = NULL;
char* err = 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) { if (ret != SQLITE_OK) {
RCLCPP_INFO(node_->get_logger(), "DB File Open Error"); RCLCPP_INFO(node_->get_logger(), "DB File Open Error");
return; return;
@ -648,7 +646,7 @@ namespace v2x {
sqlite3 *db = NULL; sqlite3 *db = NULL;
char* err = 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) { if (ret != SQLITE_OK) {
RCLCPP_INFO(node_->get_logger(), "DB File Open Error"); RCLCPP_INFO(node_->get_logger(), "DB File Open Error");
return; return;

View File

@ -14,7 +14,6 @@
#include "tf2/LinearMath/Matrix3x3.h" #include "tf2/LinearMath/Matrix3x3.h"
#include <vanetza/asn1/cpm.hpp> #include <vanetza/asn1/cpm.hpp>
#include <vanetza/facilities/cpm_functions.hpp>
#include <sstream> #include <sstream>
#include <memory> #include <memory>
#include <GeographicLib/UTMUPS.hpp> #include <GeographicLib/UTMUPS.hpp>
@ -25,7 +24,6 @@
namespace gn = vanetza::geonet; namespace gn = vanetza::geonet;
using namespace vanetza; using namespace vanetza;
using namespace vanetza::facilities;
using namespace std::chrono; using namespace std::chrono;
namespace v2x namespace v2x

View File

@ -11,7 +11,6 @@
#include "std_msgs/msg/string.hpp" #include "std_msgs/msg/string.hpp"
#include <vanetza/asn1/cpm.hpp> #include <vanetza/asn1/cpm.hpp>
#include <vanetza/facilities/cpm_functions.hpp>
#include <sstream> #include <sstream>
#include <memory> #include <memory>
#include <boost/thread.hpp> #include <boost/thread.hpp>
@ -25,7 +24,6 @@
namespace gn = vanetza::geonet; namespace gn = vanetza::geonet;
using namespace vanetza; using namespace vanetza;
using namespace vanetza::facilities;
using namespace std::chrono; using namespace std::chrono;
namespace v2x namespace v2x