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

Migrate delphyne-dragway to use behaviour tree-based API #205

Merged
merged 10 commits into from
Aug 23, 2019

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Jul 19, 2019

Precisely what the title says. Connected to maliput/delphyne#636.

@hidmic hidmic requested review from stonier, JShep1 and BMarchi July 19, 2019 21:20
BMarchi
BMarchi previously approved these changes Jul 22, 2019
JShep1
JShep1 previously approved these changes Jul 25, 2019
Copy link

@JShep1 JShep1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"""
simulation = simulation_subtree.runner.get_simulation()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we get the simulation from the blackboard instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Via bb_helper? It feels odd, like an implementation detail. Alternatively we could a property/attribute/method to the simulation_subtree to retrieve the simulation instead of having two levels of indirection. Thoughts?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, nevermind. I forgot that it was being used as a pretick handler. It's fine as it is.

@hidmic hidmic force-pushed the hidmic/py_trees-based-api branch from 3606af1 to 17094fe Compare August 20, 2019 20:12
@hidmic
Copy link
Contributor Author

hidmic commented Aug 20, 2019

Alright, final rebase. @BMarchi, @JShep1, PTAL so we can merge this.

Perfomance issues in demos are also there in master, so it's unrelated to this addition.

BMarchi
BMarchi previously approved these changes Aug 21, 2019
hidmic and others added 10 commits August 23, 2019 13:21
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
* Rename scriptlets maliput package for roads (#206)

* Use behaviour trees in scriplets demo

* Use behaviour trees delphyne-city demo (#209)
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic force-pushed the hidmic/py_trees-based-api branch from 4cbe523 to e1dc2ec Compare August 23, 2019 16:22
@JShep1 JShep1 self-requested a review August 23, 2019 19:22
@hidmic
Copy link
Contributor Author

hidmic commented Aug 23, 2019

Alright, going in.

@hidmic hidmic merged commit c2ebd44 into master Aug 23, 2019
@hidmic hidmic deleted the hidmic/py_trees-based-api branch August 23, 2019 19:46
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.

3 participants