Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shuffleboard #6

Open
4 tasks
cyndiac opened this issue Nov 7, 2023 · 0 comments
Open
4 tasks

Shuffleboard #6

cyndiac opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@cyndiac
Copy link
Contributor

cyndiac commented Nov 7, 2023

Work is in between Arm.java and Intake.java
Should be a relatively quick task
Sample code:

private GenericEntry _currentTicksEntry, _targetTicksEntry;

ShuffleboardTab tuningTab = Shuffleboard.getTab("Tuning tab");
        _currentTicksEntry = tuningTab.add("Current Position", 0.0).withPosition(0, 0).getEntry();
        _targetTicksEntry =
            elevatorLayout.add("Target Position", 0.0).withPosition(0, 1).getEntry();


      _currentTicksEntry.setInteger(getCurrentHeight());
      _targetTicksEntry.setInteger(getTargetHeight());
  • arm: initialize Shuffleboard entry
  • arm: get arm position value
  • intake: initialize Shuffleboard entry
  • intake: get intake current value
@worker-bob worker-bob self-assigned this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants