I want my app to start when pepper is started and when some other app is opened and then closed (like settings) it should go back to my app.
I tried doing it in preferences but seems like i am missing something.
Does anybody got some examples?
I want my app to start when pepper is started and when some other app is opened and then closed (like settings) it should go back to my app.
I tried doing it in preferences but seems like i am missing something.
Does anybody got some examples?
You can use the launch trigger condition in choregraphe. For example, your want to launch your main behavior when Pepper is in life mode in "solitary". For that you must open your choregraphe project and click on properties :
After that you will have the properties of your application. For modifying the launch trigger of your application, you must click on your main behavior and change the launch trigger condition like below :
With that, your application will be launched automatically when pepper will be in interactive mode of autonomous life .
There's a far better and standard way to do that.
By design, Pepper is meant to be run with "Artificial Life" on, and automatically start "the dialog". You must either uninstall the "the dialog"-app or disable autorun in its manifest.xml. For running your application automatically: The easy solution is to copy the autorun parameters from "the dialog" manifest.xml and paste them into the manifest of your own app.