Obstacle Avoidance in Autoware 1.12
We want to enable obstacle avoidance in our self-driving car which is running on Autoware 1.12. We were trying to use lidar_kf_contour_track with OpenPlanner to enable obstacle avoidance.
Currently, the topics that lidar_kf_coutour_track publishes to has no outputs. This node subscribes to /cloud_cluster for the data but in our implementation, the lidar_euclidean_cluster_detect publishes to /detection/lidar_detector/cloud_cluster instead of /cloud_clusters.We have tried:
Changing the lidar_kf_contour_track so that it subscribes to /detection/lidar_detector/cloud_cluster to get the data Publishing the data to /cloud_cluster topic as well as the /detection/lidar_detector/cloud_cluster from lidar_euclidean_cluster_detect and keep the lidar_kf_contour_track subscribed to /cloud_cluster
(Cloud_cluster is of type autoware_msgs/CloudClusterArray)
Both these ways did not help as we kept getting the following error message:
terminate called after throwing an instance if ‘std::out_of_range’ what(): véctor::_M_range_check: _n (which is 2) >= this->size() (which is 2) [Lidar contour track-1] process has died [pid 22419, exit code -6, cmd /home/mri/autoware.ai/install/lidar_kf_contour_track/lub/libdar_kf_contour_track/lidar_kf_contour_track_name:=lidar_kf_contour_tack
We think this error occurs while processing the data when it is received by the lidar_kf_contour_track node and hence the error but cannot find the root cause of it. I have attached the settings that we are currently using for lidar_kf_contour_track as a picture to this post. Any help regarding this issue will be greatly appreciated!