44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
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; }
|
|
}
|