Diagnostic data.
More...
#include <messages.hpp>
◆ RobotControllerType
| Enumerator |
|---|
| UNKNOWN | |
| CS8 | |
| CS9 | |
◆ DiagnosticDataMessage()
| staubli_robot_driver::DiagnosticDataMessage::DiagnosticDataMessage |
( |
| ) |
|
◆ ~DiagnosticDataMessage()
| staubli_robot_driver::DiagnosticDataMessage::~DiagnosticDataMessage |
( |
| ) |
|
|
default |
◆ serialize() [1/3]
| bool staubli_robot_driver::DiagnosticDataMessage::serialize |
( |
uint8_t * |
buffer, |
|
|
size_t |
buffer_size |
|
) |
| const |
|
overridevirtual |
◆ deserialize() [1/3]
| bool staubli_robot_driver::DiagnosticDataMessage::deserialize |
( |
uint8_t * |
buffer, |
|
|
size_t |
buffer_size |
|
) |
| |
|
overridevirtual |
◆ message_size()
| static size_t staubli_robot_driver::DiagnosticDataMessage::message_size |
( |
| ) |
|
|
static |
Get the size of the message, static version.
◆ get_serialized_size()
| size_t staubli_robot_driver::DiagnosticDataMessage::get_serialized_size |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ serialize() [2/3]
◆ serialize() [3/3]
| bool staubli_robot_driver::Message::serialize |
( |
std::vector< uint8_t > & |
data | ) |
const |
Serialize message to vector.
- Warning
- This method modifies the input vector by resizing it to the size of the message.
- Parameters
-
| data | Output data buffer. Capacity must be at least message.get_serialized_size(). |
- Returns
- true if serialization was successful, false otherwise
◆ deserialize() [2/3]
◆ deserialize() [3/3]
| bool staubli_robot_driver::Message::deserialize |
( |
std::vector< uint8_t > & |
data | ) |
|
Deserialize message from vector.
- Warning
- The input vector must be at least the size of the message.
- Parameters
-
- Returns
- true if deserialization was successful, false otherwise
◆ robot_controller_type
◆ robot_firmware_version
| Version staubli_robot_driver::DiagnosticDataMessage::robot_firmware_version |
◆ error_log
| std::array<ErrorLogEntry, 10> staubli_robot_driver::DiagnosticDataMessage::error_log |
◆ control_task_status
| uint16_t staubli_robot_driver::DiagnosticDataMessage::control_task_status |
The documentation for this class was generated from the following file:
- /home/runner/work/staubli_driver_ros2/staubli_driver_ros2/staubli_robot_driver/include/staubli_robot_driver/communication/messages.hpp