View Single Post
  #10   Spotlight this post!  
Unread 08-10-2008, 12:32
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,566
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: Team 39, 2008 LabVIEW Beta Code

Quote:
Originally Posted by Kevin Sevcik View Post
1. I assume the pink wires in and out of the various modules (DigMd, AnlgMd) are carrying module configuration info. Are the shift registers you have on these module configuration lines actually necessary? Could they instead just be simple tunnels, as with the Joystick in your main loop?
That is one point on which several beta teams are confused. It really depends on whether the references carry state information (best I can tell, some do and some don't). There have been a lot of ideas thrown around on how to improve things, both through examples and added documentation.

Quote:
Originally Posted by Kevin Sevcik View Post
2. Is 25 Hz just a random loop timing decision on your part, or is it the recommended max loop rate?
It is the rate at which the driver station sends data. That should be raised soon. I have not seen any recommendations as to a maximum.

Quote:
Originally Posted by Kevin Sevcik View Post
3. The Victor/PWM modules seem to have some sort of deadband and transform setup. Does that configuration happen in a separate module?
There are 4 PWM type VI Libraries, a raw PWM, a Victor, a Jaguar, and a servo. The Victor, Jaguar, and Servo have different types of deadband and scaling control. You can use the raw PWM, if you want to implement your own methods for scaling and or deadband elimination.

For example, The deadband control for Victor is a boolean value, whether to scale the inputs to eliminate the victor deadzone and center on 127 (rather then 132) or not.

Last edited by Joe Ross : 08-10-2008 at 13:49. Reason: fixed update rate
Reply With Quote