Go to Post So perhaps those that are so eager to complain might realize that if they spent a little less time complaining and a little more time analyzing the problem and developing solutions, then they might have a little less to complain about. - dlavery [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 12-02-2013, 19:01
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Panic Mode Programming Guide

I know this is coming a little bit late in the season, but I wrote a document explaining in fairly simple terms how to code a robot using LabVIEW. Hopefully it can help any teams who are scrambling now to get code working on their robot.

https://docs.google.com/document/d/1...it?usp=sharing

I'll be updating this periodically when I'm not actively testing our own robot's code. Let me know if you think the guide is missing something important and I'll be sure to add it.

Last edited by bvisness : 12-02-2013 at 19:07.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2013, 19:07
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Panic Mode Programming Guide

Hey this looks pretty fantastic. Let me know if you need any help editing/adding content.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2013, 20:13
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,752
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: Panic Mode Programming Guide

I like it. Two thumbs up.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2013, 20:56
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Panic Mode Programming Guide

By the way, please let me know if you see any inaccurate information in my guide! I want to make sure that the guide will be as useful for teams as possible.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2013, 10:31
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Panic Mode Programming Guide

Very nice job. If you'd like me to help expand it further, shoot me a PM, I'd be happy to.

I don't know if Google Docs supports it, but it would be pretty awesome if some of the little code screenshots were VI Snippets and draggable into LV.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2013, 11:15
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Panic Mode Programming Guide


Very clearly written and easy to follow.

I do have one suggestion. Can you find a way to put something in there explaining -- in terms the novice can understand -- why it doesn't work to put delays in TeleOp? This is a problem every year for new programmers.

Perhaps you could explain both the state machine approach and the concept of concurrent processing (Periodic Tasks).


Reply With Quote
  #7   Spotlight this post!  
Unread 14-02-2013, 12:20
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,579
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: Panic Mode Programming Guide

I like it. It's like 358's LabVIEW Common Operations, but with more explanation.

One note on the compressor, you also need to enable the compressor loop in periodic tasks.
Reply With Quote
  #8   Spotlight this post!  
Unread 14-02-2013, 21:24
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Panic Mode Programming Guide

Thanks for the feedback! I just tested VI snippets, and unfortunately they don't work in Google Docs...oh well, it'll be good practice for new programmers to actually find the VI's they need.

I'll clarify the compressor issue (I forgot about that part!) and I'll try to explain the Teleop delay issue.
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 22:59.

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