![]() |
Camera programming progress
Team 1678 started seriously integrating our kicking and tracking systems today and ran into some pretty serious speed issues which we're now optimizing. I was wondering how many people actually have a high-speed, working camera tracking system on their robot.
|
Re: Camera programming progress
We've been able to move the servos and get images. We're now trying to get the tracking itself to work, but we're having problems. We posted a thread about it too.
http://www.chiefdelphi.com/forums/sh...ad.php?t=83015 If anyone who has gotten their camera to track could help, it would mean a lot. |
Re: Camera programming progress
We're using Java and it's working for us.
We ripped the Target class of the example code, but here's our Camera class: Code:
package pronto; |
Re: Camera programming progress
What do the magical constants 3 and 252 mean in the aim method?
|
Re: Camera programming progress
Those prevent the servos from going below 3 or above 255. In theory, they go from 0-255, but they're there just in case.
|
Re: Camera programming progress
Hmm, ok. I'm just surprised that works since you're treating it like an angle (since targetPosition is supposedly an angle).
|
| All times are GMT -5. The time now is 17:10. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi