29 #ifndef UR_CLIENT_LIBRARY_SCRIPT_COMMAND_INTERFACE_H_INCLUDED 30 #define UR_CLIENT_LIBRARY_SCRIPT_COMMAND_INTERFACE_H_INCLUDED 82 bool setPayload(
const double mass,
const vector3d_t* cog);
115 const unsigned int type,
const vector6d_t* limits);
131 bool startToolContact();
139 bool endToolContact();
145 bool clientConnected();
154 handle_tool_contact_result_ = callback;
158 virtual void connectionCallback(
const int filedescriptor)
override;
160 virtual void disconnectionCallback(
const int filedescriptor)
override;
162 virtual void messageCallback(
const int filedescriptor,
char* buffer,
int nbytesrecv)
override;
173 SET_TOOL_VOLTAGE = 2,
174 START_FORCE_MODE = 3,
176 START_TOOL_CONTACT = 5,
177 END_TOOL_CONTACT = 6,
181 static const int MAX_MESSAGE_LENGTH = 26;
189 #endif // UR_CLIENT_LIBRARY_SCRIPT_COMMAND_INTERFACE_H_INCLUDED ToolVoltage
Possible values for the tool voltage.
The ScriptCommandInterface class starts a TCPServer for a robot to connect to and this connection is ...
std::array< double, 3 > vector3d_t
void setToolContactResultCallback(std::function< void(ToolContactResult)> callback)
Set the tool contact result callback object.
ScriptCommand
Available script commands.
ToolContactResult
Types for encoding until tool contact execution result.
std::array< uint32_t, 6 > vector6uint32_t
std::array< double, 6 > vector6d_t
The ReverseInterface class handles communication to the robot. It starts a server and waits for the r...
std::function< void(ToolContactResult)> handle_tool_contact_result_