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