Go to Post I GET that FIRST is about more than winning on the field. BUT... ...it is my experience that the great programs of the FIRST world almost always build on a foundation of competitive robots. Success on the field begets success in other realms. - Joe Johnson [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 15-02-2010, 22:34
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Debugging the default targeting code

Does it rotate to the left and then stop when it rotates approximately the right amount (just in the wrong direction) or does it continue rotating forever?
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2010, 02:55
Lumit Lumit is offline
Registered User
FRC #2521
 
Join Date: Jan 2010
Location: Oregon
Posts: 26
Lumit is an unknown quantity at this point
Re: Debugging the default targeting code

We don't have a lot of room atm to let it spin forever, but I think that's what is going on... It isn't simply on the wrong side of the middle line, it will turn right into a wall (over 90 degrees) and keep going, even after losing the target in the process.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2010, 08:10
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Debugging the default targeting code

Note that the code will turn to gyro heading of zero unless it sees a target. Does the dashboard show a green circle around the target? If not, it may be rotating to the zero.

First determine if the vision code is working just by watching the dashboard. You can also reset the gyro to a safer heading. It is reset using two buttons on the back of the joystick -- I don't remember the numbers.

Greg McKaskle
Reply With Quote
Reply


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
How do I load the default code? HarryScheiner C/C++ 7 11-02-2009 11:52
The Default Code robocata Programming 1 29-01-2006 17:59
Default code and the Compressor Matthew_H Programming 16 07-02-2005 07:19
problem with the default code MarkVH Programming 7 28-01-2005 00:04
Can't Compile the Default Code pressurex1 Programming 4 25-01-2004 20:26


All times are GMT -5. The time now is 21:59.

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