-
Notifications
You must be signed in to change notification settings - Fork 1
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
状態遷移仕様の図が間違っている #5
Comments
2つめの |
STOPPED状態は、以下の2パターンありえます。
1 については、RESETを待つ必要はありませんので、そのままシミュレーション開始可能です。 2については、STOPPED時点では、ロボットの位置とか制御側の内部状態がシミュレーション途中の状態になるので、RESETイベントで初期化させたいというのがあります。 また、現状は、デバッグ機能を作ってないので、必ずRESETさせるように、箱庭APIライブラリ側でRESET待ちになります。 一方で、デバッグ機能を実装する場合は、STOPイベントで停止→そのままSTARTイベントでシミュレーションを再開させるように状態遷移させようかなーっと思っています。 |
なるほど、シミュレーション時の内部情報を保持することで、RESET前に取得が可能ということですね。
それができるとシミュレーションのサスペンド/レジュームみたいなことができそうですね。 |
以下の状態遷移図で、STOPPEDが2個あるけれど、1個が正しい。
https://github.com/toppers/hakoniwa-document/blob/main/architecture/README-api.md#全体像
The text was updated successfully, but these errors were encountered: