mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpiutil] Remove type param from ProtobufSerializable and StructSerializable (#6122)
This commit is contained in:
@@ -13,8 +13,7 @@ import edu.wpi.first.util.struct.StructSerializable;
|
||||
* A helper class that computes feedforward outputs for a simple arm (modeled as a motor acting
|
||||
* against the force of gravity on a beam suspended at an angle).
|
||||
*/
|
||||
public class ArmFeedforward
|
||||
implements ProtobufSerializable<ArmFeedforward>, StructSerializable<ArmFeedforward> {
|
||||
public class ArmFeedforward implements ProtobufSerializable, StructSerializable {
|
||||
public final double ks;
|
||||
public final double kg;
|
||||
public final double kv;
|
||||
|
||||
@@ -10,9 +10,7 @@ import edu.wpi.first.util.protobuf.ProtobufSerializable;
|
||||
import edu.wpi.first.util.struct.StructSerializable;
|
||||
|
||||
/** Motor voltages for a differential drive. */
|
||||
public class DifferentialDriveWheelVoltages
|
||||
implements ProtobufSerializable<DifferentialDriveWheelVoltages>,
|
||||
StructSerializable<DifferentialDriveWheelVoltages> {
|
||||
public class DifferentialDriveWheelVoltages implements ProtobufSerializable, StructSerializable {
|
||||
public double left;
|
||||
public double right;
|
||||
|
||||
|
||||
@@ -16,8 +16,7 @@ import edu.wpi.first.util.struct.StructSerializable;
|
||||
* A helper class that computes feedforward outputs for a simple elevator (modeled as a motor acting
|
||||
* against the force of gravity).
|
||||
*/
|
||||
public class ElevatorFeedforward
|
||||
implements ProtobufSerializable<ElevatorFeedforward>, StructSerializable<ElevatorFeedforward> {
|
||||
public class ElevatorFeedforward implements ProtobufSerializable, StructSerializable {
|
||||
public final double ks;
|
||||
public final double kg;
|
||||
public final double kv;
|
||||
|
||||
Reference in New Issue
Block a user