Omar,
do i add these lines in my robot.java class? or to my robotmap.java class?
I am a little confused and very new to java...
I was trying to use Robotbuilder but gave up because the talon SRX are not available... since it feels that it has not been updated since 2013, i am assuming that some new sensors, actuators are missing and feel that i should just code from scratch and learn the hard way... (that's my french sticking....)
I am now trying to follow the WPILIB docs and this
video
Wish i could find a resource that explain what the class are for.... These are my assumption... please correct if i am off....
robot.java --> main program, this is what call all other class/methods
robotmap.java --> where i define ports on Roborio, sensors, controller...
OI --> define my joystick and human interface...
I then create subsystem class in which i call the robotmap.java to get the hardware settings ....