Go to the documentation of this file.
29 #ifndef UR_CLIENT_LIBRARY_SCRIPT_COMMAND_INTERFACE_H_INCLUDED
30 #define UR_CLIENT_LIBRARY_SCRIPT_COMMAND_INTERFACE_H_INCLUDED
123 const unsigned int type,
const vector6d_t* limits,
double damping_factor,
124 double gain_scaling_factor);
198 #endif // UR_CLIENT_LIBRARY_SCRIPT_COMMAND_INTERFACE_H_INCLUDED
bool startToolContact()
This will make the robot look for tool contact in the tcp directions that the robot is currently movi...
@ END_FORCE_MODE
End force mode.
@ END_TOOL_CONTACT
End detecting tool contact.
virtual void messageCallback(const socket_t filedescriptor, char *buffer, int nbytesrecv) override
@ START_TOOL_CONTACT
Start detecting tool contact.
ToolVoltage
Possible values for the tool voltage.
bool setPayload(const double mass, const vector3d_t *cog)
Set the active payload mass and center of gravity.
The ReverseInterface class handles communication to the robot. It starts a server and waits for the r...
@ SET_PAYLOAD
Set payload.
The ScriptCommandInterface class starts a TCPServer for a robot to connect to and this connection is ...
virtual void disconnectionCallback(const socket_t filedescriptor) override
ScriptCommandInterface()=delete
ToolContactResult
Types for encoding until tool contact execution result.
void setToolContactResultCallback(std::function< void(ToolContactResult)> callback)
Set the tool contact result callback object.
bool setToolVoltage(const ToolVoltage voltage)
Set the tool voltage.
std::array< double, 6 > vector6d_t
bool startForceMode(const vector6d_t *task_frame, const vector6uint32_t *selection_vector, const vector6d_t *wrench, const unsigned int type, const vector6d_t *limits, double damping_factor, double gain_scaling_factor)
Set robot to be controlled in force mode.
bool endForceMode()
Stop force mode and put the robot into normal operation mode.
@ START_FORCE_MODE
Start force mode.
std::array< uint32_t, 6 > vector6uint32_t
bool clientConnected()
Returns whether a client/robot is connected to this server.
@ ZERO_FTSENSOR
Zero force torque sensor.
bool endToolContact()
This will stop the robot from looking for a tool contact, it will also enable sending move commands t...
@ UNTIL_TOOL_CONTACT_RESULT_CANCELED
Canceled by user.
static const int MAX_MESSAGE_LENGTH
@ SET_TOOL_VOLTAGE
Set tool voltage.
virtual void connectionCallback(const socket_t filedescriptor) override
std::function< void(ToolContactResult)> handle_tool_contact_result_
@ UNTIL_TOOL_CONTACT_RESULT_SUCCESS
Successful execution.
std::array< double, 3 > vector3d_t
bool zeroFTSensor()
Zero the force torque sensor.
ScriptCommand
Available script commands.
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