Go to Post ...UFH nominations are like jello, there is always room for one more. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 10-11-2009, 11:11
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: [FTC]: Can anyone lend assistance?

Quote:
Originally Posted by HAL3019 View Post
Hey everyone, this is HAL's second year in FTC, but we aren't starting out so hot..
Our first problem is with LabView... people keep telling myself, and our team programmer that LabView is a bad choice, and that RobotC would be better. This point is well known- but the serious question is in if there is a teleoperated template out yet, as the template given with the software was 5x too big for the NXT memory.
Why exactly is LabVIEW a bad choice? Is there something you are attempting to do with LabVIEW you are having trouble with? Have you been unable to find resources and training material on LabVIEW? Have you posted any of your questions to the FTC forums on ni.com?

The templates that ship with the software and are also available on FIRST's website are definitely not too large for the NXT memory. If you running out of space on your NXT you either have too many unnecessary files on the brick or you need to defrag the NXT. Defragging can be done in the NXT Terminal (Tools»NXT Tools»NXT Terminal). If you need to clear up additional space you should remove files such as NXTShell.rxe and Program Chooser (after you have set your teleop program).

You can also save space by preventing the FTC Controller Station from automatically downloading Program Chooser.rxe and FTCTeleopBasic.rxe by renaming or removing these two files from the directory that contains FTC Controller Station.exe.

I am sure by this point I am probably sounds a little defensive, but as a NI Developer who worked on the FTC software I can promise you NI is very committed to making LabVIEW a good choice. We have a lot of resources on our site (linked above) as well as support forums that are monitored by members of our K-12 Software R&D team.

Cheers!
Mark
LabVIEW R&D
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-11-2009, 15:55
HAL3019's Avatar
HAL3019 HAL3019 is offline
Registered User
AKA: Mike LiBretto
FTC #3019 (HAL)
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Massapequa, NY
Posts: 11
HAL3019 is an unknown quantity at this point
Send a message via AIM to HAL3019
Re: [FTC]: Can anyone lend assistance?

Okay, Thank you all for replying.
@BLAQmx: I do not see a problem with LabView, and a recurring error we get is that the size of the teleop file is ~500kb, and the NXT Terminal in LV shows me ~180kb. How can I deal with this?

@Chris: I have looked at those designs (for FRC '06) and am wondering how I could implement a design similar to the fly wheel, where in the pipe there are two wheels off the same motor, and they touch the ball on two tangents. They will build pressure against the other wall of the pipe, and eject them accordingly. Any ideas?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-11-2009, 16:10
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: [FTC]: Can anyone lend assistance?

The VI templates are actually going to be much larger than the compiled code. Looking at the files on my machine FTCTeleopBasic.vi is 602kB and the compiled FTCTeleop.rxe is only 19kB.

twitter syntax
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-11-2009, 17:55
Chris is me's Avatar
Chris is me Chris is me is online now
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,736
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: [FTC]: Can anyone lend assistance?

Quote:
Originally Posted by HAL3019 View Post
@Chris: I have looked at those designs (for FRC '06) and am wondering how I could implement a design similar to the fly wheel, where in the pipe there are two wheels off the same motor, and they touch the ball on two tangents. They will build pressure against the other wall of the pipe, and eject them accordingly. Any ideas?
I'm not the best person to ask, but you could mount both wheels to two parallel c-channel bars (or two custom machined bars) and then add material to the wheel (surgical tubing etc) until there's enough contact between the ball and both wheels. Or you can put two wheels on the same axle spaced appropriately, then two more on a lower axle to sandwich the ball. This is jsut for the shooter, feeding such a design is another challenge
__________________
Mentor / Drive Coach: 228 (2016-?)
--2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
.
College Mentor: 2791 (2010-2015)
-- 2015 TVR Motorola Quality, FLR GM Industrial Design -- 2014 FLR Motorola Quality / SFs (with 341, 4930)
-- 2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
-- 2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 MN 10K Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #5   Spotlight this post!  
Unread 11-11-2009, 12:54
HAL3019's Avatar
HAL3019 HAL3019 is offline
Registered User
AKA: Mike LiBretto
FTC #3019 (HAL)
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Massapequa, NY
Posts: 11
HAL3019 is an unknown quantity at this point
Send a message via AIM to HAL3019
Re: [FTC]: Can anyone lend assistance?

@BLAQ: Yes... I am a twitterbug XD (guess its sticking... hope this doesnt affect my VB code)... and how would I go about compiling my code- because I became accustomed to last year's build and am having a bit of difficulty converting.

@Chris: I have a couple designs for the pickup and storage... but am having issues with the mounting of the NXT and battery. would you know of any method to go about mounting these, because we current have our battery in a clip between our two back motors (this makes me nervous, our team has poor luck with the tabs on the motors).
Reply With Quote
  #6   Spotlight this post!  
Unread 11-11-2009, 13:30
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: [FTC]: Can anyone lend assistance?

You can build your VI into an RXE file in one of three ways, but all require the VI to be targeted to the NXT. This is done by navigating to File»Target to NXT. Please be sure to have your NXT turned on and connected to the computer when doing this. If you are using a USB connection LabVIEW should automatically find the NXT. If you are connected via Bluetooth and have not established the Bluetooth connection in LabVIEW yet you will be prompted to establish connection (just follow the on screen instructions).

Once you are connected to your NXT (you should see your NXT's name in the bottom left-hand corner of the block diagram and front panel windows) you can either press the Run, Deploy, or Debug button. All of these will compile you code and automatically download the RXE file to the brick. The functional difference between these 3 buttons is as follows.

Run: Compiles, downloads, and immediately begins running the program.
Deploy: Compiles and downloads the program.
Debug: Compiles, downloads, and immediately begins running the program. The front panel window for the VI goes into a run state and Front Panel controls and indicators can be used to interact with the program running on the brick.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-11-2009, 13:38
HAL3019's Avatar
HAL3019 HAL3019 is offline
Registered User
AKA: Mike LiBretto
FTC #3019 (HAL)
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Massapequa, NY
Posts: 11
HAL3019 is an unknown quantity at this point
Send a message via AIM to HAL3019
Re: [FTC]: Can anyone lend assistance?

Quote:
Originally Posted by BLAQmx View Post
Once you are connected to your NXT (you should see your NXT's name in the bottom left-hand corner of the block diagram and front panel windows) you can either press the Run, Deploy, or Debug button. All of these will compile you code and automatically download the RXE file to the brick. The functional difference between these 3 buttons is as follows.

Run: Compiles, downloads, and immediately begins running the program.
Deploy: Compiles and downloads the program.
Debug: Compiles, downloads, and immediately begins running the program. The front panel window for the VI goes into a run state and Front Panel controls and indicators can be used to interact with the program running on the brick.
Okay thank you (finally found the quotes!) now could you... recommend (?) any programming methods for this year? (ie. conditions, loops, nxt usage)
And the template installed w/ LV is the template that we should be using, right?
Reply With Quote
  #8   Spotlight this post!  
Unread 11-11-2009, 14:12
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: [FTC]: Can anyone lend assistance?

I recommend using the templates. The most essential part of the teleop templates is the communication loop. If you decide against using the templates please use the same communication loop in your code. Great care was taken to optimize this loop to give the greatest possible remote control over the robot.

I recommend beginning your development with your VIs targeted to the computer. This will allow you to utilize the full suite of LabVIEW debugging tools (Highlight execution, single stepping etc). Once you have your code working you should then target the VI to the NXT deploy the code to the brick.

When developing code with the VI targeted to your computer try to stick to the NXT programming palette when adding structures, functions, etc. This will prevent you from writing code with an unsupported function that will throw a 1003 error at compile time.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
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
[FTC]: Anyone new to FTC or TETRIX, READ THIS NOW! PhilBot FIRST Tech Challenge 21 04-12-2009 17:34
[FTC]: Field CAD drawings anyone. PhilBot FIRST Tech Challenge 1 13-09-2009 15:08
[FTC]: [FTC]: Can any one explain to me just how powerful the servos are? sullivan_owns FIRST Tech Challenge 19 02-12-2008 16:06
[FTC]: Anyone else having leakage in their FTC batteries? PhilBot FIRST Tech Challenge 6 27-11-2008 14:12
can anyone please tell mw where or with what can i lear programing in C techsage Programming 7 23-08-2005 00:25


All times are GMT -5. The time now is 12:58.

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