Skip to content

Commit eac65ad

Browse files
author
Thiemo Wiedemeyer
committed
renamed depth_registration package to kinect2_registration.
renamed registration_viewer package to kinect2_viewer.
1 parent 3e0e637 commit eac65ad

21 files changed

+31
-35
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ This is a collection of tools and libraries for a ROS Interface to the Kinect On
1818

1919
It contains:
2020
- [a calibration tool](kinect2_calibration) for calibrating the IR sensor of the Kinect One to the RGB sensor and the depth measurements
21-
- [a library](depth_registration) for depth registration with OpenCL support
21+
- [a library](kinect2_registration) for depth registration with OpenCL support
2222
- [the bridge](kinect2_bridge) between [libfreenect2](https://github.com/OpenKinect/libfreenect2) and [ROS](http://www.ros.org/)
23-
- [a viewer](registration_viewer) for the images / point clouds
23+
- [a viewer](kinect2_viewer) for the images / point clouds
2424

2525
## FAQ
2626

@@ -53,7 +53,7 @@ make & sudo make install
5353

5454
#### rosdep: Cannot locate rosdep definition for [kinect2_bridge] or [depth_registration]
5555

56-
`rosdep` will output errors on not being able to locate `[kinect2_bridge]` and `[depth_registration]`. That is fine because they are all part of the iai_kinect2 package and `rosdep` does not know these packages.
56+
`rosdep` will output errors on not being able to locate `[kinect2_bridge]` and `[kinect2_registration]`. That is fine because they are all part of the iai_kinect2 package and `rosdep` does not know these packages.
5757

5858
#### Protonect or kinect2_bridge outputs [TransferPool::submit] failed to submit transfer
5959

@@ -131,7 +131,7 @@ rosrun kinect2_bridge kinect2_bridge
131131
```
132132
6. Calibrate your sensor using the `kinect2_calibration`. [Further details](kinect2_calibration#calibrating-the-kinect-one)
133133
7. Add the calibration files to the `kinect2_bridge/data/<serialnumber>` folder. [Further details](kinect2_bridge#first-steps)
134-
8. Restart `kinect2_bridge` and view the results using `rosrun registration_viewer viewer -kinect2 -cloud`.
134+
8. Restart `kinect2_bridge` and view the results using `rosrun kinect2_viewer kinect2_viewer kinect2 sd cloud`.
135135

136136
## Permissions to access the Kinect One
137137

iai_kinect2/package.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<buildtool_depend>catkin</buildtool_depend>
1313

1414
<run_depend>kinect2_calibration</run_depend>
15-
<run_depend>registration_viewer</run_depend>
15+
<run_depend>kinect2_viewer</run_depend>
1616
<run_depend>kinect2_bridge</run_depend>
17-
<run_depend>depth_registration</run_depend>
17+
<run_depend>kinect2_registration</run_depend>
1818

1919
<export>
2020
<metapackage/>

kinect2_bridge/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ENDIF()
2121

2222
find_package(freenect2 REQUIRED)
2323

24-
find_package(catkin REQUIRED COMPONENTS roscpp rostime std_msgs sensor_msgs nodelet cv_bridge compressed_depth_image_transport depth_registration)
24+
find_package(catkin REQUIRED COMPONENTS roscpp rostime std_msgs sensor_msgs nodelet cv_bridge compressed_depth_image_transport kinect2_registration)
2525

2626
## System dependencies are found with CMake's conventions
2727
find_package(OpenCV REQUIRED)

kinect2_bridge/src/kinect2_bridge.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#include <libfreenect2/registration.h>
4949

5050
#include <kinect2_definitions.h>
51-
#include <depth_registration.h>
51+
#include <kinect2_registration.h>
5252

5353
class Kinect2Bridge
5454
{

kinect2_calibration/package.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<build_depend>std_msgs</build_depend>
1616
<build_depend>sensor_msgs</build_depend>
1717
<build_depend>message_filters</build_depend>
18-
<build_depend>cv_bridge</build_depend>
1918
<build_depend>image_transport</build_depend>
2019
<build_depend>compressed_image_transport</build_depend>
2120
<build_depend>compressed_depth_image_transport</build_depend>
@@ -28,7 +27,6 @@
2827
<run_depend>std_msgs</run_depend>
2928
<run_depend>sensor_msgs</run_depend>
3029
<run_depend>message_filters</run_depend>
31-
<run_depend>cv_bridge</run_depend>
3230
<run_depend>image_transport</run_depend>
3331
<run_depend>compressed_image_transport</run_depend>
3432
<run_depend>compressed_depth_image_transport</run_depend>

depth_registration/CMakeLists.txt renamed to kinect2_registration/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 2.8.3)
2-
project(depth_registration)
2+
project(kinect2_registration)
33

44
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBT_USE_DOUBLE_PRECISION -Wall")
55
# Unused warnings
@@ -76,10 +76,10 @@ endif()
7676
## DEPENDS: system dependencies of this project that dependent projects also need
7777
catkin_package(
7878
INCLUDE_DIRS include
79-
LIBRARIES depth_registration
79+
LIBRARIES kinect2_registration
8080
# CATKIN_DEPENDS other_catkin_pkg
8181
# DEPENDS system_lib
82-
CFG_EXTRAS depth_registration.cmake
82+
CFG_EXTRAS kinect2_registration.cmake
8383
)
8484

8585
###########
@@ -114,8 +114,8 @@ if(DEPTH_REG_OPENCL)
114114
set(MODULE_LIBS ${MODULE_LIBS} ${OPENCL_LIBRARIES})
115115
endif()
116116

117-
add_library(depth_registration SHARED src/depth_registration.cpp ${MODULES})
118-
target_link_libraries(depth_registration
117+
add_library(kinect2_registration SHARED src/kinect2_registration.cpp ${MODULES})
118+
target_link_libraries(kinect2_registration
119119
${catkin_LIBRARIES}
120120
${OpenCV_LIBRARIES}
121121
${MODULE_LIBS}

depth_registration/README.md renamed to kinect2_registration/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Depth Registration
1+
# Kinect2 Registration
22

33
## Maintainer
44

depth_registration/include/depth_registration.h renamed to kinect2_registration/include/kinect2_registration.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
*/
1717

1818
#pragma once
19-
#ifndef __DEPTH_REGISTRATION_H__
20-
#define __DEPTH_REGISTRATION_H__
19+
#ifndef __KINECT2_REGISTRATION_H__
20+
#define __KINECT2_REGISTRATION_H__
2121

2222
#include <vector>
2323

@@ -54,4 +54,4 @@ class DepthRegistration
5454
static DepthRegistration *New(Method method = DEFAULT);
5555
};
5656

57-
#endif //__DEPTH_REGISTRATION_H__
57+
#endif //__KINECT2_REGISTRATION_H__

depth_registration/package.xml renamed to kinect2_registration/package.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<package>
3-
<name>depth_registration</name>
3+
<name>kinect2_registration</name>
44
<version>0.0.1</version>
5-
<description>The depth_registration package</description>
5+
<description>The kinect2_registration package</description>
66

77
<maintainer email="[email protected]">Thiemo Wiedemeyer</maintainer>
88

depth_registration/src/depth_registration_cpu.h renamed to kinect2_registration/src/depth_registration_cpu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include <Eigen/Geometry>
2323

24-
#include <depth_registration.h>
24+
#include <kinect2_registration.h>
2525

2626
class DepthRegistrationCPU : public DepthRegistration
2727
{

depth_registration/src/depth_registration_opencl.h renamed to kinect2_registration/src/depth_registration_opencl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef __DEPTH_REGISTRATION_OPENCL_H__
2020
#define __DEPTH_REGISTRATION_OPENCL_H__
2121

22-
#include <depth_registration.h>
22+
#include <kinect2_registration.h>
2323

2424
class DepthRegistrationOpenCL : public DepthRegistration
2525
{

depth_registration/src/depth_registration.cpp renamed to kinect2_registration/src/kinect2_registration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include <depth_registration.h>
18+
#include <kinect2_registration.h>
1919

2020
#ifdef DEPTH_REG_CPU
2121
#include "depth_registration_cpu.h"

registration_viewer/CMakeLists.txt renamed to kinect2_viewer/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 2.8.3)
2-
project(registration_viewer)
2+
project(kinect2_viewer)
33

44
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DBT_USE_DOUBLE_PRECISION -Wall")
55
# Unused warnings
@@ -68,8 +68,8 @@ include_directories(include
6868
${PCL_INCLUDE_DIRS}
6969
)
7070

71-
add_executable(viewer src/viewer.cpp)
72-
target_link_libraries(viewer
71+
add_executable(kinect2_viewer src/viewer.cpp)
72+
target_link_libraries(kinect2_viewer
7373
${catkin_LIBRARIES}
7474
${OpenCV_LIBRARIES}
7575
${PCL_LIBRARIES}

registration_viewer/README.md renamed to kinect2_viewer/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Registration Viewer
1+
# Kinect2 Viewer
22

33
## Maintainer
44

@@ -21,7 +21,7 @@ It just listens to two ROS topics and displays a the color with the overlayed co
2121
## Usage
2222

2323
```
24-
viewer [options]
24+
kinect2_viewer [options]
2525
name: 'any string' equals to the kinect2_bridge topic base name
2626
mode: 'qhd', 'hd', 'sd' or 'ir'
2727
visualization: 'image', 'cloud' or 'both'
@@ -30,7 +30,7 @@ viewer [options]
3030
'approx' use approximate time synchronization
3131
```
3232

33-
Example: `rosrun registration_viewer viewer kinect2 sd cloud`
33+
Example: `rosrun kinect2_viewer kinect2_viewer kinect2 sd cloud`
3434

3535
## Key bindings
3636

registration_viewer/package.xml renamed to kinect2_viewer/package.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<package>
3-
<name>registration_viewer</name>
3+
<name>kinect2_viewer</name>
44
<version>0.0.1</version>
5-
<description>The registration_viewer package</description>
5+
<description>The kinect2_viewer package</description>
66

77
<maintainer email="[email protected]">Thiemo Wiedemeyer</maintainer>
88

@@ -15,7 +15,6 @@
1515
<build_depend>std_msgs</build_depend>
1616
<build_depend>sensor_msgs</build_depend>
1717
<build_depend>message_filters</build_depend>
18-
<build_depend>cv_bridge</build_depend>
1918
<build_depend>image_transport</build_depend>
2019
<build_depend>compressed_image_transport</build_depend>
2120
<build_depend>compressed_depth_image_transport</build_depend>
@@ -29,7 +28,6 @@
2928
<run_depend>std_msgs</run_depend>
3029
<run_depend>sensor_msgs</run_depend>
3130
<run_depend>message_filters</run_depend>
32-
<run_depend>cv_bridge</run_depend>
3331
<run_depend>image_transport</run_depend>
3432
<run_depend>compressed_image_transport</run_depend>
3533
<run_depend>compressed_depth_image_transport</run_depend>

registration_viewer/src/viewer.cpp renamed to kinect2_viewer/src/viewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ void help(const std::string &path)
524524

525525
int main(int argc, char **argv)
526526
{
527-
ros::init(argc, argv, "viewer", ros::init_options::AnonymousName);
527+
ros::init(argc, argv, "kinect2_viewer", ros::init_options::AnonymousName);
528528

529529
if(!ros::ok())
530530
{

0 commit comments

Comments
 (0)