Paddleboat_Vibration_Data

#include <paddleboat.h>

A structure that describes the parameters of a vibration effect.

Summary

Public attributes

durationLeft
int32_t
Duration to vibrate the left motor in milliseconds.
durationRight
int32_t
Duration to vibrate the right motor in milliseconds.
intensityLeft
float
Intensity of vibration of left motor, valid range is 0.0 to 1.0.
intensityRight
float
Intensity of vibration of right motor, valid range is 0.0 to 1.0.

Public attributes

durationLeft

int32_t Paddleboat_Vibration_Data::durationLeft

Duration to vibrate the left motor in milliseconds.

durationRight

int32_t Paddleboat_Vibration_Data::durationRight

Duration to vibrate the right motor in milliseconds.

intensityLeft

float Paddleboat_Vibration_Data::intensityLeft

Intensity of vibration of left motor, valid range is 0.0 to 1.0.

intensityRight

float Paddleboat_Vibration_Data::intensityRight

Intensity of vibration of right motor, valid range is 0.0 to 1.0.