Comments (7)
I tried with the latest binaries for Indigo and I don't have your problem (the clouds of the previous session are correctly shown). See below my output. In your case, "rtabmap" node seems to crash when loading node data from the database. This explains why rtabmapviz cannot call "get_map" service as the rtabmap node is busy (and finally crashes).
Is it a database created from the same rtabmap version? and when the database was first created, rtabmap exited normally? If so, try if the standalone can load the clouds from the database:
$ rtabmap
File -> "Open database..." and select ~/.ros/rtabmap.db
, then Edit->"Download all Clouds".
$ roslaunch test.launch
... logging to /home/mathieu/.ros/log/2a93741a-33da-11e5-9602-58b03561ac71/roslaunch-mathieu-MacBookPro-1451.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://mathieu-MacBookPro:47180/
SUMMARY
========
PARAMETERS
* /rosdistro: indigo
* /rosversion: 1.11.13
* /rtabmap/Mem/IncrementalMemory: true
* /rtabmap/frame_id: base_link
* /rtabmap/publish_tf: True
* /rtabmap/tf_prefix: vehicle
* /rtabmapviz/frame_id: base_link
NODES
/
rtabmap (rtabmap_ros/rtabmap)
rtabmapviz (rtabmap_ros/rtabmapviz)
auto-starting new master
process[master]: started with pid [1463]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 2a93741a-33da-11e5-9602-58b03561ac71
process[rosout-1]: started with pid [1476]
started core service [/rosout]
process[rtabmap-2]: started with pid [1493]
[ INFO] [1437944782.600114047]: Starting node...
process[rtabmapviz-3]: started with pid [1516]
[ INFO] [1437944782.653571565]: rtabmap: frame_id = base_link
[ INFO] [1437944782.653664911]: rtabmap: map_frame_id = map
[ INFO] [1437944782.653706062]: rtabmap: queue_size = 10
[ INFO] [1437944782.653758345]: rtabmap: tf_delay = 0.050000
[ INFO] [1437944782.832241270]: Setting RTAB-Map parameter "Mem/IncrementalMemory"="true"
[ INFO] [1437944782.878467966]: Starting node...
[ INFO] [1437944783.010909452]: rtabmapviz: Using configuration from "/home/mathieu/.ros/rtabmapGUI.ini"
[ INFO] [1437944783.327790918]: RTAB-Map rate detection = 1.000000 Hz
[ INFO] [1437944783.327872240]: rtabmap: Using database from "/home/mathieu/.ros/rtabmap.db".
[ WARN] (2015-07-26 17:06:23.408) Memory.cpp:319::init() _vwd->getUnusedWordsSize() must be empty... size=34
[ INFO] [1437944783.824370890]: Reading parameters from the ROS server...
[ INFO] [1437944783.993093350]: Registering Depth callback...
[ INFO] [1437944783.997333934]:
/rtabmap subscribed to:
/rgb/image,
/depth/image,
/rgb/camera_info,
/odom
[ INFO] [1437944783.997742969]: rtabmap started...
[ INFO] [1437944784.038171432]: Parameters read = 179
[ INFO] [1437944784.038255961]: Parameters successfully read.
[ INFO] [1437944784.103117613]:
/rtabmapviz subscribed to:
[ INFO] [1437944784.112952839]: rtabmapviz started.
[ INFO] [1437944786.655224010]: rtabmap: paused!
[ INFO] [1437944792.836083254]: rtabmap: Getting map (global=true optimized=true graphOnly=true)...
[ INFO] [1437944797.162813599]: rtabmap: Getting map (global=true optimized=true graphOnly=false)...
from rtabmap_ros.
I am using the '5MappingSessions_OnlineConstraint700ms.db.zip' database found on this site.
Trying it on the standalone RTABmap, I noticed that I can download the cloud but it does not show up on the 3d view for some weird reason. The graph data renders perfectly fine though.
from rtabmap_ros.
Make sure that "Show 3D clouds" under Map is checked in Preferences->3D Rendering. Well, I tried the database above and it worked on my computer. However, it takes a lot of memory to show full global map with the latest indigo version (6.9 Gig on my computer). On the latest version from source, rtabmap takes 4 Gig for the same database.
How much memory does your computer have? You can try to download only the "local map" to see if you can at least have the point clouds. When clicking "Download all clouds", select local map instead.
from rtabmap_ros.
Using the local map doesn't work either. For some reason the cloud is not being rendered in the 3d view. When I enable the grid in the 3d view, it still remains black. Changing the background color also doesn't cause anything to happen to the 3d view.
Edit: Just noticed that I got this error now after compiling RTABmap from source and upgrading PCL:
[PCLVisualizer::addTextureMesh] Your GPU doesn't support multi texturing. Will use first one only!
from rtabmap_ros.
Just compiled rtabmap_ros (and rtabmap) from source and it gets the data perfectly fine now. Only problem is the black 3d view. It receives the data but doesn't render it in rtabmap_viz.
I would also like to mention that I am using OpenCV 3 but I don't think that should cause anything weird to happen
And trying to get the occupancy grid doesn't work either and gives such a useful error message:
alex@alex-laptop:~$ rosservice call /rtabmap/get_grid_map
ERROR: service [/rtabmap/get_grid_map] responded with an error:
from rtabmap_ros.
I encounter this error whenever I try to download clouds from a large database. If I spend too much time scanning a room, especially if I run postprocessing, I always get this error. Usually any more than 1,000 loop closures will produce this for me in rtabmap_ros.
from rtabmap_ros.
Which error exactly do you have? Download error, rosservice call failed or optimization failed error?
"Usually any more than 1,000 loop closures will produce", looks like an optimization error problem (g2o/GTSAM/TORO failing to optimize the graph).
from rtabmap_ros.
Related Issues (20)
- euroc_datasets.launch - nothing being processed in RTAB/Map HOT 1
- VIO on ROS2 humble with simulated depth camera in Unity. HOT 6
- ROS2: cannot change image_transport plugin used by rtabmap's nodes
- Did not receive data since 5 seconds! HOT 2
- [icp_odometry]: Did not receive data since 5 seconds! & initial pose cannot be set HOT 3
- map is shifting during recording HOT 1
- RTABMAP shows black screen in 3D map and the visualizer frames are very laggy. HOT 5
- Odometry wrongly reporting topic(s) not received for 5 seconds if odometry is lost or input topics have all invalid values
- Rtabmap fatal error UException (external landmark detection while node wrongly deemed "intermediate" in localization mode). HOT 1
- RTAB Map with ModalAI Starling 2 HOT 1
- Rtabmap odom doesn't publish tf with correct time HOT 1
- Still waiting for data on topic imu/data_raw. HOT 1
- PluginlibFactory: The plugin for class 'rtabmap_ros/MapGraph' failed to load. Error: According to the loaded plugin descriptions the class rtabmap_ros/MapGraph with base class type rviz::Display does not exist. HOT 7
- Weird cone-shaped point cloud using mono camera with Depth-Anything-V2 to get the RGB-D image HOT 3
- RTAB map issue HOT 1
- OctoMap fails to fully detect moving objects HOT 1
- Map misalignment in rtabmap during database loading HOT 1
- Running RTABMAP on Robot HOT 7
- Ground appear in octomap HOT 1
- obstacles_detection node: Unused parameters Grid/RangeMax and Grid/RangeMin HOT 2
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 rtabmap_ros.