View Single Post
  #1   Spotlight this post!  
Unread 06-30-2016, 11:11 AM
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 97
Coach Seb is an unknown quantity at this point
RobotBuilder and first Java code.... help needed

Good morning,
transitioning to Java from Labview. This is our first attempt in setting a practice bot using Java.

We installed Eclipse, Java and all driver stations stuff. So far so good.

We used Robot Builder plugin and create a simple project with 4 motor drive subsystem and a compressor subsystem.

We have Left Front, Left Rear, Right Front & Right Rear. Using Talon SRX with CAN to drive 4 CIMs on the wheeled drive chassis.

I am successful in downloading the code on the roboRIO, enable test mode and open the smartdashboard to test the device. Each motor display as expected on the Smartdashboard.

Left Front and Right Front work just fine. Each one has the PercenVBus selected and we apply percentage using the slider.... motor is moving fwd/bwd as expected....

Left Rear and Right Rear are not moving... The LEDs on the Talon SRX are changing as they should.

I swapped the motors... Left Front became Left Rear.... nothing is moving... LED are working as expected... i see flashing green when we command to move fwd and flashing red when we command bwd....

Kinda stuck on why it behave this way... any idea would be appreciated...

Thanks in advance.
Reply With Quote