File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed
include/ur_client_library Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,16 @@ class RTDEClient
151151 */
152152 RTDEWriter& getWriter ();
153153
154+ /* !
155+ * \brief Getter for the RTDE output recipe.
156+ *
157+ * \returns The output recipe
158+ */
159+ std::vector<std::string> getOutputRecipe ()
160+ {
161+ return output_recipe_;
162+ }
163+
154164private:
155165 comm::URStream<RTDEPackage> stream_;
156166 std::vector<std::string> output_recipe_;
Original file line number Diff line number Diff line change @@ -222,6 +222,13 @@ class UrDriver
222222 return robot_version_;
223223 }
224224
225+ /* !
226+ * \brief Getter for the RTDE output recipe used in the RTDE client.
227+ *
228+ * \returns The used RTDE output recipe
229+ */
230+ std::vector<std::string> getRTDEOutputRecipe ();
231+
225232private:
226233 std::string readScriptFile (const std::string& filename);
227234 std::string readKeepalive ();
Original file line number Diff line number Diff line change @@ -321,4 +321,9 @@ bool UrDriver::sendRobotProgram()
321321 return false ;
322322 }
323323}
324+
325+ std::vector<std::string> UrDriver::getRTDEOutputRecipe ()
326+ {
327+ return rtde_client_->getOutputRecipe ();
328+ }
324329} // namespace urcl
You can’t perform that action at this time.
0 commit comments