Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Final Programming Questions (http://www.chiefdelphi.com/forums/showthread.php?t=74383)

PWHSrobotics 13-02-2009 20:12

Final Programming Questions
 
As the last few days unroll, got a few more quests for anyone who can answer:

Distance per count - the Labview documentation uses an example of 64 times per rotation of the wheel. How I know this for our situation? is the default 64? Is this the value of 'Minimum Rate' that I set in the Config timer?

We are not using a camera in the competition. Since we are not using it, should I remove the camera init code in Basic Robot Main? Does it offer any benefit (lower startup time) ?

Greg McKaskle 13-02-2009 21:53

Re: Final Programming Questions
 
No need to keep it. I think the only difference will be in download time.

Greg McKaskle

PWHSrobotics 14-02-2009 01:19

Re: Final Programming Questions
 
ok, so you are allowed to remove the camera code? and what about the encoders?

Greg McKaskle 14-02-2009 07:47

Re: Final Programming Questions
 
It is only template code, kind of like other KOP. It is probably wise to start with it, but no need to use it all.

I don't understand the encoder question. There was no default code for doing encoders. There are examples that you could incorporate.

Greg McKaskle

PWHSrobotics 14-02-2009 08:50

Re: Final Programming Questions
 
ok, I just do not know if I should use the defaults put in the example for our robot, or if I am supposed to derive something special

Luke Pike 14-02-2009 10:05

Re: Final Programming Questions
 
You need to find the specs for the encoders. I think the encoders in the kit of parts is 250 ppr. We found that the Andy Mark wheels traveled about 19.5 inches for one turn. Divide that by the ppr and you should have your distance per count.


All times are GMT -5. The time now is 10:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi