Skip to content

Commit 1fc210f

Browse files
add voltage feedback
1 parent e1bd175 commit 1fc210f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/wrist.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ def shoot_angle_deg(self) -> float:
134134
def current_velocity(self) -> float:
135135
return self.motor_encoder.getVelocity()
136136

137+
@feedback
138+
def current_input(self) -> float:
139+
return self.motor.getAppliedOutput()
140+
137141
@feedback
138142
def at_setpoint(self) -> bool:
139143
return (

0 commit comments

Comments
 (0)