jsk-ros-pkg / jsk_robot

jsk-ros-pkg/jsk_robot
https://github.com/jsk-ros-pkg/jsk_robot
73 stars 97 forks source link

[jsk_pepper_robot] Learning image showing on tablet #481

Closed kochigami closed 8 years ago

kochigami commented 9 years ago
  1. Looking into Choregraphe box (Show Image) code It uses ALTabletService, showImage(url). Url is an absolute path which includes http word like http://<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.

  2. Looking into apps directory by using 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).
  3. Looking into ALTabletService There are two methods: showImage and showImageNoCache.

Tomorrow I have to learn the difference of two functions.

kochigami commented 9 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:

kochigami commented 8 years ago

Creating Pepper/Nao's laboratory introducing demo #475 で取り組むことにする.