I’m doing pretty well by myself with getting the basis of programming down. I just have some questions.
Is a gyro required for camera tracking? We are using encoders for the robot will that do it the camera tracking as well?
I modified the default programming to work with 2 joysticks, but when I use that code… the joysticks are really touchy. What I mean is sometimes it makes the robot move sometimes it don’t. It’s really sporadic and random. Any ideas on how to solve this?
You can try to replace the gyro’s function with something else. Find the spot in the code where it gets the gyro heading, and change it to something that reads the encoders and computes a heading based on the difference between left and right encoder values.
I modified the default programming to work with 2 joysticks, but when I use that code… the joysticks are really touchy. What I mean is sometimes it makes the robot move sometimes it don’t. It’s really sporadic and random. Any ideas on how to solve this?
Without seeing your code, I don’t have any helpful ideas, only questions. Is there perhaps something else that is trying to control the robot motion? Are you getting watchdog timeouts that disable the robot briefly?
Thanks for the reply! I have fixed the issue with the joysticks… but now the Camera seems to freeze whenever we are testing teleop and move the joysticks… I’m not sure what the problem could be…