first commit -push

This commit is contained in:
dungtt
2025-10-15 15:15:53 +07:00
parent 674ae395be
commit a9577c5756
885 changed files with 74595 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using RobotNet.RobotManager.Services.Planner.Differential;
using RobotNet.RobotManager.Services.Planner.ForkliftV2;
using RobotNet.RobotManager.Services.Planner.OmniDrive;
using RobotNet.RobotShares.Enums;
namespace RobotNet.RobotManager.Services.Planner;
public class PathPlannerManager : IPathPlannerManager
{
public IPathPlanner GetPathPlanningService(NavigationType type)
{
return type switch
{
NavigationType.Forklift => new ForkLiftPathPlannerV2(),
NavigationType.OmniDrive => new OmniDrivePathPlanner(),
_ => new DifferentialPathPlanner(),
};
}
}