Skip to content

Commit

Permalink
catkin package
Browse files Browse the repository at this point in the history
  • Loading branch information
yzrobot committed Aug 12, 2019
1 parent 3f909f2 commit e1c12fb
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 111 deletions.
37 changes: 9 additions & 28 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,11 @@
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
cmake_minimum_required(VERSION 2.8.3)
project(joystick_remapper)

# 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)
find_package(catkin REQUIRED COMPONENTS
rospy
sensor_msgs
)

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_link_boost(${PROJECT_NAME} thread)
#rosbuild_add_executable(example examples/example.cpp)
#target_link_libraries(example ${PROJECT_NAME})
catkin_package(
CATKIN_DEPENDS rospy sensor_msgs
)
1 change: 0 additions & 1 deletion Makefile

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# joystick_remapper
# joystick_remapper

http://wiki.ros.org/joystick_remapper/Tutorials/UsingJoystickRemapper
12 changes: 0 additions & 12 deletions joystick_remapper.launch

This file was deleted.

15 changes: 15 additions & 0 deletions launch/joystick_remapper.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<launch>
<node pkg="joy" type="joy_node" name="logitech_joy" >
<remap from="joy" to="logitech" />
<param name="dev" value="/dev/input/js0" />
<param name="deadzone" value="0.1" />
<param name="autorepeat_rate" value="10" />
</node>
<node pkg="joystick_remapper" type="joystick_remapper.py" name="logitech_to_ps3" >
<remap from="joy_source" to="logitech" />
<remap from="joy_dest" to="joy" />
<param name="button_mapping" type="str" value="8 -1 -1 9 -1 -1 -1 -1 6 7 4 5 3 2 1 0" />
<param name="axis_mapping" type="str" value="=" />
</node>
</launch>
50 changes: 0 additions & 50 deletions mainpage.dox

This file was deleted.

19 changes: 0 additions & 19 deletions manifest.xml

This file was deleted.

18 changes: 18 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<package>
<name>joystick_remapper</name>
<version>0.0.1</version>
<description>This node can be used to remap the buttons and axes of a joystick to get them into a standard form that other nodes can then use independently of which joystick is actually being used.</description>
<author>Blaise Gassend</author>
<maintainer email="[email protected]">Thomas Duvinage</maintainer>
<license>BSD</license>

<buildtool_depend>catkin</buildtool_depend>

<build_depend>rospy</build_depend>
<build_depend>sensor_msgs</build_depend>

<run_depend>rospy</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>joy</run_depend>
</package>
File renamed without changes.

0 comments on commit e1c12fb

Please sign in to comment.