Telemetry

The basics of telemetry

Every Mechanism has a Tuning table and a display table on the robot. Mechanism tables contain the SmartMotorControllers used in that mechanism.

All Mechanism tables are stored under NT:/Mechanisms NOT NT:/SmartDashboard however NT:/SmartDashboard does contain some useful Mechanism2d's that can be shown in your dashboard, and commands like "Live Tuning"

The image below has the Telemetry output of an Elevator with the Telemetry name of Elevator and the SmartMotorController TelemetryName of ElevatorMotor

Simulation vs Reality

The simulation view of each mechanism is done with Mechanism2d's. These windows could be outputted while on the actual robot but that is not necessary as all of the data from the Mechanism2d is in the Telemetry fields and accessible to the user.

Mechanism Telemetry

Mechanism Telemetry is basically only a holder table for SmartMotorController Telemetry allowing for an easier time finding the values.

Smart Motor Controller Telemetry

SmartMotorController Telemetry is highly configurable in fact your could enable and disable whatever telemetry you like with the example below.

Colors

You may notice there are different colors in the Mechanism windows displayed for simulation. These are there to provide you with reference points of your Soft and Hard Limits.

  • Green is the upper hard limit

  • Red is the lower hard limit

  • Pink is the upper soft limit

  • Yellow is the lower soft limit

These are provided to you so you can identify relative motion easily between the simulation and reality.

Last updated