mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
37 lines
511 B
Java
37 lines
511 B
Java
|
|
package swervelib.parser.json;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Used to store ints for motor configuration.
|
||
|
|
*/
|
||
|
|
public class MotorConfigInt
|
||
|
|
{
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Drive motor.
|
||
|
|
*/
|
||
|
|
public int drive;
|
||
|
|
/**
|
||
|
|
* Angle motor.
|
||
|
|
*/
|
||
|
|
public int angle;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Default constructor.
|
||
|
|
*/
|
||
|
|
public MotorConfigInt()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Default constructor with values.
|
||
|
|
*
|
||
|
|
* @param drive Drive data.
|
||
|
|
* @param angle Angle data.
|
||
|
|
*/
|
||
|
|
public MotorConfigInt(int drive, int angle)
|
||
|
|
{
|
||
|
|
this.angle = angle;
|
||
|
|
this.drive = drive;
|
||
|
|
}
|
||
|
|
}
|