I am trying to run multiple sub-behaviors in parallel, using the syntax defined in the website:
“do behavior/scenario,…”
I get the following error: do
can only take one action inside a behavior
Here is an example to make it more concrete:
behavior simple_1():
take SetThrottleAction(0.8)
behavior simple_2():
take SetSteerAction(0.2)
behavior simple():
do simple_1(), simple_2()
This results in the above error. Am I missing something? Could you give an example of how this should be done correctly?