Open ricber opened 4 years ago
Hi @ricber , Yes, it's a known issue caused by markers.markers[2] which is always empty. Since it was not very serious (just shows warnings) and I was a bit busy last year, I forgot to fix it. I'll update the code soon. Thank you for reporting it :)
Hello were you able to resolve this error ? Thank you
I am having the same issue. But i don't use the graph slam. Might be due to something in the source code of the MarkerArray?
Hi, I'm having a problem on the following configuration: Ubuntu 16.04 ROS Kinetic
The problem is that the MarkerArray message has one of the elements of the array with an empty frame_id. See the following terminal output, there is an empty frame_id message just after the
frame_id: "map" ns: "edges"
one:I use the hdl_graph_slam.launch file with the nodelet_manager line commented out as I use the velodyne_driver. So, I first start hdl_graph_slam, then Rviz, then the velodyne_driver. For some tens of seconds, I correctly see the map building on Rviz but after a while, I get this error message from Rviz:
[ WARN] [1574694951.774019641]: MessageFilter [target=map ]: Discarding message from [unknown] due to empty frame_id. This message will only print once. [ WARN] [1574694951.774175074]: Invalid argument passed to canTransform argument source_frame in tf2 frame_ids cannot be empty
However, no errors are printed from hdl_graph_slam nor from the velodyne_nodelet_manager. Moreover, I have the same problem with the 501 bag file. I can correctly see the map building and the laser odometry trajectory but a MarkerArray msg has empty frame_id.Can you help me? Thank you :)
EDIT
I've gone through the code of the
hdl_graph_slam_nodelet.cpp
file and thecreate_marker_array
function is not fillingmarkers.markers[2]
. Here is the reason of the error. Can you fix it?