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

Error: RRTstar: There are no valid initial states! #1027

Closed
YaboCheung opened this issue Apr 28, 2023 · 3 comments
Closed

Error: RRTstar: There are no valid initial states! #1027

YaboCheung opened this issue Apr 28, 2023 · 3 comments

Comments

@YaboCheung
Copy link

I continue to encounter problems like "Error: RRTstar: There are no valid initial states!"
here are the results:

Info: RRTstar: Space information setup was not yet called. Calling now.
Debug: RRTstar: Planner range detected to be 8.808863
Info: RRTstar: No optimization objective specified. Defaulting to optimizing path length for the allowed planning time.
Warning: RRTstar: Skipping invalid start state (invalid state)
at line 249 in /home/nvidia/ompl/src/ompl/base/src/Planner.cpp
Debug: RRTstar: Discarded start state Compound state [
RealVectorState [1.85227 0.940515 0.356055]
SO3State [0 0 0 1]
]
Error: RRTstar: There are no valid initial states!
at line 193 in /home/nvidia/ompl/src/ompl/geometric/planners/rrt/src/RRTstar.cpp

Can anyone help?

@zkingston
Copy link
Member

This implies that your starting configuration is not valid according to your state validity checker. Double check and inspect by explicitly calling the state validity checker's isValid on your starting state.

@zkingston
Copy link
Member

Closing for now unless there is follow up.

@YaboCheung
Copy link
Author

I just followed what u say to double check the isValid func and correct it!
tks a lot,

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