Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Suggestions for programming (http://www.chiefdelphi.com/forums/showthread.php?t=140335)

JohnM 12-15-2015 02:49 PM

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

Ari423 12-15-2015 03:56 PM

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.

mshafer1 12-16-2015 08:35 AM

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.

Bpk9p4 12-16-2015 09:53 AM

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

GreyingJay 12-16-2015 03:08 PM

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.

mman1506 12-16-2015 03:09 PM

Quote:

Originally Posted by GreyingJay (Post 1512861)
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.

sraque 12-21-2015 12:24 PM

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."


All times are GMT -5. The time now is 06:07 PM.

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