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

preetham.hegde's profile - activity

2017-02-10 03:07:13 -0500 received badge  Nice Answer (source)
2014-11-01 14:39:44 -0500 received badge  Teacher (source)
2014-11-01 14:39:44 -0500 received badge  Necromancer (source)
2014-01-28 17:29:28 -0500 marked best answer How is Kinect Data Read by ROS

Hi, Does anybody know how kinect data is processed in ROS. as i know it has a RGB Data and a Depth Data usually stored in a .xed file. Anybody knows how its processed in ROS??

If its split into 2 files or seperate streams etc?? Does OpenNi do it for ROS??

2013-06-28 17:24:47 -0500 received badge  Famous Question (source)
2013-06-15 20:39:50 -0500 received badge  Famous Question (source)
2013-05-31 02:51:07 -0500 received badge  Notable Question (source)
2013-05-31 02:30:54 -0500 received badge  Popular Question (source)
2013-05-27 01:25:23 -0500 asked a question RGBDSLAM with RosBag Files does not work.

Hello all, I am new to ROS and i am trying to use the RGBDSLAM with ROSbag files i.e i want to first run the rosbag record and make a rosbag file and then run RGBD SLAM such that it will read this rosbag file and give me a map.

I found another post on the similar issue and used the launch file he used i.e

<launch>
  <node pkg="rgbdslam" type="rgbdslam" name="rgbdslam" cwd="node" required="false" output="log" > 
    <!-- see rgbslam_sample_config.launch for all available parameters and their default values -->
      <param name="config/topic_image_mono"              value="/camera/rgb/image_color"/>

<param name="config/topic_image_depth"             value="/camera/depth_registered/image"/>
<param name="config/topic_points"                  value=""/> <!--if empty, poincloud will be reconstructed from image and depth -->
<param name="config/camera_info_topic"             value="/camera/rgb/camera_info"/>
<param name="config/bagfile_name"                  value="/home/preetham/Desktop/filename.bag"/>
<param name="config/start_paused"                  value="true"/>

      <param name="config/wide_topic"                    value=""/>;
      <param name="config/wide_cloud_topic"              value=""/>;
      <param name="config/drop_async_frames"             value="true"/> <!-- Check association of depth and visual image, reject if not in sync -->
      <param name="config/feature_detector_type"         value="SURF"/><!-- If SIFTGPU is enabled in CMakeLists.txt, use SURF here -->
      <param name="config/feature_extractor_type"        value="SURF"/><!-- If SIFTGPU is enabled in CMakeLists.txt, use SURF here -->
      <param name="config/matcher_type"                  value="FLANN"/> <!-- FLANN (not avail for ORB features), SIFTGPU (only for SIFTGPU detector)  or BRUTEFORCE-->
      <param name="config/max_keypoints"                 value="2000"/><!-- Extract no more than this many keypoints (not honored by SIFTGPU)-->
      <param name="config/min_keypoints"                 value="1600"/><!-- Extract no less than this many ... -->
      <param name="config/optimizer_skip_step"           value="5"/><!-- optimize every n-th frame -->
      <param name="config/store_pointclouds"             value="true"/> <!-- if, e.g., only trajectory is required, setting this to false saves lots of memory -->
      <param name="config/individual_cloud_out_topic"    value="/rgbdslam/batch_clouds"/>;
      <param name="/config/use_gui" value="true"/>
    <!-- see rgbslam_sample_config.launch for all available parameters and their default values -->

<remap from="/camera/depth/camera_info" to="/camera/depth_registered/camera_info" />

  </node>
</launch>

And when i launch RGBDSLAM using this launch file it throws an error.

The following is the rosbag command i used and it records a rosbag file of size 300 Mb for 10 seconds which i feel is correct.

rosbag record -o /home/preetham/Desktop/filename_prefix /tf /camera/rgb/image_color /camera/rgb/camera_info /camera/depth_registered/image /camera/depth/camera_info

ould somebody help me out??

2013-04-28 23:32:23 -0500 received badge  Famous Question (source)
2013-04-28 23:29:15 -0500 received badge  Notable Question (source)
2013-04-28 08:48:43 -0500 received badge  Famous Question (source)
2013-04-24 03:53:04 -0500 received badge  Popular Question (source)
2013-04-23 02:09:03 -0500 commented answer ROSBAG on Windows/WinROS

Thanks @Daniel Stonier. I will try it out and get back with an answer as soon as possible.

2013-04-22 21:40:10 -0500 asked a question ROSBAG on Windows/WinROS

Hello Guys, I recently used RGBD Slam for my project from my Ubuntu Machine and it did work great. Really Cool Stuff. However i have both the Kinect for XBox and Kinect for Windows. I want to use the Kinect for Windows as it has a Near Mode capability and i believe the Maps could be better with it. So i plan to install WinRos and run ROSBAG from it and bag all the required files and then transfer the files to Linux and run it alongside RGBDSLAM. Is this Possible??

If its possible could somebody guide me some steps on how to use WinRos and ROSBAG on it. I don't see proper documentation for it.

2013-04-14 21:55:47 -0500 asked a question Error With RGBD SLAM processing

Hello All, I am running RGBDSLAM on my Laptop and it loads the GUI and shows me the monochrome image and depth image and when i hit Space or Enter to start the Point CLoud Processing it fails and the terminal shows follwing error.

¨Orientation simplified on this hardware Descriptor ignored on this hardware OpenCV Error: Unsupported format or combination of formats (Unsupported combination of input and output array formats) in reduce, file /tmp/buildd/ros-fuerte-opencv2-2.4.2- 1precise-20130312-1308/modules/core/src/matrix.cpp, line 2242 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1308/modules/core/src/matrix.cpp:2242: error: (-210) Unsupported combination of input and output array formats in function reduce

================================================================================REQUIRED process [rgbdslam-23] has died! process has died [pid 14077, exit code -6, cmd /home/preetham/ros/rgbdslam_freiburg/rgbdslam/bin/rgbdslam __name:=rgbdslam __log:=/home/preetham/.ros/log/7fbba3e8-a59f-11e2-9891-844bf5768cdb/rgbdslam-23.log]. log file: /home/preetham/.ros/log/7fbba3e8-a59f-11e2-9891-844bf5768cdb/rgbdslam-23*.log Initiating shutdown!¨

Anybody can suggest me what the problem is and how i can go about it??

2013-04-02 03:46:46 -0500 commented question Cannot View Kinect Data on Fuerte

@Merdad: Did u get it to work finally. I am having the same issue and still couldn't figure out the issue. http://answers.ros.org/question/57412/cant-see-kinect-data/

2013-03-26 02:45:32 -0500 commented answer Cant see Kinect Data.

Its not on VMware. This is on my HP Envy Notebook. Its a Dual Boot Ubuntu 12.04 and WIndows 8. And its USB 2.0.

2013-03-26 02:42:20 -0500 commented answer Cant see Kinect Data.

I also tried opening RVIZ and it failed and even trying to access a single image did not show up anything. Help Needed Please.

2013-03-26 02:41:03 -0500 commented answer Cant see Kinect Data.

@Felix Endres: I had tried with the binaries and they had failed. I removed ros totally and followed the steps that were mentioned at the link you posted and this time RGBD Installed perfect. The GUI Opened but i could see nothing. I pressed space and enter ,it said processing but nothing showed up.

2013-03-25 22:44:03 -0500 received badge  Notable Question (source)
2013-03-20 23:55:02 -0500 commented answer Cant see Kinect Data.

OpenNI :- https://github.com/OpenNI/OpenNI/tree/unstable Sensor Kinect:- https://github.com/avin2/SensorKinect NITE:- Nite 1.5.2.21 for WIn64. Are these the right softwares?? I installed Ubuntu-> Then ROS-> Then OpenNI -> then Sensor Kinect-> then Nite.

2013-03-20 23:51:36 -0500 commented answer Cant see Kinect Data.

@Stephane.M & @Felix Endres:- I did all the installs and it still is the same. I am guessing i am installing the wrong software. Can anybody guide me to the right link for the softwares. Here is the link to what i used:

2013-03-18 04:51:40 -0500 commented answer Cant see Kinect Data.

@Felix Endres: I would like to do a fresh Install of Ubuntu and then Kinect drivers & ROS. Could you give me a quick description on how to do it. Or a link of any good article you know on how to do it.

2013-03-18 04:51:40 -0500 received badge  Commentator
2013-03-18 04:48:05 -0500 commented answer Cant see Kinect Data.

@Felix Endres: I followed this guide to install the drivers. Let me know if this was the right one or was there a different one?? Link: http://mitchtech.net/ubuntu-kinect-openni-primesense/

2013-03-17 23:00:07 -0500 commented answer Cant see Kinect Data.

@Stephane.M : Yeah ive tried that. When i launch RViz i get a display_config not found error. But then i click OK and proceed and i configure as mentioned in the Rviz Tutorials in ROS. But they simply show a blank window. nothing displayed in it.

2013-03-12 21:54:42 -0500 commented answer Cant see Kinect Data.

@Felix Endres: Is this the output you were asking for?? Or is it a differnt one?? let me know which one u need exactly and i will post it. Sorry but i am new to ROS and this community and am getting things slowly.

2013-03-12 21:52:56 -0500 answered a question Cant see Kinect Data.
roslaunch openni_launch openni.launch 
... logging to /home/preetham/.ros/log/c54e85c6-8bb2-11e2-81d2-000c2972eac5/roslaunch-ubuntu-21982.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:47488/

SUMMARY
========

PARAMETERS
 * /camera/depth/rectify_depth/interpolation
 * /camera/depth_registered/rectify_depth/interpolation
 * /camera/disparity_depth/max_range
 * /camera/disparity_depth/min_range
 * /camera/disparity_depth_registered/max_range
 * /camera/disparity_depth_registered/min_range
 * /camera/driver/depth_camera_info_url
 * /camera/driver/depth_frame_id
 * /camera/driver/depth_registration
 * /camera/driver/device_id
 * /camera/driver/rgb_camera_info_url
 * /camera/driver/rgb_frame_id
 * /rosdistro
 * /rosversion

NODES
  /camera/depth/
    metric (nodelet/nodelet)
    metric_rect (nodelet/nodelet)
    points (nodelet/nodelet)
    rectify_depth (nodelet/nodelet)
  /camera/rgb/
    debayer (nodelet/nodelet)
    rectify_color (nodelet/nodelet)
    rectify_mono (nodelet/nodelet)
  /
    camera_base_link (tf/static_transform_publisher)
    camera_base_link1 (tf/static_transform_publisher)
    camera_base_link2 (tf/static_transform_publisher)
    camera_base_link3 (tf/static_transform_publisher)
    camera_nodelet_manager (nodelet/nodelet)
  /camera/
    disparity_depth (nodelet/nodelet)
    disparity_depth_registered (nodelet/nodelet)
    driver (nodelet/nodelet)
    points_xyzrgb_depth_rgb (nodelet/nodelet)
    register_depth_rgb (nodelet/nodelet)
  /camera/ir/
    rectify_ir (nodelet/nodelet)
  /camera/depth_registered/
    metric (nodelet/nodelet)
    metric_rect (nodelet/nodelet)
    rectify_depth (nodelet/nodelet)

auto-starting new master
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[master]: started with pid [21998]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to c54e85c6-8bb2-11e2-81d2-000c2972eac5
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[rosout-1]: started with pid [22011]
started core service [/rosout]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera_nodelet_manager-2]: started with pid [22023]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/driver-3]: started with pid [22024]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/rgb/debayer-4]: started with pid [22038]
[ INFO] [1363161071.687625327]: Initializing nodelet with 1 worker threads.
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/rgb/rectify_mono-5]: started with pid [22086]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/rgb/rectify_color-6]: started with pid [22104]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/ir/rectify_ir-7]: started with pid [22119]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/depth/rectify_depth-8]: started with pid [22142]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/depth/metric_rect-9]: started with pid [22156]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[camera/depth/metric-10]: started with pid [22214]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading ...
(more)
2013-03-12 02:50:22 -0500 commented question Cant see Kinect Data.

And on running rxgraph i get a graph in which all paths are pointing an arrow towards/rosout.

2013-03-12 02:49:59 -0500 commented question Cant see Kinect Data.

@Felix Endres : On running roswtf i get 17 Errors "Communication with /camera/depth/metric/ failed

2013-03-11 22:27:05 -0500 received badge  Famous Question (source)
2013-03-08 07:12:16 -0500 received badge  Notable Question (source)
2013-03-07 19:47:43 -0500 commented question Cant see Kinect Data.

Even subscribing to the rectified topics just says subscribed and nothing more happens.

2013-03-07 04:59:02 -0500 received badge  Popular Question (source)
2013-03-07 04:05:29 -0500 commented question Cant see Kinect Data.

And when i run a rostopic it just says subscribed to the /camera/depth_registered/points and keeps blinking.

2013-03-07 04:01:39 -0500 commented question Cant see Kinect Data.

Well when i launch the openni.launch it starts as usual except for the errors ¨Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressedDepth/set_parameters]¨

2013-03-07 02:59:38 -0500 received badge  Popular Question (source)
2013-03-07 01:49:02 -0500 asked a question Cant see Kinect Data.

Hi, I am working on this project that involves using the Kinect for XBOX 360S with ROS.

I did all the steps mentioned in the ROS Tutorials to have Openni Installed and the Prime sense and other drivers. and when i go to Openni samples i see a output. But in ROS i do a roscore and in another terminal do a roslaunch openni_launch openni.launch. And it loads with the regular calibration warnings and service already registered errors. Then in another terminal i open Rviz which gives a error /.rviz/display_config does not exist. And even though i accept the error and go ahead i see a black window which shows no output ,even if i do all tasks mentioned at the RVIZ Tutorials. Also i tried running "rosrun image_view image_view image:=/camera/rgb/image_color" and it shows up a blank window with no output. How do i resolve this and get ros to show my kinect data??

I need to run RGBDSLAM and use this kinect later.

I am on Ubuntu 12.04 and ROS-Fuerte.