Author Topic: Timing issues  (Read 1741 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?

 


data_list