Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_compile_options(-std=c++11)
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
roscpp
geometry_msgs
joy
nxt_ros
Expand Down Expand Up @@ -140,6 +141,11 @@ add_executable(
src/nxt_key.cpp
)

#add_executable(
# ${PROJECT_NAME}_joy_node
# src/nxt_joy.cpp
#)

## Rename C++ executable without prefix
## The above recommended prefix causes long target names, the following renames the
## target back to the shorter version for ease of user use
Expand All @@ -149,12 +155,16 @@ add_executable(
## Add cmake target dependencies of the executable
## same as for the library above
add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

#add_dependencies(${PROJECT_NAME}_joy_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
## Specify libraries to link a library or executable target against
target_link_libraries(${PROJECT_NAME}_node
target_link_libraries(nxt_teleop_node
${catkin_LIBRARIES}
)

#target_link_libraries(${PROJECT_NAME}_joy_node
# ${catkin_LIBRARIES}
# )

#############
## Install ##
#############
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ NXT ROS - Teleop
This repository contains a keyboard interface to use with NXT ROS.

## Installation
To use *nxt_teleop*, *robot_pose_ekf* needs to be installed.


The repository is expected to be placed inside the source folder of a working catkin environnement.

Expand Down Expand Up @@ -45,4 +47,4 @@ roslaunch nxt_teleop teleop_keyboard.launch

## Credits

Original maintainer of the project is Wim Meeussen.
Original maintainer of the project is Wim Meeussen.
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@

<buildtool_depend>catkin</buildtool_depend>

<build_depend>roscpp</build_depend>
<build_depend>geometry_msgs</build_depend>
<build_depend>joy</build_depend>
<build_depend>nxt_ros</build_depend>
<build_depend>sensor_msgs</build_depend>

<run_depend>roscpp</run_depend>
<run_depend>geometry_msgs</run_depend>
<run_depend>joy</run_depend>
<run_depend>nxt_ros</run_depend>
Expand Down