Files
BQP/srcs/RobotNet10/RobotApp/RobotNet10.RobotApp/Services/Simulation/Navigation/ForkliftNavigation.cs
2026-07-13 09:25:40 +07:00

24 lines
752 B
C#

namespace RobotNet10.RobotApp.Services.Simulation.Navigation;
public class ForkliftNavigation : SimulationNavigation
{
private readonly Logger<ForkliftNavigation> Logger;
public ForkliftNavigation(IServiceProvider ServiceProvider) : base(ServiceProvider)
{
using var scope = ServiceProvider.CreateScope();
Logger = scope.ServiceProvider.GetRequiredService<Logger<ForkliftNavigation>>();
}
protected override void NavigationHandler()
{
try
{
// Implement differential drive navigation logic here
}
catch (Exception ex)
{
Logger.Write($"Error in ForkliftNavigationSevice: {ex.Message}", LogLevel.Error);
}
}
}