Go to Post Nutritionally speaking I didn't get enough (MOE) green in my FIRST diet this year! - Mark McLeod [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 06-02-2010, 14:17
Lakedaimon's Avatar
Lakedaimon Lakedaimon is offline
Registered User
FRC #3012 (Spartans)
Team Role: Teacher
 
Join Date: Nov 2008
Rookie Year: 2003
Location: Cypress Lakes HS, Katy, TX
Posts: 23
Lakedaimon is an unknown quantity at this point
yet another noob Spike question

Our current status -
We have driven our robot, we're running Java, it can identify targets using CircleTrackerDemo. I am pretty sure we have all the latest updates installed and working.
We are trying to get pneumatics working for the first time (ever). We have a Digital Sidecar connected to a 9403 in slot 4. On the DS, the Bat, 9v, and 6v lights are on solid, the Robot Signal Light is blinking (in a somewhat random fashion, but fairly slowly when enabled in teleop).
When we run the BuiltinDefaultCode project, we put the robot into autonomous mode, but we do not see the Kitt light display on the DS (no LEDs are lit in the relay section ever.) However, if we modify the telopPeriodic method of this code to turn on solenoid 5 (for instance) as follows -

m_solenoids[5].set(true);

the #5 light on top of the 9472 in slot 8 lights up (these did not show the Kitt display, either.) We put this code in the teleopPeriodic method after the solenoids are set up.

(FYI, the Kitt method had a bug in it, it crashed because it was trying to access solenoid 8, when the highest it should go is 7. We commented out the accesses to entry 8 so the Kitt method would not crash the cRio. This had no positive effect on our problem, thoough.)

We have connected a Spike relay to the Power Distribution Board, and the LED on it is glowing amber, and never changes. We have a PWM cable running from relay slot #one on the DS (plugged in such that the black line is under the "B".)

We are trying to get the pneumatic pump to turn on. Any help any one can provide would preserve what little hair I have not pulled out yet.
__________________
Firmware is the most expensive thing in the universe. - Jack G. Ganssle
  #2   Spotlight this post!  
Unread 06-02-2010, 15:03
Pjohn1959's Avatar
Pjohn1959 Pjohn1959 is offline
Registered User
AKA: Paul W. Johnson
no team
Team Role: Teacher
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Houston, Texas
Posts: 543
Pjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond reputePjohn1959 has a reputation beyond repute
Re: yet another noob Spike question

You might try getting in touch with Andrew Lynch with 2587. I know they are using Java this year, and have been pretty succesful with it. His CD id is Lynca.
  #3   Spotlight this post!  
Unread 06-02-2010, 15:31
KayyPii's Avatar
KayyPii KayyPii is offline
Registered User
FRC #1404 (SHOCKs)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2007
Location: Toronto
Posts: 45
KayyPii will become famous soon enough
Re: yet another noob Spike question

As the teams programmer, I found that if you use the compressor object in Java, you also need to attach the Nason pressure switch to one of your GPIOs for the compressor object to turn on.
Alternatively, you could just use a relay object in Java to send power to the compressor for testing purposes.
__________________
=>"That hole you drilled is a little off."
=>"Don't panic, just make it bigger and put a washer on it!"

=>Eye ball once, and cut as many times as it takes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
probably a noob question EROCK NI LabVIEW 2 07-01-2009 13:24
total noob question :) Pneumaticsman Programming 15 04-01-2009 17:19
yet another joystick question Stormhammer Rules/Strategy 2 19-01-2004 10:10
Yet another illustrator question ryan_f Computer Graphics 3 02-09-2003 16:10
Yet another time limit question (about exec summary) Caroline Chairman's Award 1 06-02-2002 17:14


All times are GMT -5. The time now is 03:04.

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