Go to Post Wait, that's exactly how it's supposed to work, isn't it. Well played GDC, well played. - alopex_rex [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 15-01-2014, 01:43
Wazzaps Wazzaps is offline
Registered User
FRC #1573
 
Join Date: Jan 2014
Location: Israel
Posts: 11
Wazzaps is an unknown quantity at this point
Unhappy [SOLVED] Robot not driving

SOLUTION:
Okay so after alot of frustration I tried Cecil's answer and it worked!
Quote:
Remember that after imaging in safe mode, you must bring it out of safe mode and image it again for it to work correctly. If you are using the default code (at least in LabVIEW), there aren't any Spike relays programmed.
TL;DR:
After flashing in safemode restart the crio and imaging tool and flash again.
So basically now the program is fully working! And I figured someone probably cut off the power while the crio was flashing or deploying. Thanks everyone!

Original question:
Hello, my situation is that first I had problems with imaging the crio, finally I succeeded using SAFE MODE, but now, when I deploy the new project (no modified code) the jaguars and spikes don't work. I tried also switching the sidecar (the one with pwm and the dio pins). What are you suggesting? Thanks. I am using LabVIEW and windows 7 using a wired LAN cable.
Edit:
I implemented a simple compressor program, (BEGIN -> Compressor open -> Compressor set id...),(PERIODIC TASKS -> Compressor get id -> Compressor control loop(not inside a loop)),(FINISH -> Compressor get id -> Compressor close) so that's why i used the spike.
I am sure it is not a problem in the wiring because all the lights that need to flash flash, and the sidecar simply doesn't emit a signal (tested with multimeter).
I am using the driver station, and i am enabling it.

Last edited by Wazzaps : 15-01-2014 at 10:06.
  #2   Spotlight this post!  
Unread 15-01-2014, 01:47
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Robot not driving

Could you do the following so we can help you:

Can you explain why you are using spikes.

Post your code so we can look at it.

Post a picture of your electrical wiring so we can examine it.

Are you using the driver station?
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
  #3   Spotlight this post!  
Unread 15-01-2014, 02:28
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Robot not driving

Remember that after imaging in safe mode, you must bring it out of safe mode and image it again for it to work correctly. If you are using the default code (at least in LabVIEW), there aren't any Spike relays programmed.
__________________
I'm right 90% of the time, so why worry about the other 3%?
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 03:02.

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