Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Teleop (http://www.chiefdelphi.com/forums/showthread.php?t=127452)

Team1605 03-03-2014 20:32

Teleop
 
can i control the speed of a motor in both autonomous and teleop mode? btw i am programming in java...

irvingc 03-03-2014 20:34

Re: Teleop
 
Yes, the same code will work in either mode. You should probably be calling the set() method on a Talon/Jaguar/Victor object with a speed parameter that is between -1.0 and 1.0.


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

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