flexbe_behavior_engine icon indicating copy to clipboard operation
flexbe_behavior_engine copied to clipboard

Containers do not return userdata/output_keys to parent

Open benmaidel opened this issue 4 years ago • 1 comments

A Container, Statemachine and Concurrent, do not return the defined output_key/userdata to the calling parent.

I've made a little test behavior to reproduce the error: image

image

Error message is:

ERROR] [1636723819.334961]: Failed to execute state LogData:
No data found for key 'data'

workspace to reproduce the error: test_ws.tar.gz

benmaidel avatar Nov 12 '21 13:11 benmaidel

I took a closer look at this error. The error only occurs when the parent state machine has not set any userdata keys when executing a container with an output_key. By adding a simple state that sets a random userdata key as the first state, the error no longer occurs.

benmaidel avatar Nov 25 '21 15:11 benmaidel