Comments (6)
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.
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.
[ 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.
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.
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.
ok, Thank you very much @felixendres
from rgbdslam_v2.
Related Issues (20)
- what(): Time is out of dual 32-bit range (using rosbag)
- g2ofork build isuue HOT 1
- Running rgbd slam v2 on sequence of images/frames from video
- can not compile due to /usr/bin/ld: cannot find -lIL HOT 1
- Problem
- CMake Error:_SOLVER_CHOLMOD_LIB notfound HOT 1
- rgbdslam_v2 shutdown when receiving images
- docker image can be nice HOT 1
- Nothing is being published on /rgbdslam/batch_clouds HOT 1
- error: call of overloaded ‘round(float)’ is ambiguous HOT 2
- Is /imu topic used when I run rosluanch rgbdslam.lauch? HOT 2
- Error while loading shared libraries: libg2o_ext_freeglut_minimal.so: cannot open shared object file: No such file or directory HOT 3
- With the topics set according to kinect v2 node, Nothing show on GUI HOT 1
- error: no matching function for call to ‘g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::BlockSolver(g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::LinearSolverType*&)’ = new g2o::BlockSolverX(linearSolver); HOT 1
- GlobalUtil.cpp:(.text._ZN10LiteWindowD2Ev[_ZN10LiteWindowD5Ev]+0x43):undefined reference to `__glutInit
- REQUIRED process [rgbdslam-25] has died! HOT 3
- Breaking detection iterations, because of missing depth HOT 3
- could you please supply a docker image? HOT 1
- ubuntu16.04 ROSkinetic collect2: error: ld returned 1 exit status makefile:169: recipe for target 'siftgpu' failed make[3]: *** [siftgpu] Error 1 HOT 1
- Using a monocular camera to run rgbdslamv2 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgbdslam_v2.