Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The program has a runtime error #9

Open
X5reme opened this issue Dec 1, 2020 · 4 comments
Open

The program has a runtime error #9

X5reme opened this issue Dec 1, 2020 · 4 comments

Comments

@X5reme
Copy link

X5reme commented Dec 1, 2020

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
Copy link
Author

X5reme commented Dec 11, 2020

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.

@jessieqiqi
Copy link

@X5reme me too ! It bas been solved?

@SIIYIIX
Copy link

SIIYIIX commented Apr 29, 2021

me too!

@bharathyr06002
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants