-
Notifications
You must be signed in to change notification settings - Fork 1.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
SLAM with D435i tutorial: map not showing #2067
Comments
Hi @naoya-kumagai Thank you very much for your questions.
Also, do you only have 'map' and 'camera_link' ticked in the Frames list of tick-boxes, and everything else in that list unticked? The color image topic should be set to /camera/color/image_raw
|
Additional Issues. |
I'm pleased to hear that you made progress, @naoya-kumagai
rosrun map_server map_saver map:=/rtabmap/proj_map –f my_map_1 If you would like to expand the capabilities of the SLAM guide to make use of features such as localization and path plotting, a RealSense user created an adaptation of Intel's guide in the link below that explains how to set up these additional features. |
@MartyG-RealSense I have checked again and see that control_transfer error only occurs for at the very beginning after launch so this is not a problem. Before I get to any mapping or other high level action, I would like to make sure the pointcloud generation and IMU filtering is consistently working. Let me summarize the 3 errors/warnings that I am having. In addition, I have the problem of the TF in Rviz moving around very wildly.
The second process died error seems to have disappeared after setting inital_reset:=true, but if there is any other known solution, I would like to know. What would be an example of controlling the gyro/accel? I am aware that the librealsense SDK is available from many languages, but would this involve for example adding a node to my launch file that becomes a substitute for imu_filter_madgwick? My wrapper and librealsense versions are as below. For installation, I did
as well as the steps in |
Does the RGB-D SLAM mode is enabled, memory is incremental but no odometry is provided message disappear if you add the commands enable_gyro:=true enable_accel:=true to the end of your roslaunch instruction? For example: realsense2_camera opensource_tracking.launch enable_gyro:=true enable_accel:=true If you wish to define custom frequencies for gyro and accel in ROS then you specify the frequency as an FPS speed with gyro_fps and accel_fps. For example, inserting the commands below into your roslaunch instruction: accel_fps:=63 gyro_fps:=200 |
@MartyG-RealSense
but the no odometry error still shows. Since there are so many errors, I think it would be good to focus on the most crucial error right now, which is the pointcloud not showing in Rviz. I thought I solved this earlier, but it came up again. I have followed your instructions above, except for ticking map in TF because that tick doesn't show up. What are some ways to solve this? |
The installation process diverged from what I know as the normal procedure for D435i SLAM when the octomap_rviz_plugins package was installed earlier in #2067 (comment) so that could be affecting the settings that are available. It may be useful to go back to the start of Intel's D435i SLAM guide and check the prerequisites list again. Can you confirm please that the 4 modules below are installed. realsense2_camera |
@MartyG-RealSense If anyone has the same problem, the error message about octomap_rviz_plugins probably is okay to ignore. I have some other questions, but the main focus of this issue is solved, so I will close it. |
You are very welcome, @naoya-kumagai - I'm pleased that you achieved a solution! Please do feel free to ask further questions in a new issue. |
I have a question on running the SLAM with D435i tutorial. I am following the instructions on the page.
When running
There are a few problems occuring in Rviz.
The color image is shown so this is not a problem of the camera not being found.
The text was updated successfully, but these errors were encountered: