Repository navigation
Velocity-formula-and-hood-comp - #20
Conversation
kevinfrei
left a comment
There was a problem hiding this comment.
Lots of changes requested. Please go through the comments on github and respond to the questions if there are some. Only resolve comments with no response if you made the changes requested. Once you've made the changes, commit & push them to the same branch, and github will update the PR.
One silly naming idea: Instead of something saying "getTurretAngle" maybe switch to 'getTurrentRadians' to avoid unit confusion? "Pos" -> Servo position data, "Loc/Pose" -> and X/Y (+heading) location, "Radians"/"Degrees" -> a direction with obvious units. "Power" -> Motor "duty cycle". (I'm not asking you to make these changes now, but I'm curious about your thoughts on that)
| @Override | ||
| public void runLoop() {} | ||
| public void runLoop() { | ||
| robot.follower.update(); |
There was a problem hiding this comment.
Needing to put this here feels like there's a bug in the PedroFollower joystick command or the Pedro drivebase as that's where the update() probably should occur (in the command's execute function, or in the drivebase's periodic function)
There was a problem hiding this comment.
honestly it might be but this comment to me sounds more like a note for future kevin then for colin lol
There was a problem hiding this comment.
lol. yeah, you're right. We'll get this figured out with the whole prog team.
…e of the turret stuff will review when i get home i just needed to get some stuff so we could test pid values and velocity
…ood comp angle and velocity constants will most likely need to be tuned the velocity regression is prob gonna be the most far off the other idk
… 1 auto we have + a small intake addition!
43dcac7 to
d8d62f7
Compare
|
Rebasing is such a delight... |
Summary
implemented auto velocity auto hood angle and hood velocity compensation i used some physics to get decently close values although i expect the velocity formula to be decently off
Validation
hasnt been reviewed yet
has not been tested on the robot will prob test it tuesday
nope