Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (17 sloc) 972 Bytes

:show-image file (naoqi_bridge [kochigami-develop])

What is this?

Show an image on the tablet, using the cache. The image should be under /home/nao/.local/share/PackageManager/apps/<Folder path>/html/ inside a robot.
(Default is "/home/nao/.local/share/PackageManager/apps/img/html/") You can change 'Folder path' by using :set-show-image-folder-path name.

Parameters

file: file name (str)

Location

naoqi_apps/launch/tablet.launch

NAOqi API

ALTabletService::showImage
Related PR is here

Sample

; put 'test.jpg' under /home/nao/.local/share/PackageManager/apps/img/html/
send *ri* :show-image "test.jpg"

; The ip of the robot from the tablet is 198.18.0.1, and this parent service actually calls ALTabletService::showImage("http://198.18.0.1/img/test.jpg").
You can’t perform that action at this time.