View Single Post
  #9   Spotlight this post!  
Unread 21-01-2005, 14:12
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: Using REAL ENGLISH in autonomous mode???

Quote:
Originally Posted by RIgnazio
Thank you both for your help. What I did not understand is where these commands were being called from. I have one last question: With gyro.c/h and commands.c/h, how does it know which PWMs your motors are on? Yes, your robot could get bumped, but if your drive motors are on PWM3 and PWM4 and it is trying to control PWM1 and PWM2, how would it know?
On your OI board, you have the pins indicating which pwm you are plugging your motors into. In the program you specify the pwms you are sending the signal to.
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson