View Single Post
  #4   Spotlight this post!  
Unread 16-01-2005, 14:25
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Steering wheel problems

Quote:
Originally Posted by Raven_Writer
Well, since RoboEmu2 just came out not to long ago, there are still some bugs that are not fixed (I'm not sure how long Rob was working on it [testing, debugging, etc...] before releasing it). What does it show when you put the joystick in full forward in both RoboEmu & the Dashboard?
I wondered about bugs in RoboEmu2, but I discarded the idea, since the code seems like it should work. When I move the joystick full forward in RoboEmu2, I get 254 on both PWMs, which makes sense. When I move the joystick full forward on the RC, pwm15 goes to 254. If I twist the wheel back and forth, and let it recenter, maybe only pwm16 will go to 254. It's very sporatic.
Quote:
Originally Posted by Alan Anderson
How often are you calling the Generate_Pwms() function?

PWMs 13-16 are special. They get generated directly from the RC's "user" processor, so they can be updated more quickly than the communication with the "master" processor occurs. If you never call Generate_Pwms(), they don't update. But if they get updated too quickly, they get squirrely.
I'm pretty sure that I have Generate_Pwms() at the bottom of the 26.2ms routine, but I'll check for sure on Tuesday. That is where I'm supposed to call it, no?
Quote:
Originally Posted by Mark McLeod
I suspect variable overflow.
LEFT and RIGHT are pretty restricted.
How do you mean?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_