![]() |
Victors not working with other code?
Ok, so we've got a lot of stuff working. However, we also have a problem. We're using java, and we have the robot drive defined and working fine. However, when we try to introduce code that simply controls the victor to activate the motor, not only do they not work, but the robot drive no longer works. Here's our declaration:
Code:
m_robotDrive = new RobotDrive(1, 3, 2, 4);Code:
if (jStickDriveLeft.getRawButton(1) && !prxCtrWheelUp.get()) |
Re: Victors not working with other code?
prxCtrWheelUp has no effect in this code fragment. Do you really want vctrCtrWheelLift to run full speed forward only when the left joystick trigger is pressed and prxCtrWheelDown is false, and to stop otherwise?
|
Re: Victors not working with other code?
Yea, we do. But we got it to work and it's fine. Thanks anyway!
|
| All times are GMT -5. The time now is 01:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi