Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Extending state codes with running cycle #84

Open
okanasik opened this issue Jan 31, 2019 · 0 comments
Open

Extending state codes with running cycle #84

okanasik opened this issue Jan 31, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@okanasik
Copy link
Contributor

When the user kills the behavior code with interrupt signal (such as CTRL + C), the automata code is killed. If the latest active state is sending move forward command, the robot will continue to move forward even if the behavior is killed. To provide a mechanism to the behavior developer to handle the exiting conditions, we aim to provide three method interfaces; init, step, and finish. When the state is going to be run for the first time, init code is going to be run, step code is the state code that is going to be run as control cycle, finish code is going to be run, when the state's execution is killed or there is a transition to another state.

@okanasik okanasik added the enhancement New feature or request label Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant