Go to Post We don't require innovation; we simply encourage it. - Tristan Lall [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2009, 20:12
PWHSrobotics PWHSrobotics is offline
Registered User
no team
 
Join Date: Jan 2006
Location: Missouri
Posts: 31
PWHSrobotics is an unknown quantity at this point
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) ?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2009, 21:53
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Final Programming Questions

No need to keep it. I think the only difference will be in download time.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2009, 01:19
PWHSrobotics PWHSrobotics is offline
Registered User
no team
 
Join Date: Jan 2006
Location: Missouri
Posts: 31
PWHSrobotics is an unknown quantity at this point
Re: Final Programming Questions

ok, so you are allowed to remove the camera code? and what about the encoders?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2009, 07:47
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2009, 08:50
PWHSrobotics PWHSrobotics is offline
Registered User
no team
 
Join Date: Jan 2006
Location: Missouri
Posts: 31
PWHSrobotics is an unknown quantity at this point
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
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2009, 10:05
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
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.
__________________
Twitter Profile
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay Programming Questions... comwiz7 Programming 11 21-02-2006 13:04
Programming Questions magical hands Programming 14 26-01-2006 17:26
Final Render Questions BadKarma 3D Animation and Competition 7 20-02-2005 01:40
2 questions (programming) Brawler006 Programming 20 22-02-2004 23:15
3 Questions!!! Final Standings! Andy Grady General Forum 1 22-02-2004 22:32


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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