Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   CANTalon reverseOutput() doesn't work (http://www.chiefdelphi.com/forums/showthread.php?t=154687)

Maxwell777 03-02-2017 19:51

CANTalon reverseOutput() doesn't work
 
For some reason the .reverseOutput() function doesn't do anything.

Code:

public class Robot extends IterativeRobot {

        CANTalon tal;

        @Override
        public void robotInit()
        {
                RobotClock.init(true);
                tal = new CANTalon(2);

                //switching this to true doesn't do anything observable
                tal.reverseOutput(false);
        }
       
        @Override
        public void teleopPeriodic() {
                tal.set(.25);
        }
}

Am I missing something?

ozrien 03-02-2017 20:28

Re: CANTalon reverseOutput() doesn't work
 
Please read the Talon SRX Software Reference Manual.

Section 7.3 explains reverseOutput() sets the "reverse closed-loop output" signal. That signal is primarily used for slave following.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi