Drag element (Window)
1. Component overview
Prerequisite: Get Window
You can use this component to drag a slider element to a specific position.
2. Inputs
For information about each input, see the help text in the component panel of the ROS Visual Editor.
3. Outputs
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
For
Window, select v_win_obj_1, which is the output of the prerequisite Get Window component.Use the Capture Control feature to capture the element that you want to drag in the window. Name the element "Control 1".
For
Target Control, select "Control 1".For
Speed Mode, select 'Simulate Human'.For
Horizontal Drag Distance, enter the horizontal distance to drag the element.For
Vertical Drag Distance, enter the vertical distance to drag the element.Default values for advanced options
4.2. Example result
The component successfully drags the slider element in the window.