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

Problem with map . #13

Closed
Daviesss opened this issue Feb 29, 2024 · 9 comments
Closed

Problem with map . #13

Daviesss opened this issue Feb 29, 2024 · 9 comments

Comments

@Daviesss
Copy link

Daviesss commented Feb 29, 2024

Hello , i have been able to configure all the packages and Node to be able to use turtlebot3 "burger" . But there is a problem . All works when exploring with the robots, but for some reason which i don't know why . After some while . This happens . The description below. I appreciate any advice to solve this.

Screenshot from 2024-02-29 13-16-37

@Daviesss
Copy link
Author

Hello , i have been able to configure all the packages and Node to be able to use turtlebot3 "burger" . But there is a problem . All works when exploring with the robots, but for some reason which i don't know why . After some while . This happens . The description below. I appreciate any advice to solve this.

Screenshot from 2024-02-29 13-16-37

Screenshot from 2024-02-29 13-16-37

@hikashi
Copy link
Owner

hikashi commented Mar 1, 2024

For your information, RRT is a boundary-based exploration, which only happens inside a bounding box.
The yellow box from your screenshot indicates the bounding box for the exploration, where it would not expand beyond it. You should work on the map-merging tools by supplying the optimal settings to eliminate the problem you are facing.

From what I can tell, there are a few potential problems that will cause an issue for exploration:

  • initial map size too small
  • map merging can't seem to merge the map or do you hide it in Rviz?
  • the exploration is based on two maps (robot local map and global merged map)
  • is the global cost map for the robots working as intended?

I believe if you go through the original author's paper, you should have a rough idea of what stack is running and the underlying working mechanism.

@Daviesss
Copy link
Author

Daviesss commented Mar 1, 2024

For your information, RRT is a boundary-based exploration, which only happens inside a bounding box.
The yellow box from your screenshot indicates the bounding box for the exploration, where it would not expand beyond it. You should work on the map-merging tools by supplying the optimal settings to eliminate the problem you are facing.

From what I can tell, there are a few potential problems that will cause an issue for exploration:

  • initial map size too small
  • map merging can't seem to merge the map or do you hide it in Rviz?
  • the exploration is based on two maps (robot local map and global merged map)
  • is the global cost map for the robots working as intended?

I believe if you go through the original author's paper, you should have a rough idea of what stack is running and the underlying working mechanism.

Thanks for your reply. I relaunched the node, and everything is working fine so far. I will let you know if any errors arise, and I'll also review these steps and inform you. Also, can a pull request be sent for "Burger"? I would appreciate your feedback. Thank you in advance.

Regards.

@Daviesss
Copy link
Author

Daviesss commented Mar 6, 2024

For your information, RRT is a boundary-based exploration, which only happens inside a bounding box. The yellow box from your screenshot indicates the bounding box for the exploration, where it would not expand beyond it. You should work on the map-merging tools by supplying the optimal settings to eliminate the problem you are facing.

From what I can tell, there are a few potential problems that will cause an issue for exploration:

* initial map size too small

* map merging can't seem to merge the map or do you hide it in Rviz?

* the exploration is based on two maps (robot local map and global merged map)

* is the global cost map for the robots working as intended?

I believe if you go through the original author's paper, you should have a rough idea of what stack is running and the underlying working mechanism.

Good Morning,

Thanks for last time . I still have the same problem , even after following these steps. How can i solve this issue ?

@hikashi
Copy link
Owner

hikashi commented Mar 7, 2024

Sorry to hear about that. I think most probably related to your mapping stack problems.
As for the merge map not functioning properly, you may refer to multi-robot merge map for more queries on how merge-map works.

@Daviesss
Copy link
Author

Daviesss commented Mar 7, 2024

Do you think the issue may be from the map merge ? Or ? Reason why I'm asking is the robots explore, but after some while the map shift like you can see in the description above . What do you think may be the problem?

@hikashi
Copy link
Owner

hikashi commented Mar 12, 2024

most probably is your merge map configuration having trouble.
Since you have changed to "burger", the sensor height and localization configuration could be different.
You will have to reconfigure those yourself to fix the map shifting as map-merge only leverage opencv to merge CV. You will need to have certain common features in order for the merge map to function properly.

@Daviesss
Copy link
Author

most probably is your merge map configuration having trouble.
Since you have changed to "burger", the sensor height and localization configuration could be different.
You will have to reconfigure those yourself to fix the map shifting as map-merge only leverage opencv to merge CV. You will need to have certain common features in order for the merge map to function properly.

Is the opencv Merge cv added to the repo ? Looks like there isn't any open cv functionalities. Probably the robot's aren't noticing the common features. That's why the merge keeps failing..

@hikashi
Copy link
Owner

hikashi commented Mar 12, 2024

It's built-in inside the merge map folder (Please read the paper and previous author's research work).
It's common to have a weird merging effect and thus merge incorrectly (problems for others to solve).

As mentioned in the read file, I only did the conversion from ROS Kinetic to ROS Noetic.
The problems that originally came with the original files will persist even after I did the conversion.

You can choose to fix the problem if you find one. I would be glad to commit to the changes if so.

@hikashi hikashi closed this as completed Mar 18, 2024
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