Quote:
Originally Posted by qpang
I assume when the joystick is pushed to the limit, the output to PWM port should be 255(or 0) using OI_to_PWM() function. Is that true?
|
Not necessarily. Most joysticks don't quite reach the entire range of possible values. You can compensate for this in teleoperated mode by calibrating the Victor speed controller to match what your joystick provides.
(Note that the maximum PWM value in the IFI control system is
254, not 255.)
Quote:
|
Is there a way to read the output to the PWM while running the OI_to_PWM() function using EasyCPro? I mean without any hardware equipment?
|
If you already have a laptop computer with a serial connection, you can use a dashboard reader program to see exactly what pwm outputs are being commanded, and exactly what joystick values are being read.