|
Re: Speed Control
You should be able to do what you want; i.e. manually control the motor using the joystick outputs and the motor SetSpeed.vi.
If you are starting from the Basic Robot Main you should be careful not to wire the Drive references from the RobotDrive.lvlib:Open2Motor.vi into the Motor vis. Contrary to its name, the Open2Motor opens a RobotDriveDevRef, which, if wired to a Motor vi like SetSpeed.vi will break the wire. This is because the SetSpeed.vi requires a MotorControlDevRef. You can get the MotorControlDevRef by calling something like Open Jaguar.vi
All of this may be irrelevant, as I am just guessing at what your problem is. Can you show us a picture of your code, or upload the code?
You didn't indicate what prevents you from doing what you're trying to do. Is the VI broken when you try to wire it a certain way?
|