Go to Post 1) Field reset will want to do mean things to you. They have to remove the tubes. - EricH [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
  #1   Spotlight this post!  
Unread 03-02-2005, 20:52
Stillen Stillen is offline
Registered User
#0549
 
Join Date: Feb 2003
Location: LEOMINSTER,MA
Posts: 107
Stillen is just really niceStillen is just really niceStillen is just really niceStillen is just really niceStillen is just really nice
Send a message via ICQ to Stillen
camera tracks but no movement from Robot

We have our camera tracking the various colors. We are able to manually drive our robot. When we go injto autonomous mode the camera seeks out the vision tetras, but no movement happens at the robot. It just appears that no information is being sent to move the robot, Can you guys please help my programming team....


Stills
  #2   Spotlight this post!  
Unread 03-02-2005, 23:00
magical hands magical hands is offline
Jigar Patel
AKA: Jigar Patel
FRC #2185 (Etobicoke CI)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2004
Location: TORONTO
Posts: 93
magical hands is on a distinguished road
Re: camera tracks but no movement from Robot

Hi! I think you haven't declared the proper values for pwm or maybe you missing a step in your programm. If you want I can look at your code and give you suggestions here is my e-mail address jigarjuhi@yahoo.ca
  #3   Spotlight this post!  
Unread 03-02-2005, 23:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: camera tracks but no movement from Robot

Without knowing anything about what your autonomous code is supposed to do, I can't really suggest anything helpful. All I have are questions:
Is your autonomous code controlling the same pwm outputs as your driver code? How are you putting the robot into autonomous mode? Are you sure you aren't accidentally disabling the robot when you're activating autonomous?

If your program is based on the v2.4 default code, are you using pwm1 and 2 for your drive motors, or pwm11 and 12? The default tracking code puts the commands on pwm11 and 12, the same place used for single-joystick control. If you're using two-joystick "tank" control on the lower pwms, you will have to change the tracking outputs.
  #4   Spotlight this post!  
Unread 04-02-2005, 13:35
emersont49 emersont49 is offline
Mentor
#1098
 
Join Date: Sep 2004
Location: Fenton, Missouri
Posts: 34
emersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of lightemersont49 is a glorious beacon of light
Re: camera tracks but no movement from Robot

Quote:
Originally Posted by Stillen
We have our camera tracking the various colors. We are able to manually drive our robot. When we go injto autonomous mode the camera seeks out the vision tetras, but no movement happens at the robot. It just appears that no information is being sent to move the robot, Can you guys please help my programming team....


Stills
If you are using the default code, there is a variable you may need to change

const int speed_setting = 150; //forward speed setting (127 to 254)


We found ours was set at 100. We bumped it up (by 10s) until we good good movement.


The real trick is taking all of that and putting it into an autonomous routine. We're still working on that.
__________________
Tim Emerson
  #5   Spotlight this post!  
Unread 04-02-2005, 17:16
Darkelement's Avatar
Darkelement Darkelement is offline
Team 241 Lead Programmer
AKA: JC Morgan
FRC #0241 (The Astros)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2000
Location: New Hampshire
Posts: 8
Darkelement is an unknown quantity at this point
Re: camera tracks but no movement from Robot

255 is full speed, and I like going down from there.
__________________
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
Is the suggested Vision Camera setup ILLEGAL?! Mr. Lim Rules/Strategy 37 20-01-2005 21:46
Is allowing a practice robot good for FIRST? Matt Adams General Forum 38 19-01-2005 11:35
CMUCam2 Camera Code - Are important parts commented out? Mr. Lim Programming 4 14-01-2005 12:11
Tank tracks vs. Wheels MBosompra Technical Discussion 28 16-01-2004 23:31
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 26-11-2001 09:39


All times are GMT -5. The time now is 19:34.

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