|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Cmaera semi-running away from light
First off, we did put the camera the opposite way in the instuctions(The right way). When we take a snapshot, the picture is upside down. We have the servos plugged in to the cam and are running it through labview. We did get it to track before when we hooked it up to the bot, but no luck now.
When we hold the light in front of it, it will go up, sort of following it, but never come down. I believe it does the same if we move down. What is going on here? It can't be code, since we are running from labview. |
|
#2
|
||||
|
||||
|
Re: Cmaera semi-running away from light
We had the same exact problem... So I'll be the one to ask.
Do you have the servos to the PWM outs in the camera board or the PWM01 and PWM02 on the RC? We had ours plugged into the cam board and had that EXACT problem. Also, you're better off just downloading the default code and using that to track. I found it 10 times easier and more effective than labview. EDIT: Re-read, you DID have it working on the bot before. If you want to use the camera pwm outs for the actual tracking you'd have to change the assignments in the code, I beleive in camera.c, I don't remember off the top of my head. |
|
#3
|
||||
|
||||
|
Re: Cmaera semi-running away from light
Its pluggeded into the cam board
|
|
#4
|
||||
|
||||
|
Our team did have the same problem, but we more or less fixed it. This is more of a "check the documentation" problem, but here's a few things to check.
There are 2 jumpers that can be put into the camera to flip servo outputs. Lab-view settings are opposite/different than the actual code. What worked in labview hasn't worked for the robot for us. there are 2 macros in the tracking.h library that you can inverse. This is what worked for us. They are labled by a comment. Otherwise, good luck! This is one of the hardest probs you will probably encounter. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Light fades out? | Mike | Programming | 13 | 17-01-2006 23:13 |
| How many users does it take to change a Light Bulb? | Matt Attallah | Chit-Chat | 4 | 04-09-2004 20:59 |
| Please...no more steenkin' light! | Andrew | General Forum | 37 | 17-04-2003 23:06 |
| Important info about light | Jay Lundy | Technical Discussion | 10 | 12-04-2002 11:37 |
| How many posters does it take to change a lightbulb? | Brandon Martus | Chit-Chat | 7 | 22-02-2002 19:48 |