user5672248
user5672248

Reputation:

Pepper robot default image

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.

Upvotes: 4

Views: 2267

Answers (3)

user5672248
user5672248

Reputation:

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.

Upvotes: 0

mcaniot
mcaniot

Reputation: 395

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.

Upvotes: 3

Anders_K
Anders_K

Reputation: 992

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.

Upvotes: 4

Related Questions