Go to Post Robotics. Seems to be the answer to a lot of things I don't do. - Keith Chester [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 15-11-2016, 18:56
AJWasserman AJWasserman is offline
Registered User
FRC #0706
 
Join Date: Feb 2016
Location: United States
Posts: 4
AJWasserman is an unknown quantity at this point
Victor with Java on roboRIO

Hey everyone,

Our team is revamping our T-Shirt tank with a roboRIO and some fresh code but we are having some problems running the Victors. We wrote the program exactly as we had for our 2016 bot in Java with the only difference being that the 2016 bot used TalonSRX's.

For declaring the motors we tried using the general SpeedController class, the Victor class, and tried using a RobotDrive class as well. We still haven't been able to get any of them to run. We just used a basic motorName.set(1) for the object but when the command containing it is running we still saw no movement or change in the signal LED on the Victor. Is there something different we need to do for the Victors since they are PWM instead of the TalonSRX's CAN bus?

When we replaced the Victors with TalonSRX's on the tank and updated the code accordingly the motors drove fine but we would still like to use Victors for it.

Any help would be greatly appreciated and feel free to let me know if you need any more information.

Thanks!
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 09:42.

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