Comments (9)
How much RAM do you have? Do you have a swap space? Maybe the compiler run out of memory when building Rtabmap.cpp. I've seen that on some compilers, some files of rtabmap require over 800 MB of RAM to compile. Can you check your memory while building?
from rtabmap.
Hi Mathieu,
The Odroid I was running it on has 2GB of RAM, but no swap. I didn't check how much memory it was consuming, but it's possible it's trying to allot the memory that doesn't exist.
Is it possible for me to run this without swap? If not, I shall try realloting some space as swap and trying to run rtabmap.
from rtabmap.
You can very how much memory is used with "top" command on console or using the system monitor.
To increase the swap without reinstalling Ubuntu, you may check this post: http://stackoverflow.com/questions/19761226/how-to-compile-ruby-with-rvm-on-a-low-memory-system
from rtabmap.
Hi Mathieu,
I set up a small swap section (256 Mb), and ran make clean && make, with my system monitor open (as well as my Chromium browser) - here is a screenshot. It doesn't appear like it's overflowing the memory - it doesn't even seem to be using any.
Is it possible I put on a pre-compiled version and change my CMakeCache or something similar to get this working? I assume it won't be that simple, since executables and library linkings will differ.
from rtabmap.
Hi Mathieu,
Does it matter that I am trying to compile rtabmap on an ARM based processor? I have been trying to find the binary for Ubuntu 12.04 / Hydro, but I am not sure whether you had released one for armhf architecture. Any suggestions on how I can solve this issue?
from rtabmap.
ROS provides binaries for amd64 and i386. It looks like it is possible here to install the binaries : http://wiki.ros.org/hydro/Installation/UbuntuARM
I didn't try yet to build RTAB-Map on ARM, but if OpenCV and PCL can be built, RTAB-Map should too.
from rtabmap.
I'm on the armhf architecture, and after spending quite a while updating sources and searching around, it doesn't look like there is a binary.
One stack overflow post suggested disabling Eigen vectorization to sort out a similar error to what I have. http://stackoverflow.com/questions/22825794/double-free-or-corruption-run-time-error-while-running-pclmovingleastsquares-c
The issue is this requires a source compilation of pcl libraries, which I had tried to install previously, but failed due to Boost version issues. As you can see, I'm in a soup.
from rtabmap.
Hello Mathieu,
Some good news! RTAB-Map compiled from source. Here is what i needed to do -
0) Add a good 1Gb of swap just in case (not required in my opinion).
- Install Boost from source (version 1.47 or higher, required for PCL).
- Download PCL source package (version 1.7.2, latest release).
- Follow the steps in the above link, to disabled Eigen vectorization.
- Install PCL from source (I see what you mean when you said if it can compile PCL, it can do RTAB-Map. The PCL build took 4 hours).
- Modify RTAB-Map Cmake to find source PCL-1.7.2 instead of the binary installation.
- Clean make of RTAB-Map from source.
Perhaps we can add this to the wiki as a heads up for ARM users?
from rtabmap.
Got through a successful build on oDroid C1. (Indigo, Ubuntu 14.04)
Used external USB HDD for swap, didn't need PCL from source, no trouble with Eigen.
Took a few goes with USB falling asleep or something but got through in the end after 6 hours.
Now, same problem as I had with packages, crashing at startup. Might be I do need some of these other source packages, probably a bit of a stretch for C1 all the same.
from rtabmap.
Related Issues (20)
- rtabmap with image filter topic problem HOT 1
- expected type-specifier before ‘OdometryORBSLAM’ : ORBSLAM2 RTAB-MAP. HOT 9
- how to SLAM on ceiling, anyone can help me ?? thank you so much QAQ ~ HOT 2
- Error while running HOT 1
- G2o Fatal error for optimizeBA() HOT 5
- rtabmap parameter problem in 0.21.4 HOT 2
- how to change 2d map when i navigate from 1f to 2f HOT 4
- Empty Gridmap and Octomap with recent integration of Gridmap HOT 2
- Received IMU doesn't have orientation set! It is ignored HOT 2
- many nodes are not optimized (negative weight) after mapping HOT 1
- Python3 Option with RTABMAP Issue HOT 4
- Support for Orbbec Femto cameras HOT 1
- what are these lines mean in graph view ? HOT 2
- how to merge multiple times SLAM db file with rgbd camera, 3d lidar and odometry ? HOT 4
- Localization Mode + MM: Add option to pre-optimize the full global graph once so that map origin doesn't change on retrieval
- how to fusion icp odometry and visual odometry into a fusion odometry? and some question need to reassure
- Change exported multiband filenames
- `cmake_modules/FindSqlite3.cmake` breaks transitive dependencies. HOT 2
- (iSAM2) GTSAM exception caught: Requested the BayesTree clique for a key that is not in the BayesTree HOT 1
- bad calib camera matrix HOT 3
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.