Skip to content

Commit

Permalink
[Highly breaking change] restructuring in preparation for catkinizati…
Browse files Browse the repository at this point in the history
…on. segway_rmp_demos was defunct, and has been removed. The single remaining package segway_rmpX has been promoted to the main stack segway_rmp. To use the old setup use the rosbuild branch instead.
  • Loading branch information
piyushk committed May 2, 2013
1 parent 9abd884 commit 9ebae97
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 138 deletions.
39 changes: 26 additions & 13 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

# Append to CPACK_SOURCE_IGNORE_FILES a semicolon-separated list of
# directories (or patterns, but directories should suffice) that should
# be excluded from the distro. This is not the place to put things that
# should be ignored everywhere, like "build" directories; that happens in
# rosbuild/rosbuild.cmake. Here should be listed packages that aren't
# ready for inclusion in a distro.
#
# This list is combined with the list in rosbuild/rosbuild.cmake. Note
# that CMake 2.6 may be required to ensure that the two lists are combined
# properly. CMake 2.4 seems to have unpredictable scoping rules for such
# variables.
#list(APPEND CPACK_SOURCE_IGNORE_FILES /core/experimental)
# Set the build type. Options are:
# Coverage : w/ debug symbols, w/o optimization, w/ code-coverage
# Debug : w/ debug symbols, w/o optimization
# Release : w/o debug symbols, w/ optimization
# RelWithDebInfo : w/ debug symbols, w/ optimization
# MinSizeRel : w/o debug symbols, w/ optimization, stripped binaries
#set(ROS_BUILD_TYPE RelWithDebInfo)

rosbuild_make_distribution(0.1.0)
rosbuild_init()

#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

#uncomment if you have defined messages
rosbuild_genmsg()
#uncomment if you have defined services
#rosbuild_gensrv()

#common commands for building c++ executables and libraries
#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
#target_link_libraries(${PROJECT_NAME} another_library)
rosbuild_add_boost_directories()
rosbuild_add_executable(segway_rmp_node src/segway_rmp_node.cpp)
rosbuild_link_boost(segway_rmp_node system thread)
#target_link_libraries(example ${PROJECT_NAME})
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include $(shell rospack find mk)/cmake_stack.mk
include $(shell rospack find mk)/cmake.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<launch>
<node name="segway_rmp_node" pkg="segway_rmpX" type="segway_rmp_node" output="screen" required="true">
<node name="segway_rmp_node" pkg="segway_rmp" type="segway_rmp_node" output="screen" required="true">
<!-- If you want to do Serial -->
<!-- <param name="interface_type" type="str" value="serial" /> -->
<!-- <param name="serial_port" type="str" value="/dev/ttyUSB0" /> -->
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 0 additions & 30 deletions segway_rmpX/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion segway_rmpX/Makefile

This file was deleted.

30 changes: 0 additions & 30 deletions segway_rmp_demos/CMakeLists.txt

This file was deleted.

1 change: 0 additions & 1 deletion segway_rmp_demos/Makefile

This file was deleted.

10 changes: 0 additions & 10 deletions segway_rmp_demos/launch/segway_teleop.launch

This file was deleted.

26 changes: 0 additions & 26 deletions segway_rmp_demos/mainpage.dox

This file was deleted.

16 changes: 0 additions & 16 deletions segway_rmp_demos/manifest.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions stack.xml

This file was deleted.

0 comments on commit 9ebae97

Please sign in to comment.