Log in

View Full Version : What language do you use?


Hitchhiker 42
08-03-2016, 22:14
What programming language do you use to program your robot? I'm interested to see the distribution of people.::safety::

cjl2625
08-03-2016, 22:16
Our team uses LabVIEW... but I'm quite hesitant to say "LabVIEW is the best"
My heart yearns for text!

virtuald
08-03-2016, 22:25
You forgot Python. Obviously the best. :)

JohnFogarty
08-03-2016, 22:34
Our team uses LabView, and I'm growing to like it. I just enjoy text programming better.

We do use some Java and Python too for our vision processing system.

team-4480
08-03-2016, 22:39
You forgot Python. Obviously the best. :)

+1000

I really enjoy using Python. Dead simple to use. I tried Java and it just didn't click with me.

Plus, it is just cool to do something different from the normal languages.

Jaci
08-03-2016, 22:40
Since the options are kinda limited.

Java / Kotlin / C / C++ (https://github.com/FRC5333/2016-Stronghold)

Jared Russell
08-03-2016, 22:43
This season our robot code repositories contain Java, C++, C, JavaScript, and Bash.

dubiousSwain
08-03-2016, 22:47
My team uses labview, but every now and then I get a chance to use an actual language when I code for the co-processor.

TimTheGreat
08-03-2016, 22:58
Python. Simple, comes with built-in sim + tests, and StatefulAutonomous is a god.

Alan Anderson
09-03-2016, 00:03
LabVIEW.

I was worried about how well it would work when NI started supplying the control system, but I've come to like it a whole lot for the kind of stuff we do. It's extremely well supported, with great examples, and it's really easy to have a group of students looking at the code.

blarson001
09-03-2016, 00:16
Perl all the way.

vScourge
09-03-2016, 07:08
Python

dmelcer9
09-03-2016, 07:52
Fortran 77, though when we need it to run fast, ASM does the job well.

virtuald
09-03-2016, 09:41
Fortran 77, though when we need it to run fast, ASM does the job well.

Are you using our fortran package (http://www.tortall.net/~robotpy/feeds/2016/), or did you compile it yourself? :D

The0range
09-03-2016, 09:57
Our team uses C++ for our vision system and Java for control

acastagna
09-03-2016, 18:26
Java :]

techhelpbb
09-03-2016, 18:50
COBOL:

http://www.automationworld.com/manufacturer-uses-opc-integrate-legacy-control-b-controllogix-robotic-controller

Oh you mean an FRC robot...:D

Chase Haddleton
09-03-2016, 19:24
Our team uses Java for everything robot related, and we're currently using PHP for the creation of our scouting site/API.

414cnewq
09-03-2016, 20:11
I converted my team from Java to C++.

KJaget
10-03-2016, 12:58
What programming language do you use to program your robot?

At this part of build season, mostly foul language.

We use LabView for the robot and C++ w/OpenCV, Caffe, Eigen3 and some other libraries for vision processing. We have python, perl and bash scripts as part of the build process. Also some Excel / VB code for physics modeling, which is a real treat let me tell you.

Jalerre
10-03-2016, 18:44
Our team found traditional languages to much to slow for our purposes so we just write directly in machine code.

rponmalai
10-03-2016, 19:34
Our team exclusively uses Malboge (https://en.wikipedia.org/wiki/Malbolge) :P

AlexanderTheOK
10-03-2016, 19:44
Our team exclusively uses Malboge (https://en.wikipedia.org/wiki/Malbolge) :P

I've personally found Brain***k (https://en.wikipedia.org/wiki/Brain$@#$@#$@#$@#) to be much more minimalist, allowing for faster loops for PID control.

I'll also have to give an honorary mention to Befunge (https://en.wikipedia.org/wiki/Befunge) Quite possibly the best language for autonomous navigation programming, and indespensable for swerve drives.

techhelpbb
10-03-2016, 19:45
WS:

GreyingJay
11-03-2016, 09:41
At this part of build season, mostly foul language.


On Wednesday we held a session for our autonomous subteam to work on their code. The following exchange took place:

Student (so frustrated that I was fearing for the safety of nearby untethered objects): "I just don't get why..... *pause* RAAAAAAAAAAAAAARRRRRGGGGGGGGGGHHHH!!!!!!!!!!!!!!!!"

Me, to other mentor: ".... that sounds like learning."

(We use Java.)