Skip to content

Scrub code for Sendable objects that we aren't sending to NT #88

@nlaverdure

Description

@nlaverdure

In many cases we are sending many individual signals to the dashboard:

SmartDashboard.putNumber(
    "Coral Wrist/Setpoint Angle Radians", controller.getSetpoint().position);
SmartDashboard.putNumber(
    "Coral Wrist/Setpoint Angular Velocity RPS", controller.getSetpoint().velocity);
SmartDashboard.putBoolean("Coral Wrist/At Goal", controller.atGoal());

when it would make more sense to put the entire object on the dashboard, since the object implements Sendable.

SmartDashboard.putData("Coral Wrist/Controller", controller);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions