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

Implementing StateMachine as a Diagram. #31

Open
pangtao22 opened this issue Jun 18, 2021 · 0 comments
Open

Implementing StateMachine as a Diagram. #31

pangtao22 opened this issue Jun 18, 2021 · 0 comments

Comments

@pangtao22
Copy link
Member

pangtao22 commented Jun 18, 2021

With the performance issue of Systems largely resolved (#29), the remaining question asked by @RussTedrake is whether the StateMachine can be converted to a Diagram where state-dependent behavior is controlled by a PortSwitch. It certainly seems doable, but a more insightful answer can only be obtained by digging into the details. For example, the request-reply behavior used in aborting the current plan, supported by ZMQ, is not supported by LCM, but can certainly be emulated by having multiple LCM channels, but this will lead to more cumbersome Diagrams or event handling/input port updating in LCM-driven loop.

I think a good first step is to identify an essential subset of the features supported by StateMachine and implement those features as a Diagram.

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

1 participant