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

Can not launch chisel_ros node: seems like eigen error #28

Open
pjrambo opened this issue Feb 19, 2019 · 1 comment
Open

Can not launch chisel_ros node: seems like eigen error #28

pjrambo opened this issue Feb 19, 2019 · 1 comment

Comments

@pjrambo
Copy link

pjrambo commented Feb 19, 2019

Sorry to disturb,
I'm trying to install openchisel on my computer. I was following all the procedure in the readme. Everything is ok until I launch the chisel_ros node. It came out some error as below. It seems like something wrong with eigen. Have you met this error before? What kinds of eigen version are you using? Thanks a lot.

pj@pj:~/catkin_ws$ roslaunch chisel_ros pinhole.launch
... logging to /home/pj/.ros/log/0d5229a8-3455-11e9-a5b6-2c56dc4dddb6/roslaunch-pj-9512.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
WARNING: disk usage in log directory [/home/pj/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

started roslaunch server http://pj:33275/

SUMMARY

PARAMETERS

  • /Chisel/Colorimage_topic: /hybrid_map/refer...
  • /Chisel/Depthimage_topic: /camera/depth/ima...
  • /Chisel/Odometry_topic: /vins_estimator/c...
  • /Chisel/camera_type: Pinhole
  • /Chisel/carving_dist_m: 0.05
  • /Chisel/chunk_size_x: 16
  • /Chisel/chunk_size_y: 16
  • /Chisel/chunk_size_z: 16
  • /Chisel/cx: 323.120483398
  • /Chisel/cy: 236.743209839
  • /Chisel/far_plane_dist: 3
  • /Chisel/fusion_mode: DepthImage
  • /Chisel/fx: 385.754486084
  • /Chisel/fy: 385.754486084
  • /Chisel/image_height: 480
  • /Chisel/image_width: 640
  • /Chisel/truncation_scale: 10
  • /Chisel/use_color: False
  • /Chisel/use_voxel_carving: True
  • /Chisel/voxel_resolution_m: 0.05
  • /rosdistro: lunar
  • /rosversion: 1.13.6

NODES
/
Chisel (chisel_ros/ChiselNode)

auto-starting new master
process[master]: started with pid [9522]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 0d5229a8-3455-11e9-a5b6-2c56dc4dddb6
process[rosout-1]: started with pid [9535]
started core service [/rosout]
process[Chisel-2]: started with pid [9542]
[ INFO] [1550587551.670122841]: Starting up chisel node.
[ INFO] [1550587551.685902827]: Mode depth image
[ INFO] [1550587551.685925961]: Subscribing.
ChiselNode: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = float; 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.
[Chisel-2] process has died [pid 9542, exit code -6, cmd /home/pj/catkin_ws/devel/lib/chisel_ros/ChiselNode __name:=Chisel __log:=/home/pj/.ros/log/0d5229a8-3455-11e9-a5b6-2c56dc4dddb6/Chisel-2.log].
log file: /home/pj/.ros/log/0d5229a8-3455-11e9-a5b6-2c56dc4dddb6/Chisel-2
.log

@slamlixiaodong
Copy link

Hi, I think this is a gcc complier question, I encounter this problem and resolve it by modifying catkin.cmake files in two packages.
add SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -O3 -mtune=native ") to catkin.catkin files and delete SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x"), at last, you will be catkin_make.
I hope you can be success.

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

2 participants