2010:Dashboard Packet documentation

From 1511Wookiee
Revision as of 08:54, 6 February 2010 by Programming (talk | contribs)
Jump to navigationJump to search

High Priority -- cluster unchanged from FIRST defaults

  • Vision target data


Low Priority -- cluster containing:

  • Debug data: cluster containing:
  1. Analog I/O       Cluster of 8 floats
  2. Cluster containing:
           Relays           1 8-bit int showing which relays are forward,  1 8-bit int showing which are reverse

                Digital I/O       1 16-bit int for determining which are inputs and outputs, 1 16-bit int for on or off

                PWM             Cluster of 10 ints

  • Driver Station Data: cluster containing:
  1. Digital Inputs          1 8-bit int showing which are on or off
  2. Digital Outputs       1 8-bit int showing which are on or off
  3. Analog Inputs:        Cluster of 4 ints
  • Joystick Data: cluster containing:
  1. Left Joystick data: cluster containing:

                3 floats -- Y axis, X axis, Throttle (in that order)

                1 16-bit int (last 12 bits) -- buttons pressed

     2.  Right Joystick data: same as left joystick data, but for right joystick

  • Mode   BYTE

      [ 0 -- Teleop Enabled

      1 -- Teleop Disabled

      2 -- Autonomous Enabled

      3 -- Autonomous Disabled

      4 -- E-STOP ]

  • Alliance   BYTE

      [ 0 -- Red

      1 -- Blue

      2 -- Invalid ]

  • Autonomous Mode   BYTE

     [ Numbers TBA]