New creature in poppy-services

Hello everyone.

For my project, I would like to use poppy-services with my own creature.
I try to understand how it works, but I have some problems :

  • Where is the code of poppy-service ? I mean, where is the code used when I execute poppy-services --http poppy-torso for example ?

It will be perfect to see how it works.

And I have an additional question, but maybe I will answer it myself if I see the poppy-services code :

  • Do you think it will be easier for me to make a new creature and execute it with poppy-services --http cherry ?
  • Rather than just change a few the code of the init of the poppy-torso, and then execute poppy-services --http poppy-torso?

Cheers,

Thomas

I find the file : services_launcher.py.

I will now investigate on this, I’ll let you know.

poppy-service is in the poppy-creature package, which is an abstract creature.
Some time ago, the creature was automatically find in any python package with a “poppy-*” name. For performance issues the list of existing creatures is hardcoded here. Feel free to make a pull request to add your creature.