RobotApp/RobotApp/Services/Robot/Navigation/DifferentialNavigation.cs
Đăng Nguyễn d6fe1d9d52 update
2025-09-26 08:48:50 +07:00

23 lines
728 B
C#

using RobotApp.Interfaces;
namespace RobotApp.Services.Robot.Navigation;
public class DifferentialNavigation(Logger<NavigationController> navLogger,
Logger<DifferentialNavigation> Logger,
IDriver Driver,
ISafety Safety,
ISensorIMU SensorIMU) : NavigationController(navLogger)
{
protected override void NavigationHandler()
{
try
{
// Implement differential drive navigation logic here
}
catch (Exception ex)
{
Logger.Write($"Error in DifferentialNavigation: {ex.Message}", LogLevel.Error);
}
}
}