In no particular order:
I am new to RobotC and am having good luck so far. I am trying to write an autonomous program, but I have hit a block. I have a lift that has 2 motors that are opposite of each other. In the autonomous I must have them move at the same time and not sequentially. How would I have them move at the same time?
Thanks
I have Elementary School kids that are using RobotC Graphical for their programming and the standard Vex Smart Motors on their bot.
They want to program a controller button to make the robot’s lift arm raise to a certain level, and we just can’t seem to find the right commands to make it work. We managed to make the arm move, but can’t get it to stop at a certain point.
I know it has to start with a “Repeat forever” and then an “if” statement that assigns the task to the button pushed. We can…
Is there a way to reset the arm motors to 0 at the beginning of each segment of an autonomous program ? We are using touch sensors to begin each segment. We have tried the resetmotor encoder as a stand alone command but it does not seem to work. We are not sure if the command needs to be in a loop or if there a particular way that this command needs to be coded. Any help would be appreciated.
Thank you
I know this last is your previous post, but I included it (without knowing if you are using the idea of watching the encoder values) to show others who might search for answers and land here.
There are more…
Show code you have so far, if still having trouble.
ps, If you need to edit a post, use the pencil icon. Or the trashcan to delete dual posts.