001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.math.kinematics; 006 007import edu.wpi.first.math.interpolation.Interpolatable; 008 009public interface WheelPositions<T extends WheelPositions<T>> extends Interpolatable<T> { 010 /** 011 * Returns a copy of this instance. 012 * 013 * @return A copy. 014 */ 015 T copy(); 016 017 /** 018 * Returns the difference with another set of wheel positions. 019 * 020 * @param other The other instance to compare to. 021 * @return The representation of how the wheels moved from other to this. 022 */ 023 T minus(T other); 024}