Stay organized with collections
Save and categorize content based on your preferences.
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.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-07-12 UTC.
[null,null,["Last updated 2021-07-12 UTC."],[],[],null,["# Paddleboat_Vibration_Data Struct Reference\n\nPaddleboat_Vibration_Data\n=========================\n\n`#include \u003cpaddleboat.h\u003e`\n\nA structure that describes the parameters of a vibration effect.\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|\n| [durationLeft](#struct_paddleboat___vibration___data_1a406d791df4f48c1e6003865285cfe4ee) | `int32_t` Duration to vibrate the left motor in milliseconds. |\n| [durationRight](#struct_paddleboat___vibration___data_1a71085480ea92f57363dfbdbb3209f4ee) | `int32_t` Duration to vibrate the right motor in milliseconds. |\n| [intensityLeft](#struct_paddleboat___vibration___data_1a8c04dce431694531b90e9d083c45be5e) | `float` Intensity of vibration of left motor, valid range is 0.0 to 1.0. |\n| [intensityRight](#struct_paddleboat___vibration___data_1abf7039f6933d78e7b6131aa62e0766df) | `float` Intensity of vibration of right motor, valid range is 0.0 to 1.0. |\n\nPublic attributes\n-----------------\n\n### durationLeft\n\n```scdoc\nint32_t Paddleboat_Vibration_Data::durationLeft\n``` \nDuration to vibrate the left motor in milliseconds. \n\n### durationRight\n\n```scdoc\nint32_t Paddleboat_Vibration_Data::durationRight\n``` \nDuration to vibrate the right motor in milliseconds. \n\n### intensityLeft\n\n```scdoc\nfloat Paddleboat_Vibration_Data::intensityLeft\n``` \nIntensity of vibration of left motor, valid range is 0.0 to 1.0. \n\n### intensityRight\n\n```scdoc\nfloat Paddleboat_Vibration_Data::intensityRight\n``` \nIntensity of vibration of right motor, valid range is 0.0 to 1.0."]]