Closed kochigami closed 8 years ago
The difference of two functions: I think it is the speed of showing images. In Choregraphe "Show Image" Box, there is a preload(ing image) switch.
It seems no relation to the absolute path. Therefore, I have to learn the following things:
Creating Pepper/Nao's laboratory introducing demo #475 で取り組むことにする.
Looking into Choregraphe box (Show Image) code It uses ALTabletService,
showImage(url)
. Url is an absolute path which includes http word likehttp://<robot IP>/apps/<app ID>/<picture name>
.Some website says we can access the page by just typing the path, but I couldn't (Actually, it took a lot of time, so I gave it up.) . This time I used the correct path because I got it by using
log
box. In addition, I felt weird because robot IP was totally different from what Pepper says, but app worked well.ssh
All apps are contained in/home/nao/.local/share/PackageManager/apps
. Inside the directory, I could find all the contains of my project file (including the picture).showImage
andshowImageNoCache
.Tomorrow I have to learn the difference of two functions.