Pepper robot default image

2019-02-14 15:55发布

So i followed the guide from Pepper robot portal. That i must add

Domain: com.aldebaran.system.tablet
Key: MainActivity
Value: image (default: opengl for the "bubble" view)

Domain: com.aldebaran.system.tablet
Key: MainResourceURL
Value: http://198.18.0.1/apps/app-uuid/path/to/image

This to robot preferences, not including the html folder. I did this but it just shows black image. Tried some variations also but it just is not working.

标签: robot pepper
3条回答
一夜七次
2楼-- · 2019-02-14 16:27

Your database entries are correct. You must create an application in Choregraphe containing a folder named 'html' with the picture in. Your file path might look like this:

logoApp/html/logo.jpg

And your MainResurceURL should look like this:

http://198.18.0.1/logoApp/logo.jpg

For the changes to take effect your must turn your robot off and on, then activate Artificial Life. Notice that certain behaviors will hide your default logo. If the logo is still not showing then try launching an application that does not use the tablet. The change in state (solitary->interactive) should refresh the tablet view.

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-02-14 16:30

you need to place your image in a folder with the name html.

So in your application "app-uuid", create a folder html. Place your image in and write your pref like behind :

Domain: com.aldebaran.system.tablet
Key: MainResourceURL
Value: http://198.18.0.1/apps/app-uuid/image.jpg

Hint : test on a browser to display your image with ip-robot/apps/app-uuid/image.png . If it works so your url path is good.

查看更多
混吃等死
4楼-- · 2019-02-14 16:33

Thanks for the answers. Some other people will get help from it for sure.

My problem was that the picture had to be exactly 1280px X 800px . That is why it did not show up.

查看更多
登录 后发表回答