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,35 @@
using RobotNet10.Shared.Enum;
using RobotNet10.Shared.Numbers;
namespace RobotNet10.Shared.Detection;
/// <summary>
/// Request to search for a specific marker
/// </summary>
public struct MarkerEntry
{
/// <summary>
/// Marker ID from database
/// </summary>
public string MarkerId { get; set; }
public MarkerType Type { get; set; }
/// <summary>
/// Search priority (1 = highest, 2 = second highest, etc.)
/// Lower number = higher priority
/// </summary>
public int Priority { get; set; }
public string DeviceId { get; set; }
public string Code { get; set; }
/// <summary>
/// Optional: Override detection parameters for this session
/// If null, use default parameters from marker definition
/// Tọa độ trong marker frame
/// </summary>
public Vector2[] ReferencePoints { get; set; }
}

View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace RobotNet10.Shared.Detection;
/// <summary>
/// Configuration for a detection session
/// Defines search area and which markers to look for
/// </summary>
public struct MarkersSearchRequest
{
/// <summary>
/// Tọa độ dự đoán global X
/// </summary>
public double X { get; set; }
/// <summary>
/// Tọa độ dự đóan global Y
/// </summary>
public double Y { get; set; }
/// <summary>
/// Hướng dự đoán global
/// </summary>
public double Yaw { get; set; }
/// <summary>
/// Width (local X-axis, meters) kích thước tìm kiếm theo chiều rộng khi chưa xoay Yaw
/// </summary>
public double Width { get; set; }
/// <summary>
/// Length (local Y-axis, meters) kích thước tìm kiếm theo chiều dài khi chưa xoay Yaw
/// </summary>
public double Length { get; set; }
/// <summary>
/// List of markers to search for with their priorities
/// </summary>
public MarkerEntry[] MarkerSearchRequests { get; set; }
}