ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Holton's profile - activity

2013-04-16 16:01:38 -0600 commented answer Start rostopic echo within launch?

Hello, sir, I am new in ROS, I am wondering how to covert a bag file into csv, could you please give me more hint? please! Thank you!

2013-04-15 04:20:46 -0600 received badge  Famous Question (source)
2013-03-31 22:36:51 -0600 commented answer rosmake mypackage

Thank you!!! I added turtlebot_bringup to the dependencies so I can compile now!! Thank you very much again!!

2013-03-31 22:34:46 -0600 received badge  Scholar (source)
2013-03-27 19:16:53 -0600 received badge  Notable Question (source)
2013-03-25 06:55:00 -0600 received badge  Popular Question (source)
2013-03-24 21:43:01 -0600 received badge  Editor (source)
2013-03-24 21:33:13 -0600 asked a question rosmake mypackage

Hi dear all, I got some problems when I want to compile my package(mytele). I want to create a new package named mytele, and it is copy from turtlebot_teleop turtlebot_key.cpp. I am sure that the copy is complete. Here is my steps:

roscreate-pkg mytele geometry_msgs rospy roscpp

and I type this path so that ROS can find my package

export ROS_PACKAGE_PATH=/home/turtlebot/mytele:$ROS_PACKAGE_PATH

and then I copy this package code to my new package

cp turtlebot_key.cpp /home/turtlebot/mytele/src/turtlebot_key.cpp

and complie it

rosmake mytele mytele

the first time compile is completed, and new folder "bin" and "build" has been created. It seems every things is OK here.

> [ rosmake ] rosmake starting...    
[ rosmake ] Packages requested are: ['mytele', 'mytele']   
[ rosmake ] Logging to directory /home/turtlebot/.ros/rosmake/rosmake_output-20130325-140610 
[ rosmake ] Expanded args ['mytele', 'mytele'] to:
['mytele', 'mytele']                       
[rosmake-0] Starting >>> geometry_msgs [ make ]                
[rosmake-0] Finished <<< geometry_msgs  No Makefile in package geometry_msgs   
[rosmake-0] Starting >>> roslang [ make ]                 
[rosmake-0] Finished <<< roslang  No Makefile in package roslang   
[rosmake-0] Starting >>> rospy [ make ]                
[rosmake-2] Starting >>> roscpp [ make ]                  
[rosmake-2] Finished <<< roscpp  No Makefile in package roscpp       
[rosmake-0] Finished <<< rospy  No Makefile in package rospy           
[rosmake-2] Starting >>> mytele [ make ]               
[rosmake-2] Finished <<< mytele [PASS] [ 7.28 seconds ]     
[ rosmake ] Results:                             
[ rosmake ] Built 5 packages with 0 failures.                 
[ rosmake ] Summary output to directory               
[ rosmake ] /home/turtlebot/.ros/rosmake/rosmake_output-20130325-140610

and add the following line at the end of CMakeLists.txt file

rosbuild_add_executable(mytele.keyboard src/turtlebot_key.cpp)

and compile again

rosmake mytele mytele

but, this time, I got this failure message.

> [ rosmake ] rosmake starting...         
[ rosmake ] Packages requested are: ['mytele']  
[ rosmake ] Logging to directory /home/turtlebot/.ros/rosmake/rosmake_output-20130325-145504  
[ rosmake ] Expanded args ['mytele'] to:
['mytele']                           
[rosmake-0] Starting >>> geometry_msgs [ make ]        
[rosmake-1] Starting >>> roslang [ make ]              
[rosmake-0] Finished <<< geometry_msgs  No Makefile in package geometry_msgs   
[rosmake-1] Finished <<< roslang  No Makefile in package roslang        
[rosmake-1] Starting >>> rospy [ make ]           
[rosmake-2] Starting >>> roscpp [ make ]            
[rosmake-1] Finished <<< rospy  No Makefile in package rospy      
[rosmake-2] Finished <<< roscpp  No Makefile in package roscpp    
[rosmake-2] Starting >>> mytele [ make ]        
[ rosmake ] All 39 linesytele: 2.3 sec ]                                         [ 1 Active 4/5 Complete ]
{------------------------------------------------------------------------------- [ 1 Active 4/5 Complete ]
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package mytele
  [rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
  [rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
  -- Configuring done
  -- Generating done
  CMake Warning:
    Manually-specified variables were not used by the project:

      CMAKE_TOOLCHAIN_FILE


  -- Build files have been written to: /home/turtlebot/mytele/build
  cd build && make -l4
  make[1]: Entering directory `/home/turtlebot/mytele/build'
  make[2]: Entering directory `/home/turtlebot/mytele/build'
  make[3]: Entering directory `/home/turtlebot/mytele/build'
  make[3]: Leaving directory `/home/turtlebot/mytele/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entering directory `/home/turtlebot/mytele/build'
  make[3]: Leaving directory `/home/turtlebot/mytele/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entering directory `/home/turtlebot/mytele/build'
  make[3]: Leaving directory `/home/turtlebot/mytele/build'
  make[3]: Entering directory `/home/turtlebot/mytele/build ...
(more)