Issue in /detected_polygons topic type visualizationmsgs/MarkerArray

asked 2022-09-09 08:43:03 -0500

Junaid22 gravatar image

Hello. I am working on Carla+ROS(Melodic)+Autoware.ai.1.14. When I try to avoid obstacles using velocity_set and astar_avoid nodes, I have to start the lidar_kf_contour_track node. But the published topic /detected_polygons apparently has some issues as it throws an error in Rviz. Error: marer array Text is empty or only consists of whitespace and Error: At least two points are required for a LINE_STRIP marker. This topic is only subscribed by Rviz, so I don't understand why the vehicle crashes into the obstacle instead of avoiding it.

Any help would be appreciated.

edit retag flag offensive close merge delete

Comments

Your RViz is somehow receiving an empty text and an empty line to display. This is why it complains and shows error messages. The vehicle crashing should be unrelated to visualization. I suggest checking the rostopic and manually echoing it in the terminal. It could be a bug you are hitting on.

ravijoshi gravatar image ravijoshi  ( 2022-09-09 22:48:09 -0500 )edit

Thank you for your answer. Yes, in the rostopic I have empty data types for some variables including this. But I use the standard node of Autoware.ai, lidar_kf_contour_track but still I get empty texts. What could be the reason of bug?

Here is the rostopic echo: https://drive.google.com/file/d/1AtwJ...

Junaid22 gravatar image Junaid22  ( 2022-09-12 05:57:55 -0500 )edit

And also to mention that the node lidar_euclidean_cluster_detect works fine and the output --> /cloud_clusters is non empty(this is the input to the node : lidar_kf_contour_track. The issue is with the node lidar_kf_contour_track but i am unable to debug.

Junaid22 gravatar image Junaid22  ( 2022-09-12 09:37:34 -0500 )edit

Sorry, I can not provide additional support, as it belongs to Autoware.ai.

ravijoshi gravatar image ravijoshi  ( 2022-09-12 20:38:20 -0500 )edit