Go to the documentation of this file.
29 #ifndef UR_CLIENT_LIBRARY_RTDE_WRITER_H_INCLUDED
30 #define UR_CLIENT_LIBRARY_RTDE_WRITER_H_INCLUDED
43 namespace rtde_interface
76 void init(uint8_t recipe_id);
176 #endif // UR_CLIENT_LIBRARY_RTDE_WRITER_H_INCLUDED
The RTDEWriter class offers an abstraction layer to send data to the robot via the RTDE interface....
The stream is an abstraction of the TCPSocket that offers reading a full UR data package out of the s...
uint8_t pinToMask(uint8_t pin)
std::thread writer_thread_
The DataPackage class handles communication in the form of RTDE data packages both to and from the ro...
bool sendSpeedSlider(double speed_slider_fraction)
Creates a package to request setting a new value for the speed slider.
moodycamel::BlockingReaderWriterQueue< std::unique_ptr< DataPackage > > queue_
bool sendToolDigitalOutput(uint8_t output_pin, bool value)
Creates a package to request setting a new value for one of the tool output pins.
std::vector< std::string > recipe_
bool sendInputIntRegister(uint32_t register_id, int32_t value)
Creates a package to request setting a new value for an input_int_register.
bool sendInputDoubleRegister(uint32_t register_id, double value)
Creates a package to request setting a new value for an input_double_register.
bool sendConfigurableDigitalOutput(uint8_t output_pin, bool value)
Creates a package to request setting a new value for one of the configurable digital output pins.
void run()
The writer thread loop, continually serializing and sending packages to the robot.
std::mutex package_mutex_
bool sendStandardDigitalOutput(uint8_t output_pin, bool value)
Creates a package to request setting a new value for one of the standard digital output pins.
void init(uint8_t recipe_id)
Starts the writer thread, which periodically clears the queue to write packages to the robot.
comm::URStream< RTDEPackage > * stream_
bool sendStandardAnalogOutput(uint8_t output_pin, double value, const AnalogOutputType type=AnalogOutputType::SET_ON_TEACH_PENDANT)
Creates a package to request setting a new value for one of the standard analog output pins.
bool sendInputBitRegister(uint32_t register_id, bool value)
Creates a package to request setting a new value for an input_bit_register.
ur_client_library
Author(s): Thomas Timm Andersen, Simon Rasmussen, Felix Exner, Lea Steffen, Tristan Schnell
autogenerated on Mon May 26 2025 02:35:58