Commands
Command System
A command system is required to send commands to the vocalizer. The following systems are supported:
Kyber Control System — Support coming soon. Mention Human-Cyborg Relations when purchasing and the Kyber team will generously donate $10 to FIRST Robotics.
DIY — Build your own control system. As a starting point, see the C++ command API developed by Alec Muir.
Commands
Commands can be sent over Serial, UART, or I2C. All commands must be wrapped in a container: <...>
To send multiple commands at once, include them within a single container separated by commas: <...,...>
...or chain multiple containers in a single string: <...><...>
(*) = Persistently stored in R2D2Vocalizer.txt
(†) = Persistently stored in Config.txt
Command Examples
<SH1>
— Trigger extreme happy vocalization.
<CA0025>
— Play SD WAV file number 0025 on WAV channel A.
<CB0003C0185>
— Play random SD WAV File between file number 0003 and file number 0185 on WAV channel B.
<QEH>
— Query Happy emotion. Receive: <QEH,12>
<QE>
— Query all emotions. Receive: <QE,4,28,100,68>
Multiple commands can be chained:
<SH1,M1>
— Trigger extreme happy vocalization and enable muse.
<SH1><M1>
— Alternate syntax for same command as above.
<SM0,QM>
— Trigger mild angry vocalization and query muse state. Receive: <QM0>
Last updated