FRCTeam3255 / 2024_Robot_Code

Other
4 stars 0 forks source link

Calculate Pitch pivot point location based off of turret location (SIM ONLY) #158

Closed ACat701 closed 6 months ago

ACat701 commented 7 months ago

This is needed for the math that determines the angle of the pitch (since it goes off of the coordinate that the pitch is at)

I have the math in my brain. Whoever is working on this, talk to me first

ACat701 commented 6 months ago

image

This should be a method. It could be in the Pitch subsystem; I'm not completely sure about that part. It should take the current rotation of the turret as a parameter and return the current pose of the pivot point of the shooter to use in the LockPitch command.