Class DeviceJson

java.lang.Object
swervelib.parser.json.DeviceJson

public class DeviceJson extends Object
Device JSON parsed class. Used to access the JSON data.
  • Field Details

    • type

      public String type
      The device type, e.g. pigeon/pigeon2/sparkmax/talonfx/navx
    • id

      public int id
      The CAN ID or pin ID of the device.
    • canbus

      public String canbus
      The CAN bus name which the device resides on if using CAN.
  • Constructor Details

    • DeviceJson

      public DeviceJson()
  • Method Details