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 @@ -192,6 +192,13 @@ class UrDriver
192192 return robot_version_;
193193 }
194194
195+ /* !
196+ * \brief Getter for the RTDE output recipe used in the RTDE client.
197+ *
198+ * \returns The used RTDE output recipe
199+ */
200+ std::vector<std::string> getRTDEOutputRecipe ();
201+
195202private:
196203 std::string readScriptFile (const std::string& filename);
197204 std::string readKeepalive ();
Original file line number Diff line number Diff line change @@ -295,4 +295,9 @@ bool UrDriver::sendRobotProgram()
295295 return false ;
296296 }
297297}
298+
299+ std::vector<std::string> UrDriver::getRTDEOutputRecipe ()
300+ {
301+ return rtde_client_->getOutputRecipe ();
302+ }
298303} // namespace ur_driver
You can’t perform that action at this time.
0 commit comments