-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/arm 2024 #7
base: main
Are you sure you want to change the base?
Changes from 2 commits
29607bf
3391e5f
3b19694
893d53b
693a41f
71c1971
edcb9a8
7f455bf
8e12c73
700f911
3ead9e7
38d3357
a0e58c8
b51421d
76c0dde
7da4eee
30b28f2
19dbdff
4d60400
9dc2d35
f06bf8d
0f4c619
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would say to put this class in the io interface, but this is enormous, so I get it. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import edu.wpi.first.math.geometry.Rotation2d; | ||
import edu.wpi.first.math.geometry.Translation2d; | ||
import org.littletonrobotics.junction.AutoLog; | ||
import org.littletonrobotics.junction.LogTable; | ||
import org.littletonrobotics.junction.inputs.LoggableInputs; | ||
|
||
|
@@ -44,7 +45,7 @@ public class ArmInputs implements LoggableInputs { | |
ArmIO.ControlMode elbowControlMode; | ||
|
||
|
||
@Override | ||
|
||
public void toLog(LogTable table) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In your case you can remove |
||
table.put("shoulderAngle", shoulderAngle); | ||
table.put("elbowAngle", elbowAngle); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kinematics should work with
Rotation2d
too.