Go to Post The most important deisgn criteria is always performance in any of the parts / systems we design. But we do try to abide by the saying -- if it doesn't look good (right), it probably isn't good (right). - Adam Freeman [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 10-04-2013, 20:09
Epicredeemer Epicredeemer is offline
Registered User
FRC #1626 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2010
Location: Metuchen, NJ
Posts: 8
Epicredeemer is an unknown quantity at this point
Troubleshooting Autonoumous

my team captain wants me to program our autonomous code to have it reverse and then spin 180 degrees. The only problem is that no matter what I put in as the motor values, the robot will either just reverse or it will start to do the harlem shake. Can anyone please take a look at it for me? C:\Users\Matt\Documents\autonomous c...r problems.htm
  #2   Spotlight this post!  
Unread 10-04-2013, 21:00
Owen Makin Owen Makin is offline
Registered User
FRC #1972
 
Join Date: Jan 2013
Location: CUHS El Centro
Posts: 50
Owen Makin is an unknown quantity at this point
Re: Troubleshooting Autonoumous

I cant open the link. and what programming language are you using?
  #3   Spotlight this post!  
Unread 10-04-2013, 21:01
dellagd's Avatar
dellagd dellagd is offline
Look for me on the field!
AKA: Griffin D
FRC #2590 (Nemesis) #2607 (The Fighting Robovikings)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2011
Location: PA
Posts: 890
dellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond reputedellagd has a reputation beyond repute
Re: Troubleshooting Autonoumous

Quote:
or it will start to do the harlem shake
I lol'ed at that one

Anyway, what language are you using and you incorrectly posted the file. Try uploading like an attachment to your post.
__________________
Check out some cool personal projects in computers, electronics, and RC vehicles on my blog!

2016 MAR DCMP Engineering Excellence Award
2016 MAR Westtown Innovation in Control Award
2016 MAR Hatboro-Horsham Industrial Design Award
2015 Upper Darby District Winners - Thanks 225 and 4460!
2015 Upper Darby District Industrial Design Award
2015 Hatboro-Horsham District Winners - Thanks 2590 and 5407!
2014 Virginia Regional Winners - Thanks so much 384 and 1610, I will never forget that experience!
2014 Virginia Quality Award
2014 MAR Bridgewater-Raritan Innovation in Control Award
2014 MAR Hatboro-Horsham Gracious Professionalism Award
2013 MAR Bridgewater-Raritan Innovation in Control Award
2012 MAR Lenape Quality Award
  #4   Spotlight this post!  
Unread 13-04-2013, 22:38
Epicredeemer Epicredeemer is offline
Registered User
FRC #1626 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2010
Location: Metuchen, NJ
Posts: 8
Epicredeemer is an unknown quantity at this point
Re: Troubleshooting Autonoumous

sorry about the link not working, its my first time try to post a file here.
I'll give it another shot. and by the way, i'm using labview.
Attached Files
File Type: vi Autonomous Independent.vi (54.8 KB, 34 views)
  #5   Spotlight this post!  
Unread 13-04-2013, 23:03
Owen Makin Owen Makin is offline
Registered User
FRC #1972
 
Join Date: Jan 2013
Location: CUHS El Centro
Posts: 50
Owen Makin is an unknown quantity at this point
Re: Troubleshooting Autonoumous

Well it looks very messy to me, because it seems there are many unnecessary while loops with no values being plugged in. Try writing down what you want the robot to do for how long and set up a timed sequence that executes everything as time progress .
  #6   Spotlight this post!  
Unread 14-04-2013, 13:37
Epicredeemer Epicredeemer is offline
Registered User
FRC #1626 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2010
Location: Metuchen, NJ
Posts: 8
Epicredeemer is an unknown quantity at this point
Re: Troubleshooting Autonoumous

Well there is a reason for the way it is. It's my first year as programmer and I had, and still don't have, any idea as to how the timing works. But we ended up just letting the robot back up and stop. It would still be nice to know how to have it spin after for next time, though.
  #7   Spotlight this post!  
Unread 14-04-2013, 14:53
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Troubleshooting Autonoumous

I would highly recommend going through some of the tutorials there are for labview online.

I haven't used labview in FRC for the past few years, but I found these guides immensely helpful back when I was using it:
http://www.frcmastery.com/
The guy that narrates these is very knowledgeable and covers a large number of beginner and advanced topics quite well. It would be to your bennefit to go through these guides and understand some of the concepts.

It looks like NI has put up their own set of instructions for 2013.

I quickly looked through, and a slight modification to this guide would probably help you do what you were looking for (driving back and then turning).
[EDIT] On closer look the auto mode "tutorial" isn't much more than some screenshots and isn't much of a guide. I'd suggest watching this video from frcmastery on the 2011 auto mode code. It should be helpful in understanding how to structure an auto mode to do what you want.[/EDIT]


If labview is something you're interested in learning more about, in preparation for future years, go through the guides linked above. Even the ones that don't sound like they will be relevant to something you need to know will likely teach you something new.
__________________
http://team2168.org

Last edited by otherguy : 14-04-2013 at 15:01. Reason: added more links
  #8   Spotlight this post!  
Unread 14-04-2013, 14:56
Epicredeemer Epicredeemer is offline
Registered User
FRC #1626 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2010
Location: Metuchen, NJ
Posts: 8
Epicredeemer is an unknown quantity at this point
Re: Troubleshooting Autonoumous

thank you very much for the advice and links. I think I will go and take a look at them.
  #9   Spotlight this post!  
Unread 22-05-2013, 20:22
Epicredeemer Epicredeemer is offline
Registered User
FRC #1626 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2010
Location: Metuchen, NJ
Posts: 8
Epicredeemer is an unknown quantity at this point
Vision tracking

OK. I've gotten past the autonomous issues, but I now have another problem. My team's driver and shooter operator want me to put together a vision tracking system. I have no idea how to do it, so I could really use some help.
  #10   Spotlight this post!  
Unread 29-06-2013, 08:58
Epicredeemer Epicredeemer is offline
Registered User
FRC #1626 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Apr 2013
Rookie Year: 2010
Location: Metuchen, NJ
Posts: 8
Epicredeemer is an unknown quantity at this point
Re: Vision tracking

In addition to this, we have been having issues with our compressor. As soon as the robot turns on, the compressor either turns on or stays off, without being enabled, and it stays that way until the robot is turned off. We've tried changing the PWM, the spike, the PWM port on the digital side car, but nothing has seemed to work. And this issue came out of the blue. It was working at our last event, then when we went to get ready to go to an off-season event, there was a problem.
  #11   Spotlight this post!  
Unread 04-07-2013, 14:30
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,112
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: Vision tracking

Quote:
Originally Posted by Epicredeemer View Post
As soon as the robot turns on, the compressor either turns on or stays off, without being enabled, and it stays that way until the robot is turned off. We've tried changing the PWM, the spike, the PWM port on the digital side car, but nothing has seemed to work.
It might just be lazy terminology on your part, but a Spike does not connect to a PWM port. It connects to the Digital Sidecar pins labeled specifically for relays. Describe exactly where each wire goes so we know you've done it correctly. There should two wires between the Spike and the compressor, two between the Spike and the Power Distribution Board, and three between the Spike and the Digital Sidecar. Clear pictures would be ideal.
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


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

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