/// <summary> /// sets the wheel speed of the two tracks of the robot /// </summary> /// <param name="leftTrackSpeed">speed for the left track</param> /// <param name="rightTrackWheelSpeed">speed for the right track</param> private static void SetTrackSpeed(sbyte leftTrackSpeed, sbyte rightTrackWheelSpeed) { LeftTrack.SetSpeed(leftTrackSpeed); RightTrack.SetSpeed(rightTrackWheelSpeed); }
/// <summary> /// this method halts the two large motors that are responsible /// for rotating the two main Track that transport the robot /// </summary> public static void HaltTracks() { LeftTrack.Brake(); RightTrack.Brake(); }