Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 979 Bytes

NextXPVP.md

File metadata and controls

24 lines (18 loc) · 979 Bytes

HandyAPI::NextXPVP

Properties

Name Type Description Notes
stop_on_target Boolean Flag to indicate whether or not the movement of the slide should stop when the specified target position have been reached. Setting this value to <code>false</code> should in most cases give a smoother movement when sending a stream HDSP commands continuously to the device. [optional][default to false]
immediate_response Boolean Flag to indicate if the server should return a response immediately upon receinving the command from the client or wait for a response from the device before returning a response to the client. [optional][default to false]
position Float
velocity Float

Example

require 'handy_api'

instance = HandyAPI::NextXPVP.new(
  stop_on_target: null,
  immediate_response: null,
  position: 10.5,
  velocity: 10.5
)