Hello fellow programmers!
I am currently working on finding a solution to a probable bug which in being a programmer for the last 2 years never occurred. The base joystick to motor control has a bug in it.
4wd
Code:
motor[motorD]=joystick.joy1_y1;
motor[motorE]=joystick.joy1_y2;
motor[motorF]=joystick.joy1_y2;
motor[motorG]=joystick.joy1_y1;
It preforms the funtion, but one wheel always continues to spin even when the joystick may only be giving a output of 1 or 2. How do you implement dead bands on your analog sticks to control the motor power output.