Go to Post DONT USE ROBOTS FOR EVIL!!! - Cooley744 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2011, 07:27
ATannahill ATannahill is online now
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,258
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Help for a rookie team?

You said you installed two updates, IIRC there were three. A LabVIEW update, utilities update and driver station update.

Are you deploying the code or just running it?

Are you remembering to build the code first?
__________________

- Arizona North
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2011, 08:40
dsmith14469 dsmith14469 is offline
Registered User
FRC #1511
 
Join Date: Jan 2010
Location: East Rochester, NY
Posts: 5
dsmith14469 is an unknown quantity at this point
Re: Help for a rookie team?

When deploying code you also have to make sure you use the "Run on Start" or something close to that. If this option is not chosen the code will download to the CRio but not run when the CRio is powered on.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2011, 08:46
huberje's Avatar
huberje huberje is offline
Registered User
AKA: Jeffrey
FRC #0151 (Tough Techs)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Nashua, NH
Posts: 33
huberje has a spectacular aura abouthuberje has a spectacular aura abouthuberje has a spectacular aura about
Re: Help for a rookie team?

I am not very familiar with the programming aspects of the robot, but I do know what you mean when you mention "Robot Code Light." There have been several instances last year when it would take a very long time to light up, sometimes around five minutes. Just as an extra consideration, I would make sure to wait a few moments before trying again.

I'm sorry that I could not offer more help, but I hope you get what you need. Good luck!
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2011, 09:49
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Help for a rookie team?

The Robot Code light will only come on when code is running. A slightly annoying fact (for rookies at least) is that the current control system has no "default code", meaning that when you image the cRio there is just nothing. In LabVIEW, you would go to Builds, then right-click "FRC Boot-Up Deployment" and set "Run As Startup". Then, code will exist on the cRio. If you want to test your code, you can go to Robot Main.vi and press the "play" button, and it will download your code temporarily (you loose it when you power down), but it is faster and you can see the front panels, which is useful when debugging.

Also - I have honestly never used the DB9 serial connection. Most things (in LabVIEW at least) can be solved with the indicator lights on the cRio itself (and its surrounding boards such as the DSC), the Driver Station, and LabVIEW.

You don't have to use the Classmate to download code. Any laptop which LabVIEW will run on (anything running Windows, no macs) will work. You would use it exactly the same, just set a static IP address on the same subnet (but not one of the reserved IP addresses).

If you have any questions about LabVIEW, feel free to PM me.

Oh yeah - the robot code light isn't the fastest light either. It shouldn't take more than a minute, though.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2011, 13:29
cjackson's Avatar
cjackson cjackson is offline
Registered User
AKA: Cory Jackson
FRC #3502 (OctoπRates)
Team Role: Leadership
 
Join Date: Oct 2010
Rookie Year: 2011
Location: Tallahassee Fl
Posts: 23
cjackson is on a distinguished road
Send a message via MSN to cjackson Send a message via Yahoo to cjackson
Question Re: Help for a rookie team?

Ok, so I think we have most of our problems fixed now, but we ran into a new problem.
  • One or more of the VIs got renamed last night and we can't find it. I believe it was called mymotor0.vi and mymotordirect.vi or something like that

I assume they are in the Robotics Library inside the VI library folder. Is there a way to redownload this folder or could someone updload their robotics library?

And thanks to everyone who has been helping out. Team 3502 really appreciates it.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2011, 16:15
winglerw28 winglerw28 is offline
Registered User
FRC #1274
 
Join Date: Jan 2011
Location: Berea, OH, USA
Posts: 30
winglerw28 is an unknown quantity at this point
Re: Help for a rookie team?

We had a similar issue last year with no spare laptop. The most elegant solution is to re-flash the classmate, re-install this year's updated software (I recommend forgoing AVG as you won't really be surfing the web with the thing), and then plug in an external USB DVD drive to install an updated version of LabView and run from there.

As for your new issue, try creating a new FRC Robot Project, perhaps a new mymotor.vi will be created.
Reply With Quote
  #7   Spotlight this post!  
Unread 13-01-2011, 23:43
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Help for a rookie team?

Wait you lost your wpi robotics library? I don't know if I'm reading that right, but that's what it sounds like.
Reply With Quote
  #8   Spotlight this post!  
Unread 14-01-2011, 06:50
cjackson's Avatar
cjackson cjackson is offline
Registered User
AKA: Cory Jackson
FRC #3502 (OctoπRates)
Team Role: Leadership
 
Join Date: Oct 2010
Rookie Year: 2011
Location: Tallahassee Fl
Posts: 23
cjackson is on a distinguished road
Send a message via MSN to cjackson Send a message via Yahoo to cjackson
Re: Help for a rookie team?

Quote:
Originally Posted by DFZXA View Post
Wait you lost your wpi robotics library? I don't know if I'm reading that right, but that's what it sounds like.
Well, It's in my recycle bin for the time being. I know the Labview update 3.0 installs the Robotics Library, so I was hoping running the setup in that would replace it again, but it did not.

I'll probably end up uninstalling, then reinstalling Labview today.
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


All times are GMT -5. The time now is 08:15.

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