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

Problems in simulation #15

Closed
Mr-Xavier opened this issue Nov 27, 2019 · 6 comments
Closed

Problems in simulation #15

Mr-Xavier opened this issue Nov 27, 2019 · 6 comments
Assignees

Comments

@Mr-Xavier
Copy link

Hi, thanks for your projects. I was just trying to test the navigation node in the stage and got error like this:
[ERROR] [1574837186.769389745, 1.000000000]: error transforming the obstacle cloud from base_link to map: the transformation between map and base_link does not exist.
[ WARN] [1574837187.368732183, 1.600000000]: cannot lookup relative transform from map to base_link at time 0.000000000. Using latest transform
[ WARN] [1574837187.468725955, 1.700000000]: cannot lookup relative transform from map to base_link at time 0.000000000. Using latest transform
[ WARN] [1574837187.670250319, 1.900000000]: cannot lookup relative transform from map to base_link at time 0.000000000. Using latest transform
[ WARN] [1574837187.770237280, 2.000000000]: cannot lookup relative transform from map to base_link at time 0.000000000. Using latest transform
[ WARN] [1574837187.870323464, 2.100000000]: cannot lookup relative transform from map to base_link at time 0.000000000. Using latest transform

屏幕截图 2019-11-27 14:51:33
屏幕截图 2019-11-27 14:52:09
Can you give me some advice how to solve this problem.Thank you!

@betwo
Copy link
Member

betwo commented Nov 27, 2019

Hi @Mr-Xavier,

thank you for reaching out! Could you please give more details? Which launch file did you start?

Please also post your tf tree, e.g. as a screenshot of rosrun rqt_tf_tree rqt_tf_tree.

Cheers

@Mr-Xavier
Copy link
Author

@betwo
69774705-ad352600-11d1-11ea-8907-5fcf5bf8a04a

@betwo
Copy link
Member

betwo commented Nov 30, 2019

That actually looks fine. In the first few seconds, the transformation map -> base_link might not yet be published by amcl.

Did you send a navigation goal?

I reproduced the warnings (see https://youtu.be/y3L5xazTxf8) but the navigation still works.

@Mr-Xavier
Copy link
Author

@betwo
Thanks for your reply. There are still some problems in the simulation. Sometimes it does not follow the planning path, and hits the obstacle directly.
rviz_screenshot_2019_12_02-13_54_34
rviz_screenshot_2019_12_02-15_23_33
屏幕截图 2019-12-02 15:24:39

@betwo
Copy link
Member

betwo commented Dec 11, 2019

@Mr-Xavier sorry for the delay.

It looks like the selected controller started in the opposite direction somehow. I haven't observed this in the past.

Could you please specify under which circumstances this happens?
Also, which launch file did you use?
Did you make customizations? If yes, which control algorithm is used?

Thanks!

@betwo betwo self-assigned this Dec 11, 2019
@betwo
Copy link
Member

betwo commented May 23, 2020

Closed for inactivity. Please re-open if this is still an issue

@betwo betwo closed this as completed May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants