Author Topic: Timing issues  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

Offline benjammin105Topic starter

  • Jr. Member
  • **
  • Posts: 37
  • Helpful? 0
Timing issues
« on: March 31, 2010, 09:07:57 PM »
I've reached a point in the robot programming where I want my upper gripper servo to come down and grip an object and the lower gripper arm to scoop the object, then it is supposed to drive away. However, right now it is gripping it twice and while driving. The robot is also moving the gripper while driving. I was wondering how can I tell the robot to only scoop the object once and to not grip when the next command happens. I want one each part to move one at a time and not continue while the robot does something else. any ideas?

Offline richiereynolds

  • Full Member
  • ***
  • Posts: 112
  • Helpful? 3
Re: Timing issues
« Reply #1 on: April 01, 2010, 04:25:18 AM »
drive()
stop()
grip()
scoop()
letGo()
drive()
???

Think we'd need to see some code to help you really. How are you driving? PWM?

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2029 Views
Last post February 15, 2007, 02:27:34 PM
by Admin
9 Replies
2372 Views
Last post March 09, 2008, 09:48:23 AM
by Admin
19 Replies
3299 Views
Last post July 27, 2010, 12:26:50 PM
by macdad-
4 Replies
480 Views
Last post October 21, 2010, 06:32:34 AM
by knossos


Get Your Ad Here