using MyParking.Shared; using MyParking.Simulation.Core; namespace MyParking.Simulation.Commands; /// /// 我自己增加的停车机器人仿真测试动作。 /// public static class MySimulationTests { /// /// 测试车辆以0.2m/s向车体左侧运动。 /// // [SimulationAction( // key: "move-left-020", // displayName: "向左移动0.2m/s", // group: "我的测试", // order: 10)] // public static bool MoveLeft( // SimulationVehicle vehicle) // { // var command = new ChassisCommand( // vehicle.VehicleId, // new Twist2D( // vxMetersPerSecond: 0.0, // vyMetersPerSecond: 0.2, // omegaRadiansPerSecond: 0.0)); // return vehicle.ApplyCommand(command); // } }