Files
ParkingRobot/ClumsyPilot/AGV.cs
T

22 lines
660 B
C#
Raw Normal View History

2026-07-21 11:11:01 +08:00
using ClumsyCore;
using MDCSToolBox.Clumsy.AgvInterfaces;
using MDCSToolBox.Clumsy.MotionControllers;
namespace MultiWheelC
{
public class AGV : MultiWheelInterface
{
public override AbstractGeometricController GetController()
2026-07-21 17:38:16 +08:00
=> new ChassisController().Get();
2026-07-21 11:11:01 +08:00
public override MultiWheelMagTracker GetMagController()
2026-07-21 17:38:16 +08:00
=> new MultiWheelMagTracker();
2026-07-21 11:11:01 +08:00
public override NaiveMagnetController GetNaiveMagnetController()
2026-07-21 17:38:16 +08:00
=> new NaiveMagnetController();
2026-07-21 11:11:01 +08:00
2026-07-21 17:38:16 +08:00
public void Sleep(float seconds)
2026-07-21 11:11:01 +08:00
{
2026-07-21 17:38:16 +08:00
new DriveTask(new Sleep { Second = seconds }.Get()).Wait();
2026-07-21 11:11:01 +08:00
}
}
}