Skip to content
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

Custom Command results in freeze/abortion/termination #454

Open
cs1488 opened this issue Jul 21, 2022 · 0 comments
Open

Custom Command results in freeze/abortion/termination #454

cs1488 opened this issue Jul 21, 2022 · 0 comments

Comments

@cs1488
Copy link

cs1488 commented Jul 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant