Go to Post Having a spare arm that you can put on in 5 minutes or less intimidates the hardware into not breaking. - ChrisH [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 01-04-2011, 06:55
lemiant's Avatar
lemiant lemiant is offline
the Dreamer
AKA: Alex
FRC #4334 (Alberta Tech Alliance)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Calgary, AB, Canada
Posts: 562
lemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond repute
Spontaneous stopping

Yesterday we got our robot driving while tethered, and then after a code download it stopped working all together. We went back and pressed ctrl+z until the code was back to the way it had been and deployed, which fixed nothing . We are using cpp. does anyone know how to get the debugger going while tethered (so, that you can drive on the classmate and watch the debugger somewhere at the same time)? Also, is there a component between the cRio and the jaguars (which are flashing yellow) which breaks often?

Thanks

Lemiant
  #2   Spotlight this post!  
Unread 01-04-2011, 08:21
J.Warsoff's Avatar
J.Warsoff J.Warsoff is offline
BECAUSE SCIENCE
AKA: Jared Warsoff
FRC #1676 (The Pascack PI-oneers)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2009
Location: New Jersey, currently Connecticut
Posts: 245
J.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond reputeJ.Warsoff has a reputation beyond repute
Re: Spontaneous stopping

As far as I can tell, it seems like more of a hardware problem rather then a code problem. Unless there was some kind of virus code that shut down your robot, I'm thinking it would have to do with maybe the cRIO. It could also possibly be that one of the components in the electrical system may have either short circuited or not have been wired correctly. Make sure you check your wiring, look for bad components that may have stopped working, etc.

This is merely a possibility, so if anyone else can correct or give me some insight, that would be great.

Hope this helps and good luck!
__________________


"I reject your reality, and substitute my own!" -Adam Savage

Check me out on Twitter or Facebook

Acoustical Engineering & Music major at the University of Hartford / Hartt School of Music Class of 2017
  #3   Spotlight this post!  
Unread 01-04-2011, 14:04
BitWizard BitWizard is offline
Registered User
FRC #0279
 
Join Date: Dec 2008
Location: Toledo
Posts: 5
BitWizard is an unknown quantity at this point
Re: Spontaneous stopping

Lemiant, can you see the boot messages on the cRIO when you reboot or turn it on? The cRIO may be complaining about something else entirely.

We usually get cRIO messages in our IDE (NetBeans), but when things are really hosed up, that doesn't work.

The all-else-fails method is to hook a serial null modem cable (this was a royal pain for us to set up -- we use five consecutive converters and gender benders to get null modem serial male D9 to USB) from the serial port on the cRIO to a laptop running puTTY or other terminal console software. We can then control the cRIO from its "console," and when rebooting, see its messages as well as any we may have imbedded in our code.

Bit
Team 279
  #4   Spotlight this post!  
Unread 01-04-2011, 15:41
lemiant's Avatar
lemiant lemiant is offline
the Dreamer
AKA: Alex
FRC #4334 (Alberta Tech Alliance)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Calgary, AB, Canada
Posts: 562
lemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond reputelemiant has a reputation beyond repute
Re: Spontaneous stopping

Thanks guys. We managed to get it fixed at competition, big thanks to Simbotics. It appears it was a code problem. He coding mentor from Simbotics rewrote our drive code in java (it was C), and now it works fine.
  #5   Spotlight this post!  
Unread 01-04-2011, 16:47
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: Spontaneous stopping

Quote:
Originally Posted by lemiant View Post
Also, is there a component between the cRio and the jaguars (which are flashing yellow) which breaks often?

Thanks

Lemiant
Just to be on the safe side, are your Jags controlled by CAN or PWM? If it's CAN, more often then not its a bad crimp or a bad/missing terminator. These can cause extremely intermittent, very difficult to solve problems. I'd verify all of this before calling it fixed.

Matt
__________________
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!)
  #6   Spotlight this post!  
Unread 01-04-2011, 23:36
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Spontaneous stopping

Check your thermal amp breakers on the power distribution board. We tripped them way too much because our gear ratios were whack, so the motors would stall a lot.

So, next time, listen to the breakers and it will "tick" then the robot will stop moving, then 30 seconds later, it would start back up. Feel the breakers and the motors if they are overheating. Our CIM became so hot that it literally burned someone.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.

Last edited by davidthefat : 01-04-2011 at 23:41.
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 18:37.

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