Go to Post If this isn't filmed in a Tim Hortons then I'm going to be severely disappointed. - marshall [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 11-02-2013, 16:25
y-aji y-aji is offline
Registered User
FRC #3734
 
Join Date: Dec 2011
Location: Lake Forest
Posts: 38
y-aji is an unknown quantity at this point
Talon not responding

I think we have everything set up for the Talons. Can someone confirm that the following is correct?

I have tested the motor as good. The Talon sits blinking orange, never confirming it is receiving signal from PWM.

Code:
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.SimpleRobot;
import edu.wpi.first.wpilibj.Talon;

public class AwesomOSimple extends SimpleRobot {

    Talon frisbeeIndexer;

    public void robotInit() {
        frisbeeIndexer = new Talon(9);
    }

    public void operatorControl() {
        frisbeeIndexer.set(1.0);
    }
}
Is there more needed than that? I feel like you have to enable it. I see there is an option to disable it (frisbeeIndexer.disable()). I've tried 0.9 and a simple 1, but nothing. Any thoughts?

I'm going to check that no one plugged something in backwards tonight, so that's still up in the air, I just wanted to cover the software.
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 08:28.

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