Initial commit

This commit is contained in:
2026-07-03 16:31:37 +07:00
commit 899c7c637d
1939 changed files with 641750 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using RobotNet.VDA5050.State;
namespace RobotNet10.FleetManager.Script;
/// <summary>
/// Represents the current state of a robot, including position, operational status, battery information, and load status.
/// </summary>
/// <param name="IsReady">Indicates whether the robot is ready to accept new commands. <see langword="true"/> if ready; otherwise, <see langword="false"/>.</param>
/// <param name="Voltage">The current battery voltage in volts.</param>
/// <param name="Loads">An array of loads currently carried by the robot. Empty array if no loads are present.</param>
/// <param name="IsCharging">Indicates whether the robot is currently charging. <see langword="true"/> if charging; otherwise, <see langword="false"/>.</param>
/// <param name="X">The X coordinate of the robot's current position in meters.</param>
/// <param name="Y">The Y coordinate of the robot's current position in meters.</param>
/// <param name="Theta">The orientation angle of the robot in radians. Range: [-Pi ... Pi].</param>
public record RobotState(bool IsReady, double Voltage, Load[] Loads, bool IsCharging, double X, double Y, double Theta);