[Ubuntu]
1. Install Ubuntu 12.04
[ROS-Hydro]
2. Install ROS Hydro (http://wiki.ros.org/hydro/Installation/Ubuntu)
3. Create a ROS Workspace (http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment)
[Kinect]
4. sudo apt-get ros-hydro-openni-launch
5. sudo apt-get ros-hydro-openni-camera
6, sudo apt-get ros-hydro-openni-tracker
[Pioneer]
7. ROS-ARIA (http://wiki.ros.org/ROSARIA/Tutorials/How%20to%20use%20ROSARIA)
[Joystick]
8. sudo apt-get install ros-hydro-joy
[QTcreator]
8. sudo apt-get intall qtcreator
Creating Package from copying existing package
1. Create pkg
/src$ catkin_create_pkg [name] roscpp rospy std_msgs geometry_msgs
2. move to pkg folder
cd [name]
3. Create folder and copy .launch file
/name$ mkdir lauch
4. Add dependency in CMakeList.txt
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
joy
nav_msgs
roscpp
rospy
std_msgs
tf
)
5. Complie this pkg into node in CMakeList.txt
## Make to node
add_executable(teleop_base_keyboard src/teleop_base_keyboard.cpp)
target_link_libraries(teleop_base_keyboard ${catkin_LIBRARIES})
6. Add dependecy in package.xml
<build_depend>joy</build_depend>
<build_depend>nav_msgs</build_depend>
<build_depend>tf</build_depend>
...
<run_depend>joy</run_depend>
<run_depend>nav_msgs</run_depend>
<run_depend>tf</run_depend>
'Enginius > Robotics' 카테고리의 다른 글
RSS 2014 papers (0) | 2014.12.12 |
---|---|
[ROS] ROS의 구조와 패키지 만드는 방법 (0) | 2014.08.21 |
Robot with deep learning (0) | 2014.07.30 |
ROS - Pioneer control using Gazebo simulator (0) | 2014.07.21 |
ROS 사용하기 (0) | 2014.07.21 |