Error module of the TNY-360 API (code 0x13).
This module contains actions related to error handling, diagnosis and reporting of the robot, such as retrieving error codes and descriptions.
Here's a list of all the actions available in the error module:
0x13 - 0x00Gets the number of errors.
No arguments
uint16-
The number of errors.
0x13 - 0x01Gets the error event at the specified index.
uint16-
The index of the error event to retrieve (0 is the most recent event).
ErrorEvent-
The error event at the specified index.
0x13 - 0x02Gets the error event with the specified event ID.
uint16-
The event ID of the error event to retrieve.
ErrorEvent-
The error event with the specified event ID.
Here's a list of all the types used in the error module:
Represents an error event that occurred in the system.
uint32-
The timestamp of the error event in milliseconds since system start.
uint16-
The unique event ID assigned to this error event.
uint8-
The module ID where the error occurred (see ModuleID).
uint8-
The subsystem ID within the module where the error occurred.
uint8-
The specific error code within the subsystem.
-
The severity level of the error (see ErrorSeverity).
uint8-
The size of the payload data in bytes.
uint8[32]-
The payload data associated with the error event (up to 32 bytes).
Represents the severity level of an error event.
Trace-
Low level problems (debug infos that would be useful in case of problems)
Warning-
When non-critical issues occur that may cause further problems
Error-
When important issues occur that will degrade normal operation
Critical-
When critical issues occur, and the system should stop to prevent further damage