View Single Post
  #6   Spotlight this post!  
Unread 14-10-2004, 23:50
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: No Signal From Gyro

We use analog feedback for our arm, and a gyro to control turns
on our robot. The cast on the GetAnalogValue() call is not required,
because the routine is declared somewhere,
but the cast for arguments to printf is, because "char" will otherwise
get pushed on the stack, for efficiency purposes, I presume.

We have the "generate pwms" call commented out in our code, and
use only the "normal" pwm outputs, it being general policy to comment
out anything that might be considered "exotic" and a cause of possible
trouble. I think that the "Keeper of the magic 8 ball" has it right
on this question... Pitch the "generate pwms" and go for the normal
pwm outputs.

Last edited by eugenebrooks : 14-10-2004 at 23:53.