Skip to content
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

when I run StVO,several problem occurs: #6

Open
htxj opened this issue May 9, 2017 · 7 comments
Open

when I run StVO,several problem occurs: #6

htxj opened this issue May 9, 2017 · 7 comments

Comments

@htxj
Copy link

htxj commented May 9, 2017

When I run StVO on EuRoc , problem occurs :

"terminate called after throwing an instance of 'YAML::TypedBadConversion<std::vector<double, std::allocator > >'
what(): yaml-cpp: error at line 0, column 0: bad conversion"

And when I run it on KITTI , the problem is as follow :

"imagesStVO: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = double; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed."

So I read the source code trying to find out the reason , I can't find the parameters "R" and "t" mentioned in the "imagesStVO.cpp" in dataset_params.yaml , so what does these parameters mean? and where can I get their values?
@rubengooj
Copy link
Owner

Hi,

I just updated the configuration file for the EuRoC dataset, now including the rotation (R) and translation (t) of the stereo pair. As for the problem with the KITTI dataset, you don't need the R and t as the images are rectified, so it might be you have the latest version of the Eigen library?

Best, Rubén.

@htxj
Copy link
Author

htxj commented May 9, 2017

THANKS! I'll update the Eigen library and try to run it again

@halajun
Copy link

halajun commented Jul 13, 2017

Hi @rubengooj ,

Still this problem exists, I have the latest Eigen version.

@rikpires
Copy link

rikpires commented Jul 14, 2017

@halajun @rubengooj
The eigen error is caused by using fixed-size vectorizable Eigen types as a member of a class, such as Vector2d, Matrix4d, etc. You just need to put a EIGEN_MAKE_ALIGNED_OPERATOR_NEW macro in a public part of your class. Please refer to here.

@xmupamizq
Copy link

@rubengooj
Hi,
I recently compiled your source code about PL-SLAM and I have succeeded. But when I run the EuRoc MAV dataset as you said in the README documentation:
./plslam_dataset  <dataset_path>  

where <dataset_path> refers to the sequence folder relative to the environment variable ${DATASETS_DIR} that must be previously set. That sequence folder must contain the dataset configuration file named dataset_params.yaml following the examples in pl-slam/config, where images_subfolder_{lr} refers to the left and right image subfolders.
and I met some problem.

As you said, I have downloaded the MH_01_easy sequence (become mav0 when I uncompressed) and stored in the /home/xx/slam_datasets folder. So what should I do to set the environment variable for ${DATASETS_DIR}? In addition, when I run the dataset, how should I set the dataset configuration file named dataset_params.yaml? Can you help me? please.

@liangsongLee
Copy link

@xmupamizq hi ,have you soved your problem?

@xmupamizq
Copy link

@liangsongLee I am so sorry to tell you that I have not solved my problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants