ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

rtabmap icp_odometry.cpp:453::callbackCloud() fatal error.

asked 2021-05-01 10:19:16 -0600

Ifx13 gravatar image

Hello everyone,

I get a strange error that I did not get before, I formated my laptop and rebuilt rtabmap and now I get this error while i play the same bagfile with the same parameters.

[FATAL] (2021-05-01 17:59:54.099) icp_odometry.cpp:453::callbackCloud() Condition (pointCloudMsg->data.size() == pointCloudMsg->row_steppointCloudMsg->height) not met! [data=288222 row_step=0 height=1] terminate called after throwing an instance of 'UException' what(): [FATAL] (2021-05-01 17:59:54.099) icp_odometry.cpp:453::callbackCloud() Condition (pointCloudMsg->data.size() == pointCloudMsg->row_steppointCloudMsg->height) not met! [data=288222 row_step=0 height=1]

This is the error and the pointcloud2 was recorded from a rosbag record command and the topic was comming from the velodyne pointcloud package, any ideas??

edit retag flag offensive close merge delete

Comments

Is there a package that you did not install when you rebuilt? Are there any other errors that occurred before the error in question, such as a node not being found and not starting?

miura gravatar image miura  ( 2021-05-01 10:58:15 -0600 )edit

This is a fatal error occurred for the same reason, explaining what actually changed.

http://official-rtab-map-forum.67519....

Ifx13 gravatar image Ifx13  ( 2021-05-01 11:20:11 -0600 )edit
1

I'm glad you were able to find the cause. For those who will follow, it would be good to include it in your answer and check it for resolution.

miura gravatar image miura  ( 2021-05-01 22:14:45 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-02 06:14:21 -0600

Ifx13 gravatar image

updated 2021-08-09 10:47:33 -0600

matlabbe gravatar image

For everyone experiencing something similar with me here is the cause and the suggested solutions!

http://official-rtab-map-forum.206.s1...

edit flag offensive delete link more

Comments

I looked at the solutions but what did you do to fix it? Change the Velodyne code? If so how so that it still works, or Did you change the RTABmap code? Any help will be greatly appreciated as I don't want to choose the wrong method.

jtoobias gravatar image jtoobias  ( 2021-05-06 23:22:03 -0600 )edit
1

If you've built from source, you will find at catkin_ws/src/rtabmap_ros/src the scripts that are mentioned. If you look at this link you will find what's new. All I did was to comment out the assertions at the MsgConversion.cpp and at nodelets/icp_odometry.cpp and then recompile.

But this is an issue of how the data are recorded. I noticed at the github page of velodyne that there was mentioned an issue for the row step and a fix was made but I renewed the package and the row_step was still 0.

Ifx13 gravatar image Ifx13  ( 2021-05-07 08:15:39 -0600 )edit
2

I made a pull request: https://github.com/ros-drivers/velody... A workaround with current binaries is to set organize_cloud:=true when launching the velodyne launch file.

matlabbe gravatar image matlabbe  ( 2021-05-12 14:21:41 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-05-01 10:19:16 -0600

Seen: 235 times

Last updated: Aug 09 '21