Go to Post Someone once told me, "A smart man learns from his own mistakes, but a wise man learns from the smart man's mistakes." . - Pavan Dave [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2017, 19:51
Maxwell777's Avatar
Maxwell777 Maxwell777 is offline
Is allowed to touch stuff now
AKA: Jackson Gray
FRC #0842 (Falcon Robotics)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Phoenix, AZ
Posts: 73
Maxwell777 has a spectacular aura aboutMaxwell777 has a spectacular aura aboutMaxwell777 has a spectacular aura about
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?
__________________
But why?
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2017, 20:28
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 559
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
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.
Reply With Quote
Reply


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 13:15.

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