Skip to content

Custom Command results in freeze/abortion/termination #454

@cs1488

Description

@cs1488

Discord Link is broken smth, i can not join.

I have tried to create a custom command.

  • For starters i wanted to switch on a light.
  • This is my setup in the blueprint editor
    Switch
    EventGraph
    completeBlueprintEditor

In custom command it says:

  • override the execute function
  • and name it like the function you want to call from python side.
    But i can not rename it in the child.

For my blueprint i looked at your weather controller functions as examples

  • i could not find any reference on how to create one.

On the python side i am calling my function like this:

env.send_world_command(name= "Switch",num_params =[1.0, counter*1000],string_params = None)

But all that happens is, that the simulation freezes.
With a debugger i could see that the issue occures, when calling env.tick()
The send_world_command seems ok, since it is taken over to the command queue properly.

How do i need to configure the blueprint for the simulation not to stop.

Error i get sometimes is that Semaphore is busy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions