-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing for rs-kinfu #11753
Comments
Hi @TheNemo05 I am not able to test rs-kinfu on my computer. There is also unfortunately not much that can be added to the information that was provided in your earlier 3D reconstruction issues at #11547 and #11571 other than the new suggestions below. Pyntcloud for the Python language is RealSense compatible and has an MIT Licence, meaning that you can freely modify and distribute it so long as you include the original author's copyright message in the code. https://github.com/daavoo/pyntcloud You could also use PCL instead of Open3D to register a series of pointclouds together. https://pcl.readthedocs.io/en/latest/pairwise_incremental_registration.html |
Hello @TheNemo05, from our experience best results can be achieved with a mixed point cloud / photogrammetry approach:
Smartphone pictures can be used for a better high-resolution texture and to refine the point cloud confidence. They help with the reconstruction too and can better reconstruct black / reflective surfaces. With sfm softwares you can add GCP (Ground Control Points) over your scan area to achieve a solid accuracy and avoid drifts. We just released the open source RS Photo Converter that can help you with these steps. It works with an Android app (tested on Android 9 for now, but more devices will be tested soon) that greatly simplify this workflow and automatically optimize RS parameters (ex. Z Units, etc..) for accurate results. |
Thanks so much @majinsoft for your highly detailed advice for @TheNemo05 :) |
Thanks so much @majinsoft, a few question:
|
Hello @TheNemo05,
*We hope that SPAD Depth Sensor will change this in some years, when resolution/cost will be adeguate. Next iPhone lidar probably can be already something to try. |
As i need to calculate surface area of underwater object, i was planning if depthmap could help ? any solution for this |
From the points you have discussed. Here's what i ve understood.
I ve tried to keep it short., |
Hello @TheNemo05, what's the size of the object you want to measure and what accuracy are you looking for? |
Accuracy is not a worry at the moment, right now we are considering a unspecified object |
Hi @TheNemo05 Do you have an update about this case that you can provide, please? Thanks! |
Umm,
|
For scanning a scene in real-time and progressively building up an image with a RealSense camera, commercial 3D scanning software is the only alternative to the open-source rs-kinfu example unless ROS is used with SLAM navigation to build up a pointcloud and save the data to file. Intel have a ROS1 tutorial for this at the link below. https://github.com/IntelRealSense/realsense-ros/wiki/SLAM-with-D435i This tutorial requires a RealSense camera that is equipped with an IMU component such as D435i, D435if or D455. |
I am using a D455, i ll try the above procedure with ros & update on the issue. |
|
Thanks @majinsoft I will just add that online tech press reports of RealSense 'winding down' were inaccurate, with Intel's official response posted on the librealsense front page at the link below. Rather than a wind-down, some product categories such as lidar (L515) and face recognition (F455) were retired to focus completely on the 400 Series stereo depth camera range, which has continued. |
You are very welcome, @majinsoft :) There is a large amount of new development work that goes on continually and is merged into to the development branch of librealsense, which is 641 commits ahead of the master branch at the time of writing this. https://github.com/IntelRealSense/librealsense/tree/development When the development branch is pushed to release, it becomes the next master branch version. |
@TheNemo05 That error may occur if the RealSense ROS2 wrapper is being used, as opensource_tracking.launch is a ROS1 wrapper launch file, or if the RealSense ROS1 wrapper has not been installed. https://github.com/IntelRealSense/realsense-ros/tree/ros1-legacy#installation-instructions |
the package is now usable, but as i am using D455, it looses its orientation after capturing a particular sets of points. |
@TheNemo05 If you are referring to the ROS SLAM guide, its documentation has a note about loss of orientation. The built-in IMU can only keep track for a very short time. Moving or turning too quickly will break the sequence of successful point cloud matches and will result in the system losing track. It could happen that the system will recover immediately if stopped moving but if not, the longer the time passed since the break, the farther away it will drift from the correct position. The odds for recovery get very slim, very quickly. The parameters set in the launch file are most likely not ideal but this is a good starting point for calibrating. At the link below, a RealSense user created an adaptation of the SLAM guide that added localization with RTABMAP and obtaining the relative position from a recorded pointcloud map. |
If you are referring to launch/opensource_tracking_tk_online.launch from the link you provided. The launch file is not available else the website is broken |
I tracked down a working link to the launch file. In case the link cannot be accessed, I have posted the full contents of the launch file below.
|
The original opensource_tracking.launch code & the one you provided are completely same. |
It would be the same. The new link that I provided is a replacement for the link that you quoted that does not work any more. |
great this method is working. Just stuck at overlapping of points. any suggestions ? |
Hello @TheNemo05 Can you post any screenshoot of the result you got? |
Thanks very much again @majinsoft for your assistance to @TheNemo05 :) |
surei ll be posting screenshots along with the generated pointcloud. a question to @MartyG-RealSense can we map depth pointcloud using Rtabmap & realsense. And also if u have any packages related to Ros2 for Rtabmap & realsense will be helpful. |
Also from my observations, whenever I try to map my pointcloud in rviz it looses its orientation. But in rtabmapviz it is comparatively stable, |
Hi @TheNemo05 The Intel D435i SLAM guide and the DPoom adaptation of it from earlier in this discussion are the best available guides for ROS1 that I am aware of for mapping a depth poiintcloud with RealSense and rtabmap_ros. As mentioned earlier at #11753 (comment) the D435i SLAM guide provides a warning about loss of IMU orientation. If the opensource_tracking.launch ROS1 launch file is used then setting rviz to false and rtabmapviz to true has been reported by some RealSense ROS users to provide improved stabilty. SLAM navigation in ROS2 can be more complicated than with ROS1. RealSense ROS2 users who have attempted it typically use a combination of slam_toolbox and depthimage_to_laserscan, like in IntelRealSense/realsense-ros#2387 |
Hello there, |
@TheNemo05 If your pointcloud is being generated with rtabmap then the advice about noise reduction at introlab/rtabmap#414 may be helpful. |
@TheNemo05 Do you have additional glass in front of the D435i? This, with the water diffraction, can cause distortions that mess-up everything. You may need a special camera calibration for that environment. |
Hi @TheNemo05 Do you have an update about this case that you can provide after the advice of @majinsoft above, please? Thanks! |
Hi @TheNemo05 Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
Hey, after months of research i didnt find any suitable solution for 3d reconstruction using realsense. Can u please test the rs-kinfu codes and provide me with suitable one
The text was updated successfully, but these errors were encountered: