A simple sound actuator
This actuator is a simple On/Off sound. Based on Sound actuator.
No configurable parameter.
This actuator reads these datafields at each simulation step:
mode, enum in [‘play’,’pause’,’stop’]
Interface support:
(attention, no interface support!)
This component does not expose any service.
The following example shows how to use this component in a Builder script:
from morse.builder import *
robot = ATRV()
# creates a new instance of the actuator
sound = Sound()
# place your component at the correct location
sound.translate(<x>, <y>, <z>)
sound.rotate(<rx>, <ry>, <rz>)
robot.append(%(var)s)
# define one or several communication interface, like 'socket'
sound.add_interface(<interface>)
env = Environment('empty')
(This page has been auto-generated from MORSE module morse.actuators.sound.)