Softbank published some sample codes for Pepper SDK for Android.
Here are some Android studio projects created based on those sample codes.
Tutorials for Pepper SDK for Android
Some samples allowing you to make Pepper speak, step forward, and much more.
-
Say “Hello, world!”
In this example, we use the Interaction service to set up a Say action, in order to make the robot say something.
-
Go to one meter forward
In this example, we use the Actuation service to set up a GoTo action, to make the robot move one meter forward. -
Mimic the elephant
In this example, we use the Actuation service to set up an Animate action and we use the mediaPlayer to play a sound that will be triggered on the robot’s speakers.
-
Display humans around distances
In this example, we use the Interaction service to get the list of the persons around the robot. A frame is associated to each person, and the Actuation service also exposes the robot frame. With all that information, we can compute the distance between the robot and each person.