System module of the TNY-360 API (code 0x00).
This module contains actions related to the system of the robot, such as settings, configuration, internal status checks.
Here's a list of all the actions available in the system module:
Sets the robot's configuration.
string-
New settings to apply.
No return values
Gets the robot's configuration.
No arguments
string-
Current settings.
0x00 - 0x04Sets the autolife level.
uint8-
New autolife level (0-100).
No return values
0x00 - 0x05Gets the current autolife level.
No arguments
uint8-
Current autolife level (0-100).
0x00 - 0x06Gets system statistics including temperature, CPU usage, and RAM usage.
No arguments
0x00 - 0x07Gets the number of log lines.
No arguments
uint8-
Number of log lines.
0x00 - 0x08Gets a specific log line by index.
uint8-
Index of the log line to retrieve (0-based).
uint32-
Timestamp of the log line in milliseconds since boot.
uint8-
Log level (0=Debug, 1=Info, 2=Warning, 3=Error).
uint8-
Indentation level of the log line.
string-
Tag associated with the log line.
string-
Log message.
0x00 - 0x09Sets the enabled status of the control loop.
bool-
Whether the control loop should be enabled.
No return values
0x00 - 0x0AGets whether the control loop is currently enabled.
No arguments
bool-
Whether the control loop is currently enabled.
0x00 - 0x0BSets the enabled status of the decision loop.
bool-
Whether the decision loop should be enabled.
No return values
0x00 - 0x0CGets whether the decision loop is currently enabled.
No arguments
bool-
Whether the decision loop is currently enabled.
Here's a list of all the types used in the system module:
Statistics about the CPU usage of the robot.
float32-
CPU usage percentage of core 0 (0-100).
float32-
CPU usage percentage of core 1 (0-100).
Statistics about the robot's memory usage.
uint32-
Total number of bytes in internal RAM.
uint32-
Number of bytes used in internal RAM.
uint32-
Total number of bytes in PSRAM.
uint32-
Number of bytes used in PSRAM.