Skip to content

AdvantageScope Integrations #8

@blaze-developer

Description

@blaze-developer
export const ENABLED_KEYS = [
  "/DriverStation/Enabled",
  "NT:/AdvantageKit/DriverStation/Enabled",
  "DS:enabled",
  "/DSLog/Status/DSDisabled",
  "RobotEnable", // Phoenix
  "NT:/FMSInfo/FMSControlData",
  "RUNNING"
];
export const AUTONOMOUS_KEYS = [
  "/DriverStation/Autonomous",
  "NT:/AdvantageKit/DriverStation/Autonomous",
  "DS:autonomous",
  "/DSLog/Status/DSTeleop",
  "RobotMode", // Phoenix
  "NT:/FMSInfo/FMSControlData"
];
export const ALLIANCE_KEYS = [
  "/DriverStation/AllianceStation",
  "NT:/AdvantageKit/DriverStation/AllianceStation",
  "NT:/FMSInfo/IsRedAlliance"
];
export const DRIVER_STATION_KEYS = [
  "/DriverStation/AllianceStation",
  "NT:/AdvantageKit/DriverStation/AllianceStation",
  "NT:/FMSInfo/StationNumber"
];
export const JOYSTICK_KEYS = ["/DriverStation/Joystick", "NT:/AdvantageKit/DriverStation/Joystick", "DS:joystick"];
export const SYSTEM_TIME_KEYS = [
  "/SystemStats/EpochTimeMicros",
  "NT:/AdvantageKit/SystemStats/EpochTimeMicros",
  "systemTime"
];
export const AKIT_TIMESTAMP_KEYS = ["/Timestamp", "NT:/AdvantageKit/Timestamp"];
export const METADATA_KEYS = [
  "/Metadata",
  "/RealMetadata",
  "/ReplayMetadata",
  "NT:/Metadata",
  "NT:/AdvantageKit/RealMetadata",
  "NT:/AdvantageKit/ReplayMetadata"
];
export const EVENT_KEYS = [
  "/DriverStation/EventName",
  "NT:/AdvantageKit/DriverStation/EventName",
  "NT:/FMSInfo/EventName"
];
export const MATCH_TYPE_KEYS = [
  "/DriverStation/MatchType",
  "NT:/AdvantageKit/DriverStation/MatchType",
  "NT:/FMSInfo/MatchType"
];
export const MATCH_NUMBER_KEYS = [
  "/DriverStation/MatchNumber",
  "NT:/AdvantageKit/DriverStation/MatchNumber",
  "NT:/FMSInfo/MatchNumber"
];

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions