Go to Post Like a moth to a flame, true FIRSTers are attracted by the Victor instead of the Banner. - Rich Wong [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 11-04-2014, 11:17
TogetherSword8 TogetherSword8 is offline
Registered User
FRC #0888 (Robotiators)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Glenelg High School
Posts: 85
TogetherSword8 is an unknown quantity at this point
Crio without Computer Connection?

Is there a way to run the crio and have it send outputs without having to have it connected to a computer to enable it? I have looked through the labview code for FRC and cannot find anything that would restrict the output when the robot is in a disabled state. I have also tried creating a regular labview real-time project, but when i deploy it to the target, it does not output to any of the devices until i hit enable on the drivers station. This was after writing everywhere in the code that i could find a reference for that i set to "Teleop Enabled".

I know this may seem as a weird question, but with 4 crios (soon to be more with the new Roborios coming out) already in the shop, we would like to be able to start making some promotional robots without dedicating a computer to their functionality.

You can do this to the old IFI controllers, unfortunately we don't have the program nor knowledge to reprogram those anymore.
__________________
I program a robot. Which means I write code and everyone gets mad at me when something doesn't work, even if I am the only one that knows it doesn't work. The key part to know is that the robot never works.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-04-2014, 11:43
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: Crio without Computer Connection?

Quote:
Originally Posted by TogetherSword8 View Post
I have looked through the labview code for FRC and cannot find anything that would restrict the output when the robot is in a disabled state.
You won't find it in the user code. The output disable is handled by the FPGA. By design, there is supposed to be no way to command the solenoids, relays, or PWM outputs to be active without the robot program receiving packets from a Driver Station.

(It ought to be possible to run a small program on the cRIO that provides simulated DS communication. Doing that might be an interesting project for someone with both the time and expertise.)
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 20:07.

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