class StepResponse

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
loop_selectionuint32ControlLoopSelection enum
amplitudefloat32Amplitude value
step_delayfloat32Step delay value
durationfloat32Duration (in seconds)

Member functions

Function nameReturn typeInput typeDescription
loop_selection() constuint32voidReturns the current value of loop_selection. If the loop_selection is not set, returns 0.
set_loop_selection()voiduint32Sets the value of loop_selection. After calling this, loop_selection() will return value.
clear_loop_selection()voidvoidClears the value of loop_selection. After calling this, loop_selection() will return the empty string/empty bytes.
amplitude()float32voidReturns the current value of amplitude. If the amplitude is not set, returns 0.
set_amplitude()voidfloat32Sets the value of amplitude. After calling this, amplitude() will return value.
clear_amplitude()voidvoidClears the value of amplitude. After calling this, amplitude() will return 0.
step_delay()float32voidReturns the current value of step_delay. If the step_delay is not set, returns 0.
set_step_delay()voidfloat32Sets the value of step_delay. After calling this, step_delay() will return value.
clear_step_delay()voidvoidClears the value of step_delay. After calling this, step_delay() will return 0.
duration()float32voidReturns the current value of duration. If the duration is not set, returns 0.
set_duration()voidfloat32Sets the value of duration. After calling this, duration() will return value.
clear_duration()voidvoidClears the value of duration. After calling this, duration() will return 0.

Parent topic: ActuatorConfig (C++)