Skip to content

Allow base::CompoundState to be cast to base::State#92

Open
davetcoleman wants to merge 1 commit intoompl:mainfrom
davetcoleman:master_compound_state
Open

Allow base::CompoundState to be cast to base::State#92
davetcoleman wants to merge 1 commit intoompl:mainfrom
davetcoleman:master_compound_state

Conversation

@davetcoleman
Copy link
Copy Markdown
Contributor

I'm doing task planning with CompoundStates and am explicitly using that type within my code to prevent confusion with other locations in my code that use a different type of State. However there are many places throughout OMPL that require a base::State*, so I need to be able to downcast my base::CompoundState* using these functions.

@mamoll
Copy link
Copy Markdown
Member

mamoll commented Oct 27, 2016

I'm confused. What does CompoundState::as() do differently than the State::as() method it overrides?

@davetcoleman
Copy link
Copy Markdown
Contributor Author

Good question... for some reason State::as() isn't available in CompoundState

Base automatically changed from master to main March 12, 2021 22:31
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

Successfully merging this pull request may close these issues.

2 participants