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

Random Start Location of Robot #2

Open
cbcbHH opened this issue Jan 5, 2025 · 8 comments
Open

Random Start Location of Robot #2

cbcbHH opened this issue Jan 5, 2025 · 8 comments

Comments

@cbcbHH
Copy link

cbcbHH commented Jan 5, 2025

I met the problem of AttributeError: 'NoneType' object has no attribute 'data' , when I change the robot position from random starts. I have tried to initial the quad tree from the start location, but it still went wrong. Can you help me to solve the problem? thanks for your kindness !!

@caoyuhong001
Copy link
Contributor

Sure, I will try to fix this issue soon.

@caoyuhong001
Copy link
Contributor

I have updated the code and did some tests and it seems working fine. Let me know whether it works in your case.

@cbcbHH
Copy link
Author

cbcbHH commented Jan 5, 2025

I have updated the code and did some tests and it seems working fine. Let me know whether it works in your case.

Thanks a lot for your support! I will try the new one to see whether it works~

@cbcbHH
Copy link
Author

cbcbHH commented Jan 8, 2025

I have updated the code and did some tests and it seems working fine. Let me know whether it works in your case.

I have tried it in the indoor env, and it seems work great; but when I switch to the tunnel env, it shows the "exploration completed" from many random starts.

@caoyuhong001
Copy link
Contributor

I have updated the code. There was a typo which made x and y of start location in int type. That's why the planner returns exploration completed in some cases. Please test the new code. Thanks!

@cbcbHH
Copy link
Author

cbcbHH commented Jan 14, 2025

I have updated the code. There was a typo which made x and y of start location in int type. That's why the planner returns exploration completed in some cases. Please test the new code. Thanks!

The new code doesn't work in my experiments😢 After I replaced two of the .py source file in my project, it stucked and didn't print anything, even didn't show the 'explration completed'. Could you please help me to check the code again? Thanks a lot!

@caoyuhong001
Copy link
Contributor

Everything works fine on my side. Maybe you made some changes that broke the code? You can try the updated code without any modification first.

@cbcbHH
Copy link
Author

cbcbHH commented Jan 14, 2025

Everything works fine on my side. Maybe you made some changes that broke the code? You can try the updated code without any modification first.

I download the full .zip and replace the entire code in my project, and it works for me now😀 Thanks for your great kindness!

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

2 participants