Go to Post 217 would never collaborate with 1114 because they are crazy and they talk funny. - Paul Copioli [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 22-03-2011, 23:59
TPNigl TPNigl is offline
Registered User
FRC #0069 (Team HYPER)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Quincy, MA
Posts: 94
TPNigl is an unknown quantity at this point
Connected to robot, no function?

So recently we have been trying to get our old test bot up and running to practice some things on before our next comp.

The problem is that our cRIO is not working properly. Originally, when we first tested our main bot for this year with the new cRIO, it didn't work. So instead of figuring out the problem, the team just took last year's and put it on. Now we're stuck with the old one on the test bot.

We reimaged to what was at the time the newest image (v28) and established comms and everything with the testbot. However, when we jiggled the joysticks, trying to get it run, there was nothing. The lights were flashing on the jaguars. However all we did for code to try to get it running was a simple robotIterative with just calling the 4 drive jaguars, the 4 joysticks we had hooked up, and the robotDrive.

We have our last meeting before our next event this Thursday and I've been brainstorming what the problem could be. So far I have come up with

- Check connections to digital sidecar
- Upload code from last year (maybe there are certain things that aren't being called)
- If that doesnt work, unplug all joysticks except two and unplug all things from sidecar except pwm's for drive motors.
- vacuum cRIO

Do you guys have any other possible ideas/solutions? It would be very helpful! Thank you!
__________________


2011 Pit Crew:
2011 CT Xerox Creativity Award

HYPER Alumni
Reply With Quote
  #2   Spotlight this post!  
Unread 23-03-2011, 09:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,830
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: Connected to robot, no function?

Blinking Jags aren't related to the joysticks, so don't let that distract you.
First step is to get the Jag lights to go solid, meaning they are communicating with the DSC and cRIO and the cRIO is Enabled.

It'll be either electrical or programming.
Using a simple 4 motor drive should reduce the possibility that it's the code.
Just make sure the PWMs match up to the Jag connections. The only code problem that causes the Jags to blink is Disabled or failure to Open the corresponding PWM output.

Electrical checks
  • Communication: DS Communication & Robot Code lights green and robot Enabled.
  • Power: Digital Sidecar status lights all on strongly, cRIO status light green
  • DSC Connectivity: RSL long on/short off blink for Teleop. Check the 37-pin cable connections at both ends for bent pins. Check the cRIO Digital Module connector to the cRIO chassis for bent pins or metal dust/shards. You can try the alternate slot 6 to see if the module connection has a problem (have to update the code though).
  • Jag Connectivity: check the pwm connections for correct polarity. Check to see they are seated correctly. With 4 of them I doubt you have 4 bad PWM cables.
Vaccuming is good. Do it with the DSC too.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-03-2011 at 09:44.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-05-2011, 17:31
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: Connected to robot, no function?

You should also write some basic skeleton code (take the RobotDrive template and give it some port numbers to use) so that you can completely eliminate programming as a cause, then isolate the electrical issue. I've nothing to add to what Mark suggested for checks though.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
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 06:10.

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