Go to Post I'd say it is somewhat addicting. But I think that is a good thing. It proves that knowledge can be addicting. How cool is that? Now, if we could just get everyone addicted to knowledge, just think of what we can accomplish.:D - Molten [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-02-2011, 18:00
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
cannot get fifth jaguar working

This is probably answered somewhere on the forum, but I couldn't find it.

We are using the DefaultRobot code, using four Jaguars to control four drive motors (using SpeedController). We are trying to add a fifth Jaguar to control a motor for our game piece manipulator.

In the DefaultRobot class we declare the fifth Jaguar as such -

Jaguar m_fifthMotor;

In teleopInit, we create the object with -

m_fifthMotor = new Jaguar(5);

Whenever this last line is not in, the four Jaguars for the drive system work fine. Whenever this last is compiled in, the four Jaguars blink while enabled, and thus do not work.

We don't see any errors on the debug output, and the cRio does not appear to be crashing.

What are we doing wrong?
__________________
Firmware is the most expensive thing in the universe. - Jack G. Ganssle
Reply With Quote
 


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 11:36.

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