Audio Visual Helpers
- class bosdyn.client.audio_visual_helpers.AudioVisualHelper(robot, behavior_name, refresh_rate, logger=None)[source]
Bases:
object
Context manager that runs an AV behavior for the duration of the context.
Use as follows:
with AudioVisualHelper(robot, behavior_name, refresh_rate): # Lights and sounds will play here # Lights and sounds will stop here.
- Parameters:
robot – Robot object for creating clients
behavior_name – Name of the desired behavior to run
refresh_rate – What rate to refresh the behavior (seconds)