File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,16 @@ class RTDEClient
125125 */
126126 RTDEWriter& getWriter ();
127127
128+ /* !
129+ * \brief Getter for the RTDE output recipe.
130+ *
131+ * \returns The output recipe
132+ */
133+ std::vector<std::string> getOutputRecipe ()
134+ {
135+ return output_recipe_;
136+ }
137+
128138private:
129139 comm::URStream<PackageHeader> stream_;
130140 std::vector<std::string> output_recipe_;
Original file line number Diff line number Diff line change @@ -173,6 +173,13 @@ class UrDriver
173173 */
174174 bool sendRobotProgram ();
175175
176+ /* !
177+ * \brief Getter for the RTDE output recipe used in the RTDE client.
178+ *
179+ * \returns The used RTDE output recipe
180+ */
181+ std::vector<std::string> getRTDEOutputRecipe ();
182+
176183private:
177184 std::string readScriptFile (const std::string& filename);
178185 std::string readKeepalive ();
Original file line number Diff line number Diff line change @@ -291,4 +291,9 @@ bool UrDriver::sendRobotProgram()
291291 return false ;
292292 }
293293}
294+
295+ std::vector<std::string> UrDriver::getRTDEOutputRecipe ()
296+ {
297+ return rtde_client_->getOutputRecipe ();
298+ }
294299} // namespace ur_driver
You can’t perform that action at this time.
0 commit comments