Go to Post And THAT is why they have safety manuals. - Eria4044 [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
  #16   Spotlight this post!  
Unread 09-02-2011, 17:59
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Our Crio Won't Run deployed Code and there are no Error messages

If you're going to be working in the shop with your robot this evening, and you have available internet near the robot, PM me tonight, I can do a live troubleshooting session with you via Skype or some other system.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #17   Spotlight this post!  
Unread 12-02-2011, 09:59
Logos Logos is offline
Registered User
FRC #1006
 
Join Date: Jan 2011
Location: Beaverton, On
Posts: 6
Logos is an unknown quantity at this point
Re: Our Crio Won't Run deployed Code and there are no Error messages

sry i couldn't do that but i can give you our robotiocs schedule if you want to try again

we do saturdays 9am-3pm eastern time
and weekdays from 3:30 pm-6:30 except sometimes we leave by 5:30

Thanks a lot
  #18   Spotlight this post!  
Unread 21-03-2011, 23:48
chuckmerja chuckmerja is offline
Registered User
FRC #1696 (RoboRevolution)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2004
Location: Montana
Posts: 21
chuckmerja is an unknown quantity at this point
Re: Our Crio Won't Run deployed Code and there are no Error messages

We just ran into a similar problem...we were going to practice a bit with our "junkyard" bot - altho it has legit cRio, digital sidecar, power distribution, we use Victors instead of Jags, and of course some spikes.
Anyway, the code will deploy, and we can ping all the way to the cRio, moreover, the drivers station reports green lights for communications, robot code, etc, but we get nothing - I mean nothing, when we try to drive. Not one button or joystick axis will respond. Ironically, we get video from the camera, again indicating communications are good. We have reimaged, redeployed several times, but nothing. It is almost like the digital sidecar is not working or we have ALLL the wires wrong, since nothing will work. This has befuddled us for two nights, and is getting a bit frustrating. Help would be appreciated! Thanks, Chuck.
__________________
2005 - Sacto quarterfinalist
2006 - Sil Valley quarterfinalist
2007 - AZ semifinalist, 2 judges awards, Woodie Flowers Award
2008 - smallest team from smallest school in FIRST - 3 person team!! - Seattle semifinalist
2009 - let's just say this bot would not have qualified for a trip to Mars
2010 - redoubled quality effort - won quality award and WINNER Utah Regional (first MT team to win an FRC regional) also won state FTC tourney (team 724)
2011 - Finalist UTAH regional
  #19   Spotlight this post!  
Unread 22-03-2011, 00:36
Chexposito's Avatar
Chexposito Chexposito is offline
Registered User
AKA: Expo
FRC #1730
Team Role: Alumni
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Missouri
Posts: 272
Chexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of lightChexposito is a glorious beacon of light
Re: Our Crio Won't Run deployed Code and there are no Error messages

have you tried looking at your target consul? errors that don't show up in compilation because they are not syntax errors will appear there (ex. code with the gyro not on analog 1 will compile because the syntax is correct, but will not operate because it is not on analog 1).
if you are 100% sure that you connected all of your pwm's correctly on both ends and have declared all of your motor controllers correctly, then they are not receiving a signal from the side-car which could electrically be (based on previous info):
1. Bad C-Rio Card
2. Bad Side-Car Cable
3. Bad Side-Car
4. Bad Motor Controllers
the best way to try to determine which it is, is to replace each individually to see which is the problem... a very expensive problem if you don't have backups...
  #20   Spotlight this post!  
Unread 22-03-2011, 03:35
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Our Crio Won't Run deployed Code and there are no Error messages

Quote:
Originally Posted by chuckmerja View Post
We just ran into a similar problem...we were going to practice a bit with our "junkyard" bot - altho it has legit cRio, digital sidecar, power distribution, we use Victors instead of Jags, and of course some spikes.
Anyway, the code will deploy, and we can ping all the way to the cRio, moreover, the drivers station reports green lights for communications, robot code, etc, but we get nothing - I mean nothing, when we try to drive. Not one button or joystick axis will respond. Ironically, we get video from the camera, again indicating communications are good. We have reimaged, redeployed several times, but nothing. It is almost like the digital sidecar is not working or we have ALLL the wires wrong, since nothing will work. This has befuddled us for two nights, and is getting a bit frustrating. Help would be appreciated! Thanks, Chuck.
First the obvious potential error - is the DIO module in slot 4?
Are you getting any errors in the message window in the Diagnostic Tab?
Do the LEDs on the Victors change from blinking to solid when you enable?
If you are using LV, when you probe the joystick functions, are you getting correct readings?
__________________
  #21   Spotlight this post!  
Unread 22-03-2011, 07:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,842
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Our Crio Won't Run deployed Code and there are no Error messages

I've got another direction to look, as well.

Test your driver controls.

Go to the Driver Station Setup tab and check to see that your USB devices are all listed on the right.

Push a button on each of your joysticks one-at-a-time and the corresponding USB input should light up blue.
If you're using the Cypress, that entry may already be blue if one of your switches is normally closed.

We see a lot of this type of behavior (lack of controls) when a bunch of stuff is plugged into a single USB hub and it isn't getting the power it needs to run everything.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-03-2011 at 07:35.
  #22   Spotlight this post!  
Unread 22-03-2011, 07:57
msulaimain's Avatar
msulaimain msulaimain is offline
Registered User
AKA: Muhammad Sulaiman
FRC #3346 ([{Kamikaze Komets}])
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: USA
Posts: 36
msulaimain can only hope to improve
Send a message via AIM to msulaimain Send a message via Yahoo to msulaimain
Re: Our Crio Won't Run deployed Code and there are no Error messages

You may also want to check your code and see if the number that you've set for the jaguars/victors to connect into the sidecar are connected properly.

If you have stated that the drives should be connected to port 1 in the code, then connect it into port 1 of the PWM side of the sidecar. I made a mistake like this once.

Hope it helps.
__________________
int main()
{
::::::::: include=>commitment;
::::::::: int=>school name=>Asheboro::High
::::::::: int=>team name=>Kamikaze::Komets;
::::::::: Priority_Queue=>FRC Championship::2012;
::::::::: Max_Element=>Teamwork;
}
  #23   Spotlight this post!  
Unread 22-03-2011, 15:06
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,113
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: Our Crio Won't Run deployed Code and there are no Error messages

Quote:
Originally Posted by chuckmerja View Post
It is almost like the digital sidecar is not working or we have ALLL the wires wrong, since nothing will work.
What is the Robot Status Light doing? If the robot is enabled in Teleop, it should be on with a brief wink off every second or two.
  #24   Spotlight this post!  
Unread 02-02-2012, 17:17
JoCo909 JoCo909 is offline
Registered User
FRC #1414
 
Join Date: Feb 2012
Location: Atlanta, GA
Posts: 3
JoCo909 is an unknown quantity at this point
Re: Our Crio Won't Run deployed Code and there are no Error messages

Hi. I've been browsing around the forums and I noticed this thread. Our problem is very similar to this, with some minor differences. We have built and deployed a code for doing multiple things (using C++), and it has deployed fine with no error codes, no indication that anything was wrong. However, we noticed that our alterations to the code do absolutely nothing. We essentially commented out almost the entire code, built and deployed it, and yet it still ran (ex: we commented out our joystick control [2 joys, tank drive setup] and yet when moving the joysticks the robot still drove even when there was no drive built in). All our PWM connections look fine and react perfectly normal, it just seems like the code we're deploying to the robot simply isn't being implemented. Thoughts?
  #25   Spotlight this post!  
Unread 02-02-2012, 17:20
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,842
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Our Crio Won't Run deployed Code and there are no Error messages

You are pointing to an old .out file.
Check your .out path and the date on that file to see how recent it might be.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #26   Spotlight this post!  
Unread 02-02-2012, 17:57
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Our Crio Won't Run deployed Code and there are no Error messages

Although the complete lack of reaction indicates to me that this may not be the case, check your DB37 cable. Have you properly fixed it as per the directions here?

Quote:
Originally Posted by JoCo909 View Post
Hi. I've been browsing around the forums and I noticed this thread. Our problem is very similar to this, with some minor differences. We have built and deployed a code for doing multiple things (using C++), and it has deployed fine with no error codes, no indication that anything was wrong. However, we noticed that our alterations to the code do absolutely nothing. We essentially commented out almost the entire code, built and deployed it, and yet it still ran (ex: we commented out our joystick control [2 joys, tank drive setup] and yet when moving the joysticks the robot still drove even when there was no drive built in). All our PWM connections look fine and react perfectly normal, it just seems like the code we're deploying to the robot simply isn't being implemented. Thoughts?
How do you know that your PWM connections "reactly perfectly normally"?
Do lights on your Victors (or Jaguars) turn to a solid orange/yellow, or flash orange/yellow when you enable the robot? If not, what color do they indicate and when do they change?
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #27   Spotlight this post!  
Unread 02-02-2012, 23:44
vraimondi94 vraimondi94 is offline
Registered User
AKA: Vin Raimondi
FRC #1396 (Pyrobots)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2008
Location: Staten Island
Posts: 9
vraimondi94 is an unknown quantity at this point
Re: Our Crio Won't Run deployed Code and there are no Error messages

My team has had the same problem. You may not be connected to your CRio or its not recognizing the code.
  #28   Spotlight this post!  
Unread 03-02-2012, 15:45
JoCo909 JoCo909 is offline
Registered User
FRC #1414
 
Join Date: Feb 2012
Location: Atlanta, GA
Posts: 3
JoCo909 is an unknown quantity at this point
Re: Our Crio Won't Run deployed Code and there are no Error messages

Quote:
Originally Posted by slijin View Post

How do you know that your PWM connections "reactly perfectly normally"?
Do lights on your Victors (or Jaguars) turn to a solid orange/yellow, or flash orange/yellow when you enable the robot? If not, what color do they indicate and when do they change?
We switched each connection of our PWMs around and tested to see if they were communicating properly (which they are). I'm going to double check, but I believe the last time we tried enabling it it was solid orange/yellow (then flashed green and red rapidly like it should going forwards and backwards). What it seems like to me at the moment is somehow the cRIO is storing one of our old codes and for whatever reason is not replacing it with our new code (even though it gives us no errors when deploying).

If it is of any possible relation, ports 6-10 on our digital sidecar are not working period (but I think that's a problem with our code possibly, I'm working with another of our programmers to look into the issue).
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 16:03.

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