Class encapsulated tool offset data. FSRobo-R specific interface to set tool offset on the controller. More...
#include <set_tool_offset.h>
Class encapsulated tool offset data. FSRobo-R specific interface to set tool offset on the controller.
The byte representation of a write single IO command is as follows (in order lowest index to highest). The standard sizes are given, but can change based on type sizes:
member: type size address (industrial::shared_types::shared_int) 4 bytes value (industrial::shared_types::shared_int) 4 bytes
THIS CLASS IS NOT THREAD-SAFE
Definition at line 60 of file set_tool_offset.h.
fsrobo_r_driver::simple_message::set_tool_offset::SetToolOffset::SetToolOffset | ( | void | ) |
Default constructor.
This method creates empty data.
Definition at line 42 of file set_tool_offset.cpp.
fsrobo_r_driver::simple_message::set_tool_offset::SetToolOffset::~SetToolOffset | ( | void | ) |
Destructor.
Definition at line 47 of file set_tool_offset.cpp.
|
inlinevirtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 231 of file set_tool_offset.h.
void fsrobo_r_driver::simple_message::set_tool_offset::SetToolOffset::copyFrom | ( | SetToolOffset & | src | ) |
Copies the passed in value.
src | (value to copy) |
Definition at line 66 of file set_tool_offset.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void fsrobo_r_driver::simple_message::set_tool_offset::SetToolOffset::init | ( | ) |
Initializes a empty set tool offset command.
Definition at line 51 of file set_tool_offset.cpp.
void fsrobo_r_driver::simple_message::set_tool_offset::SetToolOffset::init | ( | industrial::shared_types::shared_real | x, |
industrial::shared_types::shared_real | y, | ||
industrial::shared_types::shared_real | z, | ||
industrial::shared_types::shared_real | rz, | ||
industrial::shared_types::shared_real | ry, | ||
industrial::shared_types::shared_real | rx | ||
) |
Initializes a complete set tool offset command.
Definition at line 56 of file set_tool_offset.cpp.
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 88 of file set_tool_offset.cpp.
bool fsrobo_r_driver::simple_message::set_tool_offset::SetToolOffset::operator== | ( | SetToolOffset & | rhs | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 132 of file set_tool_offset.cpp.
|
private |
Definition at line 245 of file set_tool_offset.h.
|
private |
Definition at line 244 of file set_tool_offset.h.
|
private |
Definition at line 243 of file set_tool_offset.h.
|
private |
Values of tool origin.
Definition at line 240 of file set_tool_offset.h.
|
private |
Definition at line 241 of file set_tool_offset.h.
|
private |
Definition at line 242 of file set_tool_offset.h.