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

Elevator subsystem #39

Closed
27 tasks
katzuv opened this issue Jan 14, 2025 · 0 comments · Fixed by #1
Closed
27 tasks

Elevator subsystem #39

katzuv opened this issue Jan 14, 2025 · 0 comments · Fixed by #1
Assignees
Labels
subsystem Pull request for a subsystem

Comments

@katzuv
Copy link
Member

katzuv commented Jan 14, 2025

Hardware

Two Kraken X60s (follower)
CANcoder

Constants

  • Heights enum:
    • L1
    • L2
    • L3
    • L4
    • L2_ALGAE
    • L3_ALGAE
    • Feeder
    • Zero == 0
  • GEAR_RATIO: Write all numbers
  • kG

Commands

  • l4
  • l3
  • l2
  • l1
  • l2algae
  • l3algae
  • feeder
  • retract
  • reset
  • manualSetHeight -- uses position control?
  • private setHeight

Triggers

  • atSetpoint
  • private isRetracted -- onTrue, set kG=0, onFalse set kG=kG

Outputs

  • setpoint (enum)
  • Mechanism2d
  • height
  • error
@Emma03L Emma03L added the subsystem Pull request for a subsystem label Jan 14, 2025
@katzuv katzuv linked a pull request Jan 15, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subsystem Pull request for a subsystem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants