View Single Post
  #4   Spotlight this post!  
Unread 15-12-2002, 16:12
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
What exactly do you mean by "doesn't work"?

RoboEmu seems to process it just fine. If you want to try it out, you will need to add eight 127s to the end of the serout to make it the same length as the full RC serout and you will need to add a colon after exit_drive_r_test on line 405 to make RoboEmu recognize it as a label.

Just click the checkbox for sw5 and then play with port 1 to see the changes.

If you want some more help, try the following tests on your robot and let me know what happens. I'm guessing that one of the motors just needs to be reversed or you need to swap which PWM drives each motor. Here's my list of tests:

What happens when you push the joystick straight forwards? straight back?
When you move it all the way to the left? to the right?
In the upper-left corner? Lower-right?

--Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php