View Single Post
  #2   Spotlight this post!  
Unread 21-12-2009, 10:45
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Breaking DC Gearboxes Fix

Since you're talking "power Switches" I assume you are talking about the DC motors, and not the LEGO motors.

So, I am surprized that Robot C is using 16 Bit ints for the encoder values.
Are you sure about that..?

The encoders report 1440 pulses per revolution, so it only takes 22 revolutions to overflow an int16.

The Hitechnic motor controllers actually report 32 Bit ints, so it doesn't seem logical to throw away 16 of those bits. (eg: LabVIEW uses all 32 bits)

However, I guess the real question is whether it's possible to put the motors into "coast" to let them slow down normally. The Hitechnic manual says that it is possible. Does Robot C need a flag for that?
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote