From 0c0f41740672aa92e03670acc90d49068c63d49a Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Tue, 21 Feb 2017 19:57:34 -0500 Subject: [PATCH] removed debug prints --- CMakeLists.txt | 4 ++-- Resources/XBee_Config.xml | 8 ++------ Resources/database.xml | 7 +++++-- src/CommunicationManager.cpp | 2 +- src/XMLConfigParser.cpp | 3 ++- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a4fb046..927d79a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,8 +57,8 @@ include_directories( add_executable(xbee_mav src/Xbee.cpp src/XBeeFrame.cpp src/SerialDevice.cpp src/CommunicationManager.cpp src/PacketsHandler) target_link_libraries(xbee_mav ${catkin_LIBRARIES}) -#add_executable(config src/main.cpp src/XBeeModule.cpp src/XMLConfigParser.cpp) -#target_link_libraries(config ${catkin_LIBRARIES}) +add_executable(config src/main.cpp src/XBeeModule.cpp src/XMLConfigParser.cpp) +target_link_libraries(config ${catkin_LIBRARIES}) #add_executable(test_controller src/TestController.cpp) #target_link_libraries(test_controller ${catkin_LIBRARIES}) diff --git a/Resources/XBee_Config.xml b/Resources/XBee_Config.xml index da8ec54..d84901d 100644 --- a/Resources/XBee_Config.xml +++ b/Resources/XBee_Config.xml @@ -5,10 +5,10 @@ 00FFFFFFFFFFFF7FFF 1 5FFF - 3 + 1 4 A - 0 + 2 0 7 1 @@ -22,11 +22,7 @@ 11 0 -<<<<<<< HEAD - 7 -======= 8 ->>>>>>> a16cf8b196cb6b63ef52ea26b8cb9a8e861d84d1 0 0 3 diff --git a/Resources/database.xml b/Resources/database.xml index b64a7a8..d01e33f 100644 --- a/Resources/database.xml +++ b/Resources/database.xml @@ -2,8 +2,8 @@ 0013A20040D8CA1E - 0013A200415A9DDF - 0013A200415A9DDE + 0013A200415278B8 + 0013A2004103B363 0013A200415278AD 0013A2004103B356 0013A200415278B7 @@ -11,4 +11,7 @@ 0013A2004098A7BA 0013A200415A9DDD 0013A200415A9DE4 + 0013A200415A9DDF + 0013A200415A9DDE + diff --git a/src/CommunicationManager.cpp b/src/CommunicationManager.cpp index 1271f89..1959db8 100644 --- a/src/CommunicationManager.cpp +++ b/src/CommunicationManager.cpp @@ -430,7 +430,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Server() // inline void CommunicationManager::Send_Mavlink_Message_Callback( const mavros_msgs::Mavlink::ConstPtr& mavlink_msg) { - std::cout << "Received Message From Buzz" << std::endl; // TO DO delete + //std::cout << "Received Message From Buzz" << std::endl; // TO DO delete packets_handler_.Handle_Mavlink_Message(mavlink_msg); } diff --git a/src/XMLConfigParser.cpp b/src/XMLConfigParser.cpp index 525e75e..9627889 100644 --- a/src/XMLConfigParser.cpp +++ b/src/XMLConfigParser.cpp @@ -7,6 +7,7 @@ #include "XMLConfigParser.h" + //***************************************************************************** XMLConfigParser::XMLConfigParser(): config_loaded_successfully_(false) @@ -23,7 +24,7 @@ XMLConfigParser::~XMLConfigParser() //***************************************************************************** bool XMLConfigParser::Load_Config() { - const std::string FILE_NAME = "/home/mistlab/catkin_ws/src/xbee_ros_node/Resources/XBee_Config.xml"; + const std::string FILE_NAME = "/home/vivek/catkin_ws/src/xbee_ros_node/Resources/XBee_Config.xml"; if (Check_Config_File_Exists(FILE_NAME)) {