View Full Version : 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
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
16-12-2015, 08:35
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.
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
16-12-2015, 15:08
The RoboRio has a built in gyro. I have no idea what it's capable of.
Could be fun to find out.
mman1506
16-12-2015, 15:09
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.
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."
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.