Open maShimizu opened 6 years ago
Hi all
I've already posted above, and I try to resolve now. I run g2o code on AWS ubuntu. AWS instance don't have GPU, I install and use OpenGL/mesa. I guess OpenGL/mesa have any trouble.
Does anyone try g2o on AWS?
I guess there were many bugs after merging "Make G2O Compatible With Hardware That Only Supports Single Precision Floating Point Types", try checkout commit before that.
I don't think that check-in has anything to do with it, as it just adds a using definition for changing the default number type. It also doesn't change anything by default, you have to opt-in to change the type.
Have you tried attaching a debugger to it to figure out what the callstack is?
I don't change types, I use just original slam_3d example types. Anyway, I try a debugger. But, I can't find attaching a debugger in your comment. or is a debugger in g2o?
regarding OpenGL. There is a build config variable to exclude OpenGL. Set G2O_USE_OPENGL to false in your cmake configuration.
Hi here
I get "Segmentation fault (core dumped)" using simulator_3d_line example code. log: Using CSparse poseDim -1 landMarkDim -1 blockordering 0Creating simulator
Creating robot Creating line sensor Creating landmark line 1 Creating landmark line 2 Creating landmark line 3 Segmentation fault (core dumped)
And, I try 3d slam and run original code. but sometimes get "Segmentation fault" same as above, too. I have suspicious about "g2o::ParameterSE3Offset", because I just try simple code as below and get "segmentation fault". Please anyone let me know where I should modify this code or check.
Code( a port of ):
include "g2o/core/sparse_optimizer.h"
include "g2o/core/block_solver.h"
include "g2o/core/linear_solver.h"
include "g2o/core/factory.h"
include "g2o/core/optimization_algorithm_factory.h"
include "g2o/core/optimization_algorithm_gauss_newton.h"
include "g2o/core/optimization_algorithm_levenberg.h"
include "g2o/solvers/csparse/linear_solver_csparse.h"
include "g2o/solvers/eigen/linear_solver_eigen.h"
include "g2o/types/slam3d/types_slam3d.h"
void nviewTracker::BundleAdjustment( std::vector<Frame> pframes ) { g2o::SparseOptimizer optimizer; optimizer.setVerbose(false);
}