Log in

View Full Version : User Input


railerobotics
28-08-2006, 21:25
Is there a program that is similar to copycat except that it will record what the robot is doing so you can use it later instead of having to redo autonomous everytime you change the code? Thanks.

AdamHeard
28-08-2006, 22:05
Is there a program that is similar to copycat except that it will record what the robot is doing so you can use it later instead of having to redo autonomous everytime you change the code? Thanks.

Well. I'm no good at explaining things but we wrote some software this year to do that.

If you hit a switch, it would store the pwm values for the left and right drive in two arrarys. We would then use these values as the drive code in our autonomous.

What exactly are you trying to do though, as a record function may not be the best way to solve your problem.

railerobotics
28-08-2006, 23:02
My mentor wants to find an easier way to write an autonomous. Programmers are one thing our team always seems to lack. Expertise in programming anyway.

Donut
29-08-2006, 00:04
Some teams record all the commands sent to the motors on the robot during a human driven sequence, then save this data to the EEPROM memory in the processor and "play it back" as an autonomous mode.

Unfortunately our team is not one of them so I don't know how to do it. Since you asked nicely though I'm sure there's some team on here that has the program/steps to do this.

sanddrag
29-08-2006, 00:54
If you're going to go through the trouble to do that, you might as well also include some sensors like pots and encoders so you have repeatability that isn't dependent on voltage, binding in the drivetrain, etc.