Go to Post While grandmothers are pretty cool, I would be hesitant in letting them determine what is and is not a robot. - Kellen Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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
  #4   Spotlight this post!  
Unread 13-01-2012, 13:35
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Jags not taking data

Well, in cases like this the problem is usually a silly one. In this case I want you to try a few things:
1. Make sure you enable TeleOp in the Driver Station... I can't tell you how many times this was my problem
2. Create a DIO Out and make it toggle every half second while in TeleOp (regardless of motor output). Put a small LED or something in it if you can, or just check it with a multimeter. This will be a guarantee that the code is running and the sidecar is working.
3. Try different PWM ports, Just to make sure. Also, see a wiring diagram to make sure it's wired correctly. (I can't find one to link to atm)
4. Look for a FRC example for controlling a Jaguar and see if that works.

If the Jaguars are receiving signals, they will flash red or green (according to the direction). If they flash and the motors still don't move, the problem lies in the motor or the connection between the Jaguar and the motor, or the motor is faulty.

By the way: if you will notice, there's a global variable "LED toggle rate (ms)" which is used to flash the User LED in Periodic Tasks. Make sure to remove that if you plan on using the User LED.


Also post here any errors you see in the Diagnostics tab.
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 20:55.

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