Giter Club home page Giter Club logo

Comments (6)

felixendres avatar felixendres commented on July 21, 2024 1

Is the ros master on a different machine? If the images are transmitted over a network there are often problems with dropped messages, so that no RGB-D pairs with matching timestamps are received. This is particularly problematic over wireless lan. In that case you have two options: Throttle the driver node or switch to qvga. There are other possibilities if that doesn't help.

from rgbdslam_v2.

QinZiwen avatar QinZiwen commented on July 21, 2024

Thank you @felixendres . RGBDSLAM can work, when I run ros master and RGBDSLAM in identical machine.But I find that windows of procedure seem shows single frame result fusion. When I move camera few distance, point cloud does not augment. Terminal shows warnning as following:
+++++++++++++++++++++++++++++++
[ WARN] [1467815104.738537648]: Time jump (time delta: 47.23)
[ WARN] [1467815104.738597656]: Did not add as Node
[ WARN] [1467815104.821219674]: "kinect2_rgb_optical_frame" passed to lookupTransform argument source_frame does not exist.
[ WARN] [1467815104.821299079]: Using Standard kinect /openni_camera -> /openni_rgb_optical_frame as tran sformation (This message is throttled to 1 per 5 seconds)
+++++++++++++++++++++++++++++++

I am using to ubuntu 14.04, ros inidgo and kinect2. I had installed libfreenect2 and iai_kinect2. The sequence from kinect2 been translated by kinect2_bridge not openni2. Because openni2 does not work in my machine.

from rgbdslam_v2.

felixendres avatar felixendres commented on July 21, 2024

[ WARN] [1467815104.738537648]: Time jump (time delta: 47.23)

This is weird. Are there any irregularities with your timestamps?

[ WARN] [1467815104.821219674]: "kinect2_rgb_optical_frame" passed to lookupTransform argument source_frame does not exist.
[ WARN] [1467815104.821299079]: Using Standard kinect /openni_camera -> /openni_rgb_optical_frame as tran sformation (This message is throttled to 1 per 5 seconds)

This shouldn't be a problem. Probably the sensor frames are called differently by the driver. You can get rid of this message by setting the paramter "base_frame_name" to the frame_id stated in your images (see rostopic echo /kinect2/sd/image_color_rect/header).

from rgbdslam_v2.

QinZiwen avatar QinZiwen commented on July 21, 2024

Typing "rostopic echo /kinect2/sd/image_color_rect/header",terminal shows:
frame_id: kinect2_ir_optical_frame
---
seq: 153
stamp:
secs: 1468460536
nsecs: 759491121

Because I use libfreenect2 and iai_kinect2, so I change the rgbdslam.launch as follows:

<!-- Input data settings-->
<param name="camera_info_topic"                    value="/kinect2/qhd/camera_info"/>
<param name="config/topic_image_mono"              value="/kinect2/qhd/image_mono_rect"/> 
<param name="config/topic_image_depth"             value="/kinect2/qhd/image_depth_rect"/>
<param name="config/topic_points"                  value="/kinect2/qhd/points"/> <!--if empty, poincloud will be reconstructed from image and depth -->

when I type "roslaunch rgbdslam rgbdslam.launch", the error show:
Initializing Node...
[ INFO] [1468462053.117081285]: Connected to roscore
[ INFO] [1468462053.269145001]: Using ORB keypoint detector.
[ INFO] [1468462053.269204174]: Using gridded keypoint detector with 3x3 cells, keeping 900 keypoints in total.
[ INFO] [1468462053.269236003]: Using adjusted keypoint detector with 5 maximum iterations, keeping the number of keypoints between 67 and 100
[ INFO] [1468462053.290941353]: Listening to /kinect2/qhd/image_mono_rect, /kinect2/qhd/image_depth_rect and /kinect2/qhd/points
[ WARN] [1468462054.374146160]: First RGBD-Data Received
[ INFO] [1468462054.407852939]: Construction of Node with ORB Features
[ INFO] [1468462054.422055136]: Feature 2d size: 794, 3D: 600
[ INFO] [1468462054.422185834]: Feature 2d size: 600, 3D: 600
rgbdslam: /home/turtlebot/rgbdslam_catkin_ws/src/rgbdslam_v2-indigo/src/node.cpp:315: Node::Node(cv::Mat, cv::Ptrcv::FeatureDetector, cv::Ptrcv::DescriptorExtractor, pcl::PointCloudpcl::PointXYZRGB::Ptr, cv::Mat): Assertion `feature_locations_2d_.size() == feature_locations_3d_.size()' failed.
================================================================================REQUIRED process [rgbdslam-1] has died!
process has died [pid 32330, exit code -6, cmd /home/turtlebot/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam __name:=rgbdslam __log:=/home/turtlebot/.ros/log/1cf4dd76-4964-11e6-8423-6480999b1afe/rgbdslam-1.log].
log file: /home/turtlebot/.ros/log/1cf4dd76-4964-11e6-8423-6480999b1afe/rgbdslam-1*.log
initiating shutdown!
================================================================================R
[rgbdslam-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

from rgbdslam_v2.

felixendres avatar felixendres commented on July 21, 2024

Ok, this is definitely a bug, thanks for reporting. I'll have to fix that, but you can work around this by setting the parameter "config/topic_points" to "" (i.e., an empty string).

from rgbdslam_v2.

QinZiwen avatar QinZiwen commented on July 21, 2024

ok, Thank you very much @felixendres

from rgbdslam_v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.