Initial commit
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
namespace RobotNet10.FleetManager.Services.TrafficControl.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Robot information needed for conflict detection
|
||||
/// </summary>
|
||||
public class RobotInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Robot ID
|
||||
/// </summary>
|
||||
public string RobotId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Robot length in meters (from RobotModel)
|
||||
/// </summary>
|
||||
public double Length { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Robot width in meters (from RobotModel)
|
||||
/// </summary>
|
||||
public double Width { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Navigation point X offset in meters (from RobotModel)
|
||||
/// </summary>
|
||||
public double NavigationPointX { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Navigation point Y offset in meters (from RobotModel)
|
||||
/// </summary>
|
||||
public double NavigationPointY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Current X position (from State message)
|
||||
/// </summary>
|
||||
public double CurrentX { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Current Y position (from State message)
|
||||
/// </summary>
|
||||
public double CurrentY { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Current orientation angle in radians (from State message)
|
||||
/// </summary>
|
||||
public double CurrentTheta { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Last node ID the robot passed through (from State message)
|
||||
/// </summary>
|
||||
public string LastNodeId { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user