CleaningRobot
CleaningRobot copied to clipboard
The program has a runtime error
Error msg is:[ERROR] [1606813160.660855737]: Do not call canTransform or lookupTransform with a timeout unless you are using another thread for populating data. Without a dedicated thread it will always timeout. If you have a seperate thread servicing tf messages, call setUsingDedicatedThread(true) on your Buffer instance.
I found something wrong. tf2_ros::Buffer tf(ros::Duration(10)); It should be amended as: tf2_ros::Buffer tf; tf2_ros::TransformListener tfListener(tf); However, after modifying the code, the path cannot be displayed.
@X5reme me too ! It bas been solved?
me too!
I found something wrong. tf2_ros::Buffer tf(ros::Duration(10)); It should be amended as: tf2_ros::Buffer tf; tf2_ros::TransformListener tfListener(tf); However, after modifying the code, the path cannot be displayed.
if u r getting indexes and distance being displayed in terminal , it means algorithm is still running.... reducing map size might help.