View Single Post
  #1   Spotlight this post!  
Unread 07-17-2017, 06:05 PM
Adam_P's Avatar
Adam_P Adam_P is offline
Registered User
FRC #3061 (Huskie Robotics)
Team Role: Leadership
 
Join Date: Jan 2017
Rookie Year: 2011
Location: Naperville, IL
Posts: 40
Adam_P is a jewel in the roughAdam_P is a jewel in the roughAdam_P is a jewel in the rough
Angle of bot in relation to peg

Hey!

I'm working on a vision project for my team and am using last year's Steamworks challenge to start. I've hit a roadblock regarding finding the angle my robot is in relation to the gear. I've been able to calculate the distance I am from the peg as well as the lateral distance I am from it, but I am not able to figure out the angle accurately. Our team has swerve drive so knowing the angle matters and we should be able to correct based on that.

Thanks