Go to Post Ahem......"where are the President's safety glasses???" - Travis Hoffman [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 15-12-2015, 14:49
JohnM's Avatar
JohnM JohnM is online now
Registered User
FRC #5854 (Glitch)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: North Carolina
Posts: 53
JohnM has a spectacular aura aboutJohnM has a spectacular aura about
Suggestions for programming

Does anybody have any suggestions for some code my team can build before the kickoff in LabView? This way we can save some time during the build season by just using the pre-built code.

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 15-12-2015, 15:56
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 521
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Suggestions for programming

Some things to try:
  • Current limiting traction drive
  • H-drive code
  • Mecanum code
  • Pneumatics
  • PID controlled arm/elevator
  • Some kind of state machine
  • Encoders
  • Ultrasonic/laser distance sensors
  • Gyro-stabilized driving

Just a few ideas.
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #3   Spotlight this post!  
Unread 16-12-2015, 08:35
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 53
mshafer1 is an unknown quantity at this point
Re: Suggestions for programming

Agreeing with Ari423 plus a one other idea.
You could experiment with using the gyro and a PID for making turns and driving straight, then use this to build an architecture for autonomous. This is often the piece of code that my programming department has to spend the most time with due to the need for accuracy despite the absence of a human driver.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-12-2015, 09:53
Bpk9p4's Avatar
Bpk9p4 Bpk9p4 is offline
Registered User
FRC #1756
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Illinios
Posts: 271
Bpk9p4 is on a distinguished road
Re: Suggestions for programming

My team has been going through and making a general utility pallet that we will have on everyone computer. Here are some of the blocks we have made

- Rate Limit
- Debounce
- Parsing xbox controller
- State Machine
- Filter
- Drive code
- Cascading switches


Also during the pre season we have challenges with are min robots where the programmers have to program the robot to play some game. While doing this we not only sharpend the kids labview and problem solving skills but also generated lots of those general VI's
__________________
2015 Midwest Regional Finalist
2015 Central Illinois Regional Winner
2015 Newton Division Finalist
2015 Newton Quality Award
Reply With Quote
  #5   Spotlight this post!  
Unread 16-12-2015, 15:08
GreyingJay GreyingJay is offline
Robonut
AKA: Mr. Lam
FRC #2706 (Merge Robotics)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ottawa, Canada
Posts: 738
GreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond repute
Re: Suggestions for programming

The RoboRio has a built in gyro. I have no idea what it's capable of.

Could be fun to find out.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-12-2015, 15:09
mman1506's Avatar
mman1506 mman1506 is offline
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 759
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Quote:
Originally Posted by GreyingJay View Post
The RoboRio has a built in gyro. I have no idea what it's capable of.

Could be fun to find out.
It's actually an accelerometer unfortunately.
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor
Reply With Quote
  #7   Spotlight this post!  
Unread 21-12-2015, 12:24
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: Suggestions for programming

JohnM, just be aware that any code you build during the off-season (or before) cannot be used in the following competition season unless you post the code in a public place before kickoff for everyone to use.

Rule R13 from last year "Software and mechanical/electrical designs created before Kickoff are only permitted if the source files (complete information sufficient to produce the design) are available publicly prior to Kickoff."
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:49.

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