View Single Post
  #3   Spotlight this post!  
Unread 16-09-2013, 17:12
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Coasting Problems

The following assume you are using the RobotDrive VIs in LabVIEW and the robotDrive object in Java.

LabVIEW, by default, squares the inputs joystick inputs. This makes a small input value even smaller and might account for what you are seeing. The Java library also squares the joystick inputs by default, but makes it easier to change to not squaring. Which are you using?

In the Java library, robot drive objects declare jaguars unless speed controller objects are passed to it. If you are using a different type of speed controller (eg Victor or Talon), you may see weird behavior like neutral offsets. In LabVIEW, it's more obvious how to change to the appropriate speed controller type.
Reply With Quote