Thread: PBasic Help
View Single Post
  #2   Spotlight this post!  
Unread 14-01-2003, 17:10
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
Is this for something like the variable-extension cylinder somebody asked about in the pneumatics forum? Or is it something else?

Anyways, from what I can understand, you want to press a button and then have two events occur with some time between them, right? If so, take a look at CogCode2k2, available at my website, http://www.robbayer.com/software.html. Last year, we had a system where you pushed a button on the joystick, the robot stopped for a second, the gear shifted for a second, and then the robot started moving again. With some minor modifications you can probably make it work for your application as it is the same basic concept. If you need help with the mods, email/PM me.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php