|
Re: Help with Code
I'm not a coder, but I stayed at a Holiday Inn Express last night ....
In Public Class, you create the objects for each motor controller (speedcontroller).
In Robotinit, you tell robotdrive which are your 4 drive motors.
Where do you associate the motorcontroller (victorsp1 for example) with a particular channel address (either PWM port, or CAN port)? Something like what you are doing for xboxcontroller where you associate it with Joystick(0), and then with xbutton and y button.
Last edited by rich2202 : 02-12-2016 at 10:58 AM.
|