CleaningRobot icon indicating copy to clipboard operation
CleaningRobot copied to clipboard

The program has a runtime error

Open X5reme opened this issue 4 years ago • 4 comments

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.

X5reme avatar Dec 01 '20 09:12 X5reme

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 avatar Dec 11 '20 16:12 X5reme

@X5reme me too ! It bas been solved?

jessieqiqi avatar Apr 15 '21 07:04 jessieqiqi

me too!

SIIYIIX avatar Apr 29 '21 02:04 SIIYIIX

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.

bharathyr06002 avatar Oct 27 '21 12:10 bharathyr06002