Go to Post The next hint will be game hint #3. Everyone will go crazy trying to figure out which of the fake hints was hint #2. - Joe Ross [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 07-02-2015, 15:41
The_Waffleing's Avatar
The_Waffleing The_Waffleing is offline
The Horse Shaman
AKA: Mitchel
FRC #0753 (The High Desert Droids)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Bend
Posts: 32
The_Waffleing is an unknown quantity at this point
A little confusion about the LaunhPad

So my team has decided to use the LaunchPad that came with the KOP and I know that it can be programmed using C++ and that it can't be programmed in Labiew. The only form of confusion that I have is this, how would one go about programming this micro controller? Would one go about programming all the functions that one is wanting to do with the micro-controller (i.e having a button that when pressed grabs a tote that is in the robot and lifts it up a specified distance) or can one program the functions needed in labview and port all the information over onto the micro-controller? Any info on this would be much appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2015, 16:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: A little confusion about the LaunhPad

The usual application is to attach it to the Driver Station for custom buttons/dials/knobs/switches, then the robot receives the values in the LabVIEW code and performs whatever actions you imagine.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2015, 16:45
The_Waffleing's Avatar
The_Waffleing The_Waffleing is offline
The Horse Shaman
AKA: Mitchel
FRC #0753 (The High Desert Droids)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Bend
Posts: 32
The_Waffleing is an unknown quantity at this point
Re: A little confusion about the LaunhPad

So you're pretty much saying that both Labview and the LaunchPad need to have the code for the Auxiliary controls and just make sure that the keywords for the code correspond with each other. Or did I read that wrong.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2015, 16:53
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: A little confusion about the LaunhPad

The Launchpad needs to get setup using the FRC Gamepad Tool as described here.

After it has been setup, no coding is required.
It looks like just another joystick to the Driver Station and your LabVIEW code, and becomes just a set of Axis/Buttons.

All the code for what you do when a button is pushed or an axis twisted is entirely in your LabVIEW code.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2015, 17:00
The_Waffleing's Avatar
The_Waffleing The_Waffleing is offline
The Horse Shaman
AKA: Mitchel
FRC #0753 (The High Desert Droids)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Bend
Posts: 32
The_Waffleing is an unknown quantity at this point
Re: A little confusion about the LaunhPad

Thank you that clears up a lot of questions I had in mind.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2015, 00:05
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: A little confusion about the LaunhPad

It just occurred to me that it would be nice to be able to program this board to expand the number of analog inputs to the RoboRIO via the USB port. That way we can get another 8 analog inputs.
Is that something that sounds feasible?
Reply With Quote
  #7   Spotlight this post!  
Unread 09-02-2015, 08:52
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: A little confusion about the LaunhPad

Quote:
Originally Posted by BitTwiddler View Post
It just occurred to me that it would be nice to be able to program this board to expand the number of analog inputs to the RoboRIO via the USB port. That way we can get another 8 analog inputs.
Is that something that sounds feasible?
Check out this thread where they're discussing making various modifications to the Launchpad code to customize for other purposes.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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


All times are GMT -5. The time now is 21:29.

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