ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Kaplan's profile - activity

2018-12-31 05:57:59 -0500 received badge  Great Answer (source)
2018-01-08 16:12:55 -0500 received badge  Famous Question (source)
2016-02-19 04:46:10 -0500 received badge  Famous Question (source)
2016-01-11 04:11:36 -0500 received badge  Notable Question (source)
2015-11-30 02:27:26 -0500 received badge  Good Answer (source)
2015-11-30 02:27:26 -0500 received badge  Enlightened (source)
2015-06-25 05:54:48 -0500 received badge  Nice Answer (source)
2015-03-09 15:21:43 -0500 received badge  Teacher (source)
2015-02-19 03:35:45 -0500 answered a question openni2.launch fails with ROS Indigo, USB3.0

Try that : roslaunch freenect_launch freenect.launch

if it is not installed yet , run : sudo apt-get install ros-indigo-freenect-launch

2014-12-01 11:25:38 -0500 answered a question Kinect Installation and Setup on ROS [Updated]

Hi!

Openni_launch does not work anymore under Indigo for Kinect , but freenect_launch does. So install freenect_launch and libfreenect :

sudo apt-get install libfreenect-dev

sudo apt-get install ros-indigo-freenect-launch

Then call :

roslaunch freenect_launch freenect.launch

If it still does not work , disconnect Kinect from usb and plug again.

One more thing , it didn't work for me when Kinect was connected through an USB 2.0 hub but directly in USB 3.0 input of pc.

Source: http://wiki.ros.org/openni2_launch

"This package contains launch files for using OpenNI-compliant devices in ROS. It supports the Asus Xtion, Xtion Pro, and multiple version of the Primesense 1.08 and 1.09 cameras. It does NOT support any versions of the Kinect. freenect_launch or openni_launch is the recommended package for using a Kinect with ROS."

2014-04-28 18:50:46 -0500 received badge  Popular Question (source)
2014-03-07 04:07:40 -0500 received badge  Notable Question (source)
2014-03-06 01:06:19 -0500 commented question ImportError

I have been still struggling with the same issue.Any idea?

2014-02-28 02:22:06 -0500 commented question ImportError

As Kamiccolo asked , I edited my question and added some more infos.

2014-02-27 23:04:29 -0500 received badge  Popular Question (source)
2014-02-27 06:25:58 -0500 received badge  Editor (source)
2014-02-27 03:54:34 -0500 commented question ImportError

The modifications/adjustments in CmakeList.txt and package.xml do the generatin work. As i sad i do not think so that the problem is with message generation.Because catkin_make reports that message are created and it can also be seen by rosmsg. Thanks anyway.

2014-02-27 03:51:19 -0500 commented question ImportError

Thank you for your quick reply. For catkin packages there are some adjustments/modifications that must be made under CMakeList.txt and package.xml. As you mentioned one of them is adding add_message_files( FILES ...) command.But in this form : add_message_files(FILES justMessageFileName1.msg)

2014-02-27 03:00:06 -0500 asked a question ImportError

Hi all,

I created a catkin package and defined a custom ros msg. I built it with catkin_make. Msg can be seen through rosmsg. But still my node can not import <package_name>.msg

ImportError: No module named blue_tracker.msg

That is the import command line : from blue_tracker.msg import *

Meanwhile there is no problem with ros package path.It can reach all other packages like roslib,rospy,smach..etc. I have alrady given two days to this annoying problem.All suggestions are wellcome.

Any ideas?

[more inforrmation as asked]

System:

         Bodhi 2.4.0 ,  Ros Hydro ,  Python  2.7.3

Ros Package :

         Catkin package "blue_tracker "  with a node trace_face.py

Code : (I blinded out all the parts of code but the ones give error to be able to focus on the problem)


 import roslib
 import roslib
 import rospy
 from sensor_msgs.msg import * # no problem with this line
 from blue_tracker.msg import * # here is the problem

 if __name__ == '__main__':
     rospy.init_node('track_face')
     print "test"



Error message :

Traceback (most recent call last):
  File "/home/bdr/catkin_ws/src/blue_tracker/src/track_face.py", line 14, in  module
    from blue_tracker.msg import 
    ImportError: No module named blue_tracker.msg



CMakeList.txt :


 cmake_minimum_required(VERSION 2.8.3) 
  project(blue_tracker)
  find_package(catkin REQUIRED COMPONENTS
     cv_bridge
     roscpp
     rospy
     sensor_msgs
     std_msgs
     message_generation)
  find_package(OpenCV REQUIRED) 
     add_message_files(
             FILES
              RoisInFrame.msg)
  generate_messages(
              DEPENDENCIES
              sensor_msgs
              std_msgs)

   catkin_package(
              INCLUDE_DIRS include
              #LIBRARIES blue_tracker
             #CATKIN_DEPENDS cv_bridge roscpp rospy sensor_msgs std_msgs
               DEPENDS system_lib blue_tracker)
    include_directories(
               ${catkin_INCLUDE_DIRS}
               ${OpenCV_INCLUDE_DIRS})

     install(PROGRAMS
                 src/track_face.py src/test_tracking.py
                 DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
2014-02-27 00:54:45 -0500 received badge  Enthusiast
2014-02-18 10:05:14 -0500 commented question Unable to run the tutorial server and client

Hi Warrior. Where did you save the beginner_tutorial package?

2014-02-18 01:14:00 -0500 asked a question action server in cpp

Hi Everyone,

For my project I need to write a package for face recognation in c++.I have so planned that in this package there will be a face_recog.cpp file and a AS_facerecog.cpp as Action Server which calls face_recog.cpp.And of course some other code and data files the FaceRecognizer module needs (like images , list of staff etc..).

Other packages will call this service from python codes.Here is my question:Do I need a boost wrapper or as in Pulisher/Subscriber structure, does roscore handel it ?

2013-12-29 23:04:08 -0500 received badge  Supporter (source)