Drag element (Window)

Updated at:

1. Component overview

Note

Prerequisite: Get Window

You can use this component to drag a slider element to a specific position.

2. Inputs

Note

For information about each input, see the help text in the component panel of the ROS Visual Editor.

3. Outputs

Note

For information about each output, see the help text in the component panel of the ROS Visual Editor.

4. Component example

4.1. Configuration example

  1. For Window, select v_win_obj_1, which is the output of the prerequisite Get Window component.

  2. Use the Capture Control feature to capture the element that you want to drag in the window. Name the element "Control 1".

  3. For Target Control, select "Control 1".

  4. For Speed Mode, select 'Simulate Human'.

  5. For Horizontal Drag Distance, enter the horizontal distance to drag the element.

  6. For Vertical Drag Distance, enter the vertical distance to drag the element.

  7. Default values for advanced options

4.2. Example result

The component successfully drags the slider element in the window.