Go to Post The Pet Rock was very original, but not necessarily a great thing. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 04-02-2006, 13:33
Zyik Zyik is offline
Observer
no team
 
Join Date: Jan 2006
Rookie Year: 2006
Location: SLO
Posts: 507
Zyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond reputeZyik has a reputation beyond repute
Re: Who has the camera working?

Ours will now follow the green light very consistantly, including when it is about 8 feet in the air and its far away from it.
__________________
Team 973 : 06-09
  #17   Spotlight this post!  
Unread 04-02-2006, 15:29
mallot1243's Avatar
mallot1243 mallot1243 is offline
Registered User
FRC #1243
 
Join Date: Apr 2004
Rookie Year: 2004
Location: Swartz Creek, MI
Posts: 27
mallot1243 is an unknown quantity at this point
Re: Who has the camera working?

4 weeks and we finally got it to work, bad converter
now just the rest of the robot
  #18   Spotlight this post!  
Unread 04-02-2006, 16:25
Windward's Avatar
Windward Windward is offline
Registered User
FRC #1452
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2004
Location: So Cal
Posts: 88
Windward is an unknown quantity at this point
Re: Who has the camera working?

Quote:
Originally Posted by cmurdoch
Our camera works but we're still playing with the code to make it track the way we want it to.
123, we are still in the tweaking/troubleshooting phase.
  #19   Spotlight this post!  
Unread 04-02-2006, 16:31
Bcahn836's Avatar
Bcahn836 Bcahn836 is offline
Iraq is fun.
AKA: Brad Cahn
no team (Robobees 836)
Team Role: Alumni
 
Join Date: Dec 2003
Rookie Year: 2003
Location: Camp Taji, Iraq
Posts: 1,774
Bcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond reputeBcahn836 has a reputation beyond repute
Send a message via AIM to Bcahn836 Send a message via Yahoo to Bcahn836
Re: Who has the camera working?

Team 836's camera is up and running finally.
  #20   Spotlight this post!  
Unread 04-02-2006, 16:33
bbehnke bbehnke is offline
The Behnkenator
AKA: Bria
FRC #1676 (Pioneeres)
Team Role: Mentor
 
Join Date: Sep 2005
Rookie Year: 2005
Location: woodcliff lake, NJ
Posts: 24
bbehnke will become famous soon enoughbbehnke will become famous soon enough
Send a message via AIM to bbehnke
Re: Who has the camera working?

today was the first day we had it on the thing that aimed the shooter and i dont think we have any problems (knock on wood) so far just a couple of minor adjustments to do to it. in like last year where we fried it the first time we put it on
  #21   Spotlight this post!  
Unread 05-02-2006, 00:42
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,308
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Who has the camera working?

To anyone teams having problems with the camera "running away" from the target, it's because Kevin wrote his code for the way the camera is supposed to be mounted, the instructions the kit gave us had us mount it upside down. There are a couple of other threads on the issue.

The camera has no difficulties, and I already have a rough layout of how to move a rotator and adjust speed using it.
  #22   Spotlight this post!  
Unread 05-02-2006, 19:04
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Who has the camera working?

Team 422 has a working camera and electronics board still waiting on a robot tho
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #23   Spotlight this post!  
Unread 05-02-2006, 19:07
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Who has the camera working?

team 11 has the camera working on an old robot were a turret auto centers itself to the light, we also have the camera working in autonomous mode
  #24   Spotlight this post!  
Unread 14-01-2007, 11:29
chmp09 chmp09 is offline
Registered User
AKA: Marc Pulte
FRC #1702 (Robocubs)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Troy, Michigan
Posts: 25
chmp09 is a jewel in the roughchmp09 is a jewel in the roughchmp09 is a jewel in the rough
Re: Who has the camera working?

Kevin Watson makes everything easy. Just go to his site and download the bells and whistles code for the camera. You may have to adjust the angles in the code for the servos, but it tracks really nice if built correctly.
  #25   Spotlight this post!  
Unread 15-01-2007, 19:16
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: Who has the camera working?

1392... standing good.. working.. tracking.. cant complain
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #26   Spotlight this post!  
Unread 15-01-2007, 22:28
agmlego's Avatar
agmlego agmlego is offline
Jack-of-all-trades
AKA: Andrew Meyer
FRC #0857 (Superior Roboworks)
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Houghton, MI, USA, Terra
Posts: 13
agmlego is an unknown quantity at this point
Send a message via ICQ to agmlego Send a message via AIM to agmlego Send a message via MSN to agmlego Send a message via Yahoo to agmlego
Thumbs up Re: Who has the camera working?

I have ours tracking very nicely albeit slowly with an EDUbot chassis. Smooth and steady. Gotta work on the power curves for the drive motors so it goes faster than (literally) a foot a minute.
__________________
"I can guarantee that if it breaks today, it will be something that has never broken before"
--Arthur C. Clarke, The Trigger
  #27   Spotlight this post!  
Unread 16-01-2007, 19:45
804_twidget1 804_twidget1 is offline
Registered User
FRC #0804 (Metalmorphosis)
Team Role: Electrical
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rock Hill, South Carolina
Posts: 4
804_twidget1 is an unknown quantity at this point
Thumbs down Re: Who has the camera working?

We are still working on the camera but are getting nothing but errors. we are unable to find the file that allows the camera to read the serial port. if any one out there understands why it's not working, let me know.
  #28   Spotlight this post!  
Unread 18-01-2007, 15:29
sniggel sniggel is offline
Registered User
FRC #2051
 
Join Date: Jan 2007
Location: A.W. Beattie
Posts: 28
sniggel is an unknown quantity at this point
Re: Who has the camera working?

we also had problems with the camera, we couldn't make it track green with Kevin's code, so we developed our own code for the camera (tracking and searching).
feel free to download our code here or ask questions about it.
good luck!
... the link for he code doesnt work,, can you check it or give us another link
  #29   Spotlight this post!  
Unread 18-01-2007, 15:52
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Who has the camera working?

Not working yet at 2230 too. I connected the servos to PWM 01 and 02, connected PWM08 to the top 3 pin next to the power switch on the camera and took a pwm cable to connect to that small elctronic board that is to be plugged in the 4 pin area and connected it to the lower 3 pin on the camera, but nothing came up on the IFI screen.
  #30   Spotlight this post!  
Unread 18-01-2007, 16:58
phoenixRae phoenixRae is offline
Registered User
AKA: Liam Caven
FRC #0581 (Bulldog Robtics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2003
Location: San Jose, California
Posts: 1
phoenixRae is an unknown quantity at this point
Re: Who has the camera working?

Team 581 here - got the camera up and running by the end of the first week, but was initially stumped as to why Kevin Watson's scanning algorithm wasn't working for us properly. From what we could see, the camera started out at an orgin way left of what it should be, and the 5 step pan reflected that bias. Turns out that the guy who assembled the camera (definitely wasn't me... yeah... *cough*) forgot that the servo plates need to be engaged to the servo in such a way that the PWM values for facing straight forward (which are 124 for pan, 144 for tilt, if memory serves) actually translate to facing straight forward. In case anyone else's run into this problem, here's how we fixed it:

1.) Before bolting the camera board onto the pan-tilt assembly, connect up the servos in the configuration described by Kevin Watson's default code (Pan in PWM01, Tilt in PWM02). You won't be needing the actual camera to do this, and since we'll be unscrewing a few things in the process, it's safer for the camera not to be involved.

2.) Follow Mr. Watson's instructions on installing and loading his code onto your 2007 Robot Controller, and tether your robot to its OI. Make sure your PWM cables aren't tangled with the pan-tilt assembly, then fire 'er up.

3.) What you'll see the camera do may vary depending on how your plates are aligned already, but if you're using Mr. Watson's code, it should move to its defined center, then repeat a path through 5 pan positions:

1 - Far left (PWM: 0)
2 - Left (PWM: 62)
3 - Center (PWM: 124) *This supposed to be the center of the camera's pan motion; it may not be at this time.*
4 - Right (PWM: 186)
5 - Far Right (PWM: 248)

What you want to do is unplug the pan servo from the Robot Controller at position 3 and turn off the robot. Now, unscrew the servo plate on the pan servo (without turning the servo), take it off the gear-shaped servo shaft, and align the camera so that it's facing forward. Put the plate back onto the servo shaft (again, without turning the servo), and screw it back on.

4.) The tilt servo runs through 3 positions, the second of which is supposed to be parallel with the ground. Repeat step 3 for the tilt servo (unplugging it at that second position), and you're done! =)

Thanks for reading my incredibly long post, hope it's of help to someone suffering from the same problem.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CMU Camera kills robot controller if not found. Chris_Elston Programming 21 27-03-2006 14:30
Camera not working st1nkm4n Programming 7 02-02-2006 08:22
Unresponsive camera neilsonster Programming 9 17-02-2005 08:51
Camera not working when connected to robot MarkVH Programming 5 14-02-2005 15:40
Camera stops working when we use camera_set_servos()... SeanCassidy Programming 16 13-02-2005 03:08


All times are GMT -5. The time now is 09:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi