examples/

directory
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2020 License: MIT

README

Examples

Basic examples

  • hello world illustrates how to call a method of a service: this example calls the method 'say' of a text to speech service.

  • signal registration illustrates how to subscribe to a signal: this example prints a log each time a service is added to the service directory.

Examples for NAO and Pepper

  • animated say uses ALAnimatedSpeech to animate the robot.

  • posture puts the robot in a random position.

  • motion move the robot forward and demonstrate how to cancel a call.

  • memory uses ALMemory to react on a touch event.

Examples of service implementation

Directories

Path Synopsis
Package main illustrates how to make a method call to a remote object.
Package main illustrates how to make a method call to a remote object.
Package main illustrates how to make a method call to a remote object.
Package main illustrates how to make a method call to a remote object.
Package main demonstrates how to move the robot through ALMotion
Package main demonstrates how to move the robot through ALMotion
Package pong contains the implementation of the PingPong service.
Package pong contains the implementation of the PingPong service.
cmd/client
Package main illustrate how to interract with the PingPong service.
Package main illustrate how to interract with the PingPong service.
cmd/service
Package main illustrate how to use the pong package to create a service "PingPong" registered to the service directory.
Package main illustrate how to use the pong package to create a service "PingPong" registered to the service directory.
Package main demonstrates how to move the robot through ALMotion
Package main demonstrates how to move the robot through ALMotion
Package main illustrates how to make a method call to a remote object.
Package main illustrates how to make a method call to a remote object.
Package main illustrates how to subsribe to a signal in order to receive events.
Package main illustrates how to subsribe to a signal in order to receive events.
Package space contains the implementation of the Spacecraft and Bomb objects.
Package space contains the implementation of the Spacecraft and Bomb objects.
Package main demonstrates show to connect ALVideoDevice to retreive an image.
Package main demonstrates show to connect ALVideoDevice to retreive an image.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL