This article has been confirmed to work in the following environments.
version | |
---|---|
NAOqi | 2.5.5.5 |
Choregraphe | 2.5.5.5 |
In NAOqi 2.5.5, the behavior of the [Diagram / Timeline] box has changed, so I will introduce the behavior.
In NAOqi 2.4.3.28, in the [Diagram / Timeline] box with 5 or more inputs (including onStop input), the onStopped output did not fire even if there was an input in onStop.
Specifically, the box looks like the one below.
In NAOqi 2.5.5.5, even if there are 5 or more inputs, the onStopped output will fire if there is an input in onStop.
The operation of onStopped output when an event is input to onStop on the input side is as follows.
NAOqi 2.5.5.5 | NAOqi 2.4.3.28 | |
---|---|---|
Input of 3 or less onStart and onEvent attributes | ○ | ○ |
4 or more inputs of onStart and onEvent attributes | ○ | × |
Due to this change, the Robo app that used to work normally may no longer work properly. If you have a Robo app that doesn't work properly after upgrading from NAOqi 2.4.3.28 to NAOqi 2.5.5.5, it's a good idea to check the operation of the [Diagram / Timeline] box. If you want the behavior to be the same as 2.4.3.28 without making a big change, change the onStop attribute on the input side to onEvent or onStart.
Recommended Posts