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

[Bug]: Not able to add the waypoint inside the lift and door of lift #224

Closed
1 task done
VigashiniDotworld opened this issue Jun 8, 2024 · 7 comments · Fixed by #226
Closed
1 task done

[Bug]: Not able to add the waypoint inside the lift and door of lift #224

VigashiniDotworld opened this issue Jun 8, 2024 · 7 comments · Fixed by #226
Assignees
Labels
bug Something isn't working

Comments

@VigashiniDotworld
Copy link

VigashiniDotworld commented Jun 8, 2024

Before proceeding, is there an existing issue or discussion for this?

OS and version

Ubuntu 22.04

Open-RMF installation type

Source build

Other Open-RMF installation methods

No response

Open-RMF version or commit hash

2.3.0

ROS distribution

Humble

ROS installation type

Source build

Other ROS installation methods

No response

Package or library, if applicable

No response

Description of the bug

ERROR librmf_site_editor::site::save: Unable to compile site: an object has a reference to an anchor that does not exist

As this error shows when adding the lift waypoint and not able to save the site and generate the nav graph

Steps to reproduce the bug

  1. Add the lift
  2. Add the waypoint inside the lift and to save the anchor point for further nav graph generation.

Expected behavior

No response

Actual behavior

No response

Additional information or screenshots

Screenshot from 2024-06-08 11-28-41

@VigashiniDotworld VigashiniDotworld added the bug Something isn't working label Jun 8, 2024
@naveenrobo
Copy link

@mxgrey can you please advise on this

@luca-della-vedova
Copy link
Member

Can reproduce, looking into it!

@naveenrobo
Copy link

@luca-della-vedova I suspect it is because the Anchor is still marked "unsaved". When I try loading the demo hotel building.yaml file it works without any issue. I was able to generate nav_graph. it only happens if we try to create the anchor ourselves in site editor.

@luca-della-vedova
Copy link
Member

Yes I believe it is due to it not being assigned a SiteID during site saving

@luca-della-vedova
Copy link
Member

Give a try to #226 and see if it works for you

@naveenrobo
Copy link

@luca-della-vedova working now. I am able to add lift and waypoints inside and save it as well as generate nav_graphs.

Thanks a lot for the quick fix.

@VigashiniDotworld
Copy link
Author

Thanks for immediate response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants