Skip to content

Commit f0176aa

Browse files
committed
refactoring to release
1 parent 7fe40ec commit f0176aa

File tree

18 files changed

+163
-137
lines changed

18 files changed

+163
-137
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ notifications:
1818
1919
env:
2020
matrix:
21-
- ROS_DISTRO="kinetic" ROS_REPOSITORY_PATH=http://packages.ros.org/ros/ubuntu USE_DEB=true
22-
- ROS_DISTRO="kinetic" PRERELEASE=true PRERELEASE_DOWNSTREAM_DEPTH=0
23-
matrix:
24-
allow_failures:
25-
- env: ROS_DISTRO="kinetic" PRERELEASE=true PRERELEASE_DOWNSTREAM_DEPTH=0
21+
- ROS_DISTRO=kinetic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=debian
22+
# - ROS_DISTRO=kinetic ROS_REPO=ros-shadow-fixed UPSTREAM_WORKSPACE=debian OS_NAME=debian OS_CODE_NAME=jessie
2623
branches:
2724
only:
2825
- master
@@ -32,4 +29,4 @@ install:
3229
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
3330
script:
3431
- source .ci_config/travis.sh
35-
32+

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<img src="https://raw.githubusercontent.com/ROBOTIS-GIT/ROBOTIS-Documents/master/wiki-images/Turtlebot3/Turtlebot3_logo.jpg" width="300">
2+
3+
# TurtleBot3 Applications Package
4+
[![GitHub version](https://badge.fury.io/gh/ROBOTIS-GIT%2Fturtlebot3_applications.svg)](https://badge.fury.io/gh/ROBOTIS-GIT%2Fturtlebot3_applications) [![Build Status](https://travis-ci.org/ROBOTIS-GIT/turtlebot3_applications.svg?branch=master)](https://travis-ci.org/ROBOTIS-GIT/turtlebot3_applications)
5+
6+
# TurtleBot3 Packages
7+
- [turtlebot3](https://github.com/ROBOTIS-GIT/turtlebot3)
8+
- [turtlebot3_msgs](https://github.com/ROBOTIS-GIT/turtlebot3_msgs)
9+
- [turtlebot3_simulations](https://github.com/ROBOTIS-GIT/turtlebot3_simulations)
10+
- [turtlebot3_applications](https://github.com/ROBOTIS-GIT/turtlebot3_applications)
11+
12+
# TurtleBot3 Documents
13+
- http://turtlebot3.robotis.com/
14+
- http://www.turtlebot.com/
15+
-
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(turtlebot3_applications)
3+
find_package(catkin REQUIRED)
4+
catkin_metapackage()
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0"?>
2+
<package format="2">
3+
<name>turtlebot3_applications</name>
4+
<version>0.1.0</version>
5+
<description>
6+
ROS packages for the turtlebot3 applications (meta package)
7+
</description>
8+
<license>Apache 2.0</license>
9+
<author email="[email protected]">Pyo</author>
10+
<author email="[email protected]">Darby Lim</author>
11+
<author email="[email protected]">Gilbert</author>
12+
<author>Christopher Tatsch</author>
13+
<author>Ashe Kim</author>
14+
<maintainer email="[email protected]">Pyo</maintainer>
15+
<url type="bugtracker">https://github.com/ROBOTIS-GIT/turtlebot3_applications/issues</url>
16+
<url type="repository">https://github.com/ROBOTIS-GIT/turtlebot3_applications</url>
17+
<url type="website">http://turtlebot3.robotis.com</url>
18+
<buildtool_depend>catkin</buildtool_depend>
19+
<exec_depend>turtlebot3_automatic_parking</exec_depend>
20+
<exec_depend>turtlebot3_follow_filter</exec_depend>
21+
<exec_depend>turtlebot3_follower</exec_depend>
22+
<exec_depend>turtlebot3_panorama</exec_depend>
23+
<export><metapackage/></export>
24+
</package>

turtlebot3_automatic_parking/CMakeLists.txt

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ project(turtlebot3_automatic_parking)
99
################################################################################
1010
find_package(catkin REQUIRED COMPONENTS
1111
rospy
12-
sensor_msgs
1312
std_msgs
14-
nav_msgs
13+
sensor_msgs
1514
geometry_msgs
15+
nav_msgs
1616
)
1717

1818
################################################################################
@@ -27,24 +27,28 @@ find_package(catkin REQUIRED COMPONENTS
2727
# Catkin specific configuration
2828
################################################################################
2929
catkin_package(
30-
#INCLUDE_DIRS include
31-
CATKIN_DEPENDS rospy sensor_msgs std_msgs nav_msgs geometry_msgs
30+
CATKIN_DEPENDS rospy std_msgs sensor_msgs geometry_msgs nav_msgs
3231
)
3332

3433
################################################################################
3534
# Build
3635
################################################################################
3736
include_directories(
38-
include
3937
${catkin_INCLUDE_DIRS}
4038
)
4139

4240
################################################################################
4341
# Install
4442
################################################################################
45-
catkin_install_python(PROGRAMS src/automatic_parking.py
46-
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
43+
catkin_install_python(PROGRAMS
44+
scripts/automatic_parking.py
45+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
4746
)
4847

48+
install(DIRECTORY rviz
49+
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
50+
)
4951

50-
52+
################################################################################
53+
# Test
54+
################################################################################
Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
<?xml version="1.0"?>
2-
<package>
2+
<package format="2">
33
<name>turtlebot3_automatic_parking</name>
4-
<version>0.0.0</version>
4+
<version>0.1.0</version>
55
<description>
6-
Package for turtlebot3 automatic_parking. You need a reflective tape and real robots.
7-
You can see parking spot using this pacakge on rviz.
6+
Package for turtlebot3 automatic_parking. You need a reflective tape and real robots. You can see parking spot using this pacakge on rviz.
87
</description>
9-
<license>Apache License 2.0</license>
10-
<author email="kkjong89@naver.com">Gilbert</author>
8+
<license>Apache 2.0</license>
9+
<author email="kkjong@robotis.com">Gilbert</author>
1110
<maintainer email="[email protected]">Pyo</maintainer>
1211
<url type="bugtracker">https://github.com/ROBOTIS-GIT/turtlebot3_applications/issues</url>
1312
<url type="repository">https://github.com/ROBOTIS-GIT/turtlebot3_applications</url>
1413
<url type="website">http://turtlebot3.robotis.com</url>
1514
<buildtool_depend>catkin</buildtool_depend>
16-
<build_depend>rospy</build_depend>
17-
<build_depend>sensor_msgs</build_depend>
18-
<build_depend>std_msgs</build_depend>
19-
<build_depend>nav_msgs</build_depend>
20-
<build_depend>geometry_msgs</build_depend>
21-
<run_depend>nav_msgs</run_depend>
22-
<run_depend>geometry_msgs</run_depend>
23-
<run_depend>rospy</run_depend>
24-
<run_depend>sensor_msgs</run_depend>
25-
<run_depend>std_msgs</run_depend>
15+
<exec_depend>rospy</exec_depend>
16+
<exec_depend>std_msgs</exec_depend>
17+
<exec_depend>sensor_msgs</exec_depend>
18+
<exec_depend>geometry_msgs</exec_depend>
19+
<exec_depend>nav_msgs</exec_depend>
2620
</package>

turtlebot3_automatic_parking/src/automatic_parking.py renamed to turtlebot3_automatic_parking/scripts/automatic_parking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#################################################################################
3-
# Copyright 2016 ROBOTIS CO., LTD.
3+
# Copyright 2018 ROBOTIS CO., LTD.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,42 @@
1+
################################################################################
2+
# CMake
3+
################################################################################
14
cmake_minimum_required(VERSION 2.8.3)
25
project(turtlebot3_follow_filter)
36

4-
find_package(catkin REQUIRED COMPONENTS
5-
roscpp
6-
std_msgs
7-
laser_filters
8-
)
7+
################################################################################
8+
# Packages
9+
################################################################################
10+
find_package(catkin REQUIRED)
911

12+
################################################################################
13+
# Python scripts and modules
14+
################################################################################
1015

11-
catkin_package(
12-
# INCLUDE_DIRS include
13-
LIBRARIES turtlebot3_follow_filter
14-
CATKIN_DEPENDS roscpp std_msgs laser_filters
15-
# DEPENDS system_lib
16-
)
16+
################################################################################
17+
# Declare ROS messages, services and actions
18+
################################################################################
19+
20+
################################################################################
21+
# Declare ROS dynamic reconfigure parameters
22+
################################################################################
1723

18-
include_directories(
19-
${catkin_INCLUDE_DIRS}
24+
################################################################################
25+
# Catkin specific configuration
26+
################################################################################
27+
catkin_package()
28+
29+
################################################################################
30+
# Build
31+
################################################################################
32+
33+
################################################################################
34+
# Install
35+
################################################################################
36+
install(DIRECTORY filter launch
37+
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
2038
)
39+
40+
################################################################################
41+
# Test
42+
################################################################################
Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
<?xml version="1.0"?>
2-
<package>
2+
<package format="2">
33
<name>turtlebot3_follow_filter</name>
44
<version>0.1.0</version>
5-
<description>turtlebot3_follow_filter package</description>
6-
7-
<maintainer email="[email protected]">ashe</maintainer>
8-
<license>BSD</license>
9-
5+
<description>
6+
turtlebot3_follow_filter package using laser_filters for turtlebot3_follower package
7+
</description>
8+
<license>Apache 2.0</license>
9+
<author>Christopher Tatsch</author>
10+
<author>Ashe Kim</author>
11+
<maintainer email="[email protected]">Pyo</maintainer>
12+
<url type="bugtracker">https://github.com/ROBOTIS-GIT/turtlebot3_applications/issues</url>
13+
<url type="repository">https://github.com/ROBOTIS-GIT/turtlebot3_applications</url>
14+
<url type="website">http://turtlebot3.robotis.com</url>
1015
<buildtool_depend>catkin</buildtool_depend>
11-
<build_depend>roscpp</build_depend>
12-
<build_depend>std_msgs</build_depend>
13-
<build_depend>laser_filters</build_depend>
14-
15-
<run_depend>roscpp</run_depend>
16-
<run_depend>std_msgs</run_depend>
17-
<run_depend>laser_filters</run_depend>
18-
19-
<export>
20-
</export>
16+
<exec_depend>laser_filters</exec_depend>
2117
</package>

turtlebot3_follower/CMakeLists.txt

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,48 @@
1+
################################################################################
2+
# CMake
3+
################################################################################
14
cmake_minimum_required(VERSION 2.8.3)
25
project(turtlebot3_follower)
36

4-
## Add support for C++11, supported in ROS Kinetic and newer
5-
# add_definitions(-std=c++11)
6-
7-
## Find catkin macros and libraries
8-
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
9-
## is used, also find other catkin packages
7+
################################################################################
8+
# Packages
9+
################################################################################
1010
find_package(catkin REQUIRED COMPONENTS
1111
rospy
12-
sensor_msgs
1312
std_msgs
14-
nav_msgs
13+
sensor_msgs
1514
geometry_msgs
15+
nav_msgs
1616
)
1717

18-
include_directories(
19-
${catkin_INCLUDE_DIRS}
20-
)
21-
18+
################################################################################
19+
# Catkin specific configuration
20+
################################################################################
2221
catkin_package(
23-
# INCLUDE_DIRS include
24-
# LIBRARIES people_detect
25-
CATKIN_DEPENDS
22+
CATKIN_DEPENDS rospy std_msgs sensor_msgs geometry_msgs nav_msgs
2623
)
2724

28-
catkin_install_python(PROGRAMS src/follower.py
29-
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
30-
###########
31-
## Build ##
32-
###########
33-
25+
################################################################################
26+
# Build
27+
################################################################################
3428
include_directories(
3529
${catkin_INCLUDE_DIRS}
3630
)
3731

32+
################################################################################
33+
# Install
34+
################################################################################
35+
catkin_install_python(PROGRAMS
36+
scripts/follower.py
37+
scripts/laser_subscriber.py
38+
scripts/ploting.py
39+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
40+
)
3841

42+
install(DIRECTORY rviz
43+
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
44+
)
3945

46+
################################################################################
47+
# Test
48+
################################################################################

0 commit comments

Comments
 (0)