@@ -76,6 +76,26 @@ class ExampleRobotWrapper
7676 ExampleRobotWrapper (const std::string& robot_ip, const std::string& output_recipe_file,
7777 const std::string& input_recipe_file, const bool headless_mode = true ,
7878 const std::string& autostart_program = " " , const std::string& script_file = SCRIPT_FILE);
79+ /* !
80+ * \brief Construct a new Example Robot Wrapper object
81+ *
82+ * This will connect to a robot and initialize it. In headless mode the program will be running
83+ * instantly, in teach pendant mode the from \p autostart_program will be started.
84+ *
85+ * Note: RTDE communication has to be started separately.
86+ *
87+ * \param robot_ip IP address of the robot to connect to
88+ * \param output_recipe Output recipe vector for RTDE communication
89+ * \param input_recipe Input recipe vector for RTDE communication
90+ * \param headless_mode Should the driver be started in headless mode or not?
91+ * \param autostart_program Program to start automatically after initialization when not in
92+ * headless mode. This flag is ignored in headless mode.
93+ * \param script_file URScript file to send to the robot. That should be script code
94+ * communicating to the driver's reverse interface and trajectory interface.
95+ */
96+ ExampleRobotWrapper (const std::string& robot_ip, const std::vector<std::string> output_recipe,
97+ const std::vector<std::string> input_recipe, const bool headless_mode = true ,
98+ const std::string& autostart_program = " " , const std::string& script_file = SCRIPT_FILE);
7999 ~ExampleRobotWrapper ();
80100
81101 /* *
0 commit comments