From e361127526b8333a9032e42e96db1779f0e30ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Enrique=20Dom=C3=ADnguez?= <jdominguez@iri.upc.edu> Date: Tue, 8 Oct 2019 10:22:02 +0200 Subject: [PATCH] Name: iri_hole_detection --> iri_nav_hole_detection --- CMakeLists.txt | 2 +- cfg/HoleDetection.cfg | 2 +- include/hole_detection_alg.h | 6 +++--- include/hole_detection_alg_node.h | 6 +++--- package.xml | 4 ++-- ...ole_detection_alg.cpp => iri_nav_hole_detection_alg.cpp} | 2 +- ...ion_alg_node.cpp => iri_nav_hole_detection_alg_node.cpp} | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) rename src/{hole_detection_alg.cpp => iri_nav_hole_detection_alg.cpp} (98%) rename src/{hole_detection_alg_node.cpp => iri_nav_hole_detection_alg_node.cpp} (98%) diff --git a/CMakeLists.txt b/CMakeLists.txt index c250d3c..a0d473b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # The new CMakeLists.txt file starts here # ******************************************************************** cmake_minimum_required(VERSION 2.8.3) -project(iri_hole_detection) +project(iri_nav_hole_detection) ## Find catkin macros and libraries #find_package(catkin REQUIRED) diff --git a/cfg/HoleDetection.cfg b/cfg/HoleDetection.cfg index 37c7a06..22986f7 100755 --- a/cfg/HoleDetection.cfg +++ b/cfg/HoleDetection.cfg @@ -31,7 +31,7 @@ # Author: -PACKAGE='iri_hole_detection' +PACKAGE='iri_nav_hole_detection' from dynamic_reconfigure.parameter_generator_catkin import * diff --git a/include/hole_detection_alg.h b/include/hole_detection_alg.h index 2b15b26..af042b7 100644 --- a/include/hole_detection_alg.h +++ b/include/hole_detection_alg.h @@ -22,10 +22,10 @@ // refer to the IRI wiki page for more information: // http://wikiri.upc.es/index.php/Robotics_Lab -#ifndef _hole_detection_alg_h_ -#define _hole_detection_alg_h_ +#ifndef _iri_nav_hole_detection_alg_h_ +#define _iri_nav_hole_detection_alg_h_ -#include <iri_hole_detection/HoleDetectionConfig.h> +#include <iri_nav_hole_detection/HoleDetectionConfig.h> #include "mutex.h" #include <pcl_ros/point_cloud.h> diff --git a/include/hole_detection_alg_node.h b/include/hole_detection_alg_node.h index 508faea..354505e 100644 --- a/include/hole_detection_alg_node.h +++ b/include/hole_detection_alg_node.h @@ -22,11 +22,11 @@ // refer to the IRI wiki page for more information: // http://wikiri.upc.es/index.php/Robotics_Lab -#ifndef _hole_detection_alg_node_h_ -#define _hole_detection_alg_node_h_ +#ifndef _iri_nav_hole_detection_alg_node_h_ +#define _iri_nav_hole_detection_alg_node_h_ #include <iri_base_algorithm/iri_base_algorithm.h> -#include "hole_detection_alg.h" +#include "iri_nav_hole_detection_alg.h" #include <ros/ros.h> //#include <ros/publisher.h> diff --git a/package.xml b/package.xml index 373dba0..7e51220 100644 --- a/package.xml +++ b/package.xml @@ -1,8 +1,8 @@ <?xml version="1.0"?> <package> - <name>iri_hole_detection</name> + <name>iri_nav_hole_detection</name> <version>1.0.0</version> - <description>iri_hole_detection</description> + <description>iri_nav_hole_detection</description> <!-- One maintainer tag required, multiple allowed, one person per tag --> <!-- Example: --> diff --git a/src/hole_detection_alg.cpp b/src/iri_nav_hole_detection_alg.cpp similarity index 98% rename from src/hole_detection_alg.cpp rename to src/iri_nav_hole_detection_alg.cpp index 4ec39be..f72fbbb 100644 --- a/src/hole_detection_alg.cpp +++ b/src/iri_nav_hole_detection_alg.cpp @@ -1,4 +1,4 @@ -#include "hole_detection_alg.h" +#include "iri_nav_hole_detection_alg.h" using namespace std; HoleDetectionAlgorithm::HoleDetectionAlgorithm(void) diff --git a/src/hole_detection_alg_node.cpp b/src/iri_nav_hole_detection_alg_node.cpp similarity index 98% rename from src/hole_detection_alg_node.cpp rename to src/iri_nav_hole_detection_alg_node.cpp index b34c54b..5159593 100644 --- a/src/hole_detection_alg_node.cpp +++ b/src/iri_nav_hole_detection_alg_node.cpp @@ -1,4 +1,4 @@ -#include "hole_detection_alg_node.h" +#include "iri_nav_hole_detection_alg_node.h" HoleDetectionAlgNode::HoleDetectionAlgNode(void) : algorithm_base::IriBaseAlgorithm<HoleDetectionAlgorithm>(),hole_min_p(60),box_z_end(0),box_x_ini(1), @@ -136,5 +136,5 @@ void HoleDetectionAlgNode::addNodeDiagnostics(void) /* main function */ int main(int argc,char *argv[]) { - return algorithm_base::main<HoleDetectionAlgNode>(argc, argv, "hole_detection_alg_node"); + return algorithm_base::main<HoleDetectionAlgNode>(argc, argv, "iri_nav_hole_detection_alg_node"); } -- GitLab