Skip to content

Signal Generator

Botszy includes a powerful signal generator that allows you to add several kinds of secundary animation to your creatures.

In many characters there are several types of secondary elements such as tentacles, hair or accessories that need to be animated using waves. With Botszy it is possible to easily automate these animations.

Adding a generator

To add a new signal generator to Botszy, click on the button "" on the device panel, and click on the icon Signal Generator:

Adding a signal generator

Adding a signal generator

With this operation, we have a new device in our tree:

Devices tree

By double clicking on the device, we open its configuration window:

Signal generator configuration window

Main options

We describe the main Signal Generator options as shown below:

Signal Generator options

  • Name - The name that we assign to our generator. This will be reflected in the device tree.
  • Enable - Enable or disable the generator outputs.
  • Signal - The type of wave that will be generated. The one that works best for tentacles or limbs is the sine function.
  • Frequency - The number of times the wave repeats per second, measured in Herzs. Used to control the speed of movement.
  • Phase - Global phase shift of the generator with respect of the timeline. This option is only useful if we have more than one generator in the scene and we don't want them to be synchronised.
  • Amplitude - The maximum variation caused by the wave. In practice, it controls the range of displacement in the element.

Output channels

In the last part of the Signal Generator window, we can assign and add as many outputs as we need to our generator. It is possible to add a name and modify the amplitude and phase per channel.

Parameter mapping

All these parameters are linkable to an external channel so that it can be modified live from a control device. To associate a parameter with an input device, click on the link button corresponding to the parameter, the mapping window will then appear:

Mapping parameters in the Signal Generator

In this window we can choose the channel that we want to control this parameter, using the drop-down menu and selecting one of the available channels:

Mapping a channel to a parameter

Next there are a series of parameters that are used to adjust the range of sensivity of the input, and the range of the output with its minimums and maximums. This permits a fine level of control for link between the control input to the parameter output.

Changing the range of the mapping

Example, moving a tentacle

Finally, below we show a typical configuration for a six-servo tentacle with increases the amplitude range as we move further along the tentacle from the base to the end. We also add a phase shift on each section to simulate a effect of a sinuous movement.

Tentacle example in Signal Generator

Once the generator is configured, all that remains is to assign each of the generator's outputs to the different output channels of an out device, such a Pololu Maestro.

For this operation we go to the window of each channel, and map the input to the channels previously created in the signal generator:

Mapping the outputs to channels