Skip to content

NetworkTables Output

Finlay Maroney edited this page Jan 28, 2020 · 2 revisions

FVTS outputs data to various NetworkTables depending on the configuration setup.

The data for each object profile is saved in its own separate NetworkTable with the name of vision-$name/ where $name is the name of the object profile.

The data from the pipeline is saved in the table for its object profile. The data that is saved is as follows:

  • fps (The frames per second that that vision thread is running at)
  • numTargetsFound (The number of targets that that vision thread has found)

If a target is found, then these entries should be present:

  • ctrX (A normalized value (-1 to 1, which corresponds to left - right) that indicates the horizontal position of the object
  • area (The normalized area of the object, this is a double between 0 and 1 indicating the percentage of the image that the object takes up)
  • angle (The horizontal position, except its in degrees)
  • distance (The distance to the object, in what ever units was used to calibrate FVTS)
Clone this wiki locally