FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Proportional Drive

In my club, 4051, my mentor is pushing us to try and design a proportional drive system. Basically, the proportional drive makes it so that the motors build up to full power and build down to zero or a negative number. However, what we've designed hasn't been working. If anyone has any suggestions for us, or has a working code, we would love the help!

0 Kudos
Message 1 of 3
(5,139 Views)

Be sure to take a look at the [FRC 2014] PID Tutorial found with other Training Material and Resources here.

 

As far as working code, a good one place to start is with a working example.  I would recommend going to the NI Example Finder (in LabVIEW go to Help>>>Find Examples...), search for PID and take a look at "General Auto PID Simulator.vi".  This and others should lead you in the right direction.

 

Note also that in LabVIEW FRC, only a subset of the PID VI's from the PID and Fuzzy Logic Tookit are available.

Ryan C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,917 Views)

here are a few videos that I found helpful.

The hardware they are using is different but hopefully the concepts will help you get started.

 

http://www.youtube.com/watch?v=qMydcfZ_ZSs

http://www.ni.com/webcast/1680/en/ 

 

Mark

0 Kudos
Message 3 of 3
(2,917 Views)