Hi everyone! I’m new to both VEX and ROBOTC and I’ve got no idea if I’d posted this thread in the correct channel…
Anyway, let me talk about my problem. I’m now trying to build a robot that can grab small objects, like a cup of water, for me from tables or benches. Right now, I’ve done most of the physical construction of it but facing a coding problem: I want to have both the arm on the robot and the tank treads at the base to be controlled using analog signal.
We all know that there are only two joysticks on the joystick controller and, by default, if I want to use them for one, I have to use the buttons to control the other.
My idea is I can control the treads when I’m using joysticks and when I manipulate joysticks while I’m holding an extra button the signal corresponds to the arm, but the problem is I’m not sure if it is practical and have no idea how to do this. Is there any other easier method to achieve my goal?
BTW, there’re 2 motors on either side of the base ( 4 in total) . As for the arm, there are two movable parts, one motor for each and a claw is mounted at the front of the arm.
Here are some pictures of my robot.