OctoMap / octomap_mapping

ROS stack for mapping with OctoMap, contains octomap_server package
http://www.ros.org/wiki/octomap_mapping
342 stars 280 forks source link

Running custom tf node crashing octomap_server node #51

Open atharvasaraf opened 5 years ago

atharvasaraf commented 5 years ago

Hi! I am running a UAV simulator package. I am trying to use the octomap_server launch file to generate a map from available pointCloud data. I have remapped the nodes as required. However publishing transforms through a custom node tfNode.cpp results in the octomap server crashing with error

[octomap_talker-1] process has died [pid 22595, exit code -11, cmd /opt/ros/kinetic/lib/octomap_server/octomap_tracking_server_node cloud_in:=flytsim/velodyne/point_cloud __name:=octomap_talker __log:=/root/.ros/log/a5836ec4-01e9-11e9-8dbb-0242ac130002/octomap_talker-1.log]. log file: /root/.ros/log/a5836ec4-01e9-11e9-8dbb-0242ac130002/octomap_talker-1*.log

Is there any additional information needed? How can I tackle this issue?

Raisintoe commented 5 years ago

I am also having trouble with a custom-made tf broadcaster, and using it with octomap_server. Although, octomap_server continues running for me, it produces an error. Right now, I am assuming that the error occurs because my /cloud_in data does not align with the time stamps of the corresponding tf frame.

So as a guess, (because I am trying to solve this too), it may be that the data and tf frame have to be aligned somehow.

atharvasaraf commented 5 years ago

I am also having trouble with a custom-made tf broadcaster, and using it with octomap_server. Although, octomap_server continues running for me, it produces an error. Right now, I am assuming that the error occurs because my /cloud_in data does not align with the time stamps of the corresponding tf frame.

So as a guess, (because I am trying to solve this too), it may be that the data and tf frame have to be aligned somehow.

Can you please explain the kind of error you are getting? Have you provided the complete transform from /cloud_in to fixed frame?