Thread: Peg targeting
View Single Post
  #13   Spotlight this post!  
Unread 09-02-2017, 19:38
flemdogmillion's Avatar
flemdogmillion flemdogmillion is offline
Programmer, Builder, Driver...
FRC #3007
 
Join Date: Nov 2016
Rookie Year: 2015
Location: Minnesota
Posts: 146
flemdogmillion will become famous soon enoughflemdogmillion will become famous soon enough
Quote:
Originally Posted by bacarpenter View Post
Okay thank you for all your help. I have a gyro currently working on the robot, but the problem I see with using the gyro angle to line it up is distance. Right now my vision code won't figure the distance from the target it just says infinite. If I'm closer or further away that'd change the angle calculations, but right now I don't know how to get that distance.

https://www.chiefdelphi.com/forums/s...d.php?t=154930 try the code posted in this thread. It's my LabView code that my team won't be using.
__________________
Team 4506: 2015-2016
Team 3007: 2017

Jack of all trades except C++ & Java
Reply With Quote