I thought PROS was just the program that runs C/C++, not an actual new programming language?
Hey man, kinda random question here but what do you think of MATLABs? Sorry again for all of the questions.
you are correct, PROS and Vexcode both run C++. What @The_To probably meant was that PROS as a library (see my other posts lol) is more advanced, which is also still debatable.
I have used multiple different studios (all C++ based) for robotics:
-VCS (dont)
-VCS+NotVCS (dont)
-VexCode (pretty good)
-PROS+Atom (pretty good, but not as good as Vexcode, simply due to bugs with cquery)
-PROS+VSCode (best Iāve used so far)
PROS+VSCode I find works really well, with the language server working fine, though you do have to use the CLI for this. Okapilib alone makes learning to use PROS worth it.
I havenāt really worked with MATLAB, so I canāt say much about this. I donāt want to misguide you with something Iāve never worked with.
Thatās fair, thanks anyways!
Do you specifically want to know about using MATLAB for VEX or MATLAB in general?
I would strongly suggest not using MATLAB for VEX. If you are doing something that needs that kind of math you should be able to convert the MATLAB code to VexCode or PROS. Personally I use PROS for our robot for the extended API and okapi but I am a programmer for a VEXU Team. PROS is a bit more difficult to work with but allows for more complex code. I would recommend that you start with VexCode which is a bit easier and then when you get the hang of it switch to PROS. It shouldnāt be too hard to convert your code.
I recommend installing clangd and get it setup with the VSCode extension. Itās awesome and better than cquery in all aspects (speed, functionality). clang-format, clang-tidy are also included in the VSCode extension ![]()
I think we are all forgetting HTML. Best language for robotics without a doubt.
I thought this thread was about programming languages
(Thatās the jokeā¦)
Quite a confusing statement. Let me reword it:
VEXCode was designed to be a direct upgrade from VCS, so donāt use VCS as updates for VCS are no longer being supported.
PROS is also another popular C++ programming platform, but learning it takes a lot of time to figure out. Also, as an addition, I would prefer doing VEXCode first, then consider PROS if you feel like you have learned the gist of C++ and how it operates.
RobotMesh doesnāt seem like a popular choice, not for any reason in particular but due to itās lack of advertising and community-ran assistance (such as in competition). If someone uses RobotMesh, the APIās are quite confusing, especially for those who want to code using python. That is why, although they have a good language and system, I would not recommend as the chance of someone in competition to use RobotMesh are unlikely.
I want to emphasize that PROS is a very heavy software. If you are a beginner and immediately start out with PROS, you may learn PROS but you may learn PROS in a manner that is not optimal. It will be better to first learn VEXCode, and maybe take a Computer Science High School course to understand how brackets, functions, syntax, and file management works before exposing yourself to something difficult to learn. By immediately jumping to PROS on your own, you will be basically putting yourself on the frontlines with no tools, weapons, or experience.
I know
extracharacters
That is a valid point and something that I hadnāt considered. I still feel that if you take some time to build some basic C++ programs and learn the overall concepts first, PROS can be a great starting option. I do agree that if you try to go straight for it without any background knowledge you might develop bad skills, but if you do some basic C++ first, you should be good to go. So my recommendation would be to actually learn C++ and build some basic programs to familiarize yourself with classes, file structure, etc first. Then jump into PROS and begin actual robotics programming.
My only concern with learning VEXCode first is that it might become confusing because you have two very similar APIās in your head. It might become a little difficult to remember which functions and syntax go with which platform.
Continuing the discussion from Best coding language for V5:
So this in general makes me unhappy.
@Deicer let me try this āIāve never seen or competed against @Deicer robots, but I canāt speak to the quality of them, but by the way Iāve worded this, they are substandard.ā Ouch. Thatās like a Yelp review that is by people that have never eaten there. Didnāt use it, donāt use it, then you donāt have an opinion.
@Connor writes " the APIās are quite confusing, especially for those who want to code using python", Ok, so maybe a valid point, want to give an example? RobotMesh created an entire set of Python library (aka API calls) that donāt use a structure you like. So lets here how itās confusing. I have to be honest I get Python code and look at API names and parameters and go āWTF?!?ā but I donāt know the developers mindset and what their overall taxonomy was. If I look at their universe it may also make sense. I look at the C++ APIās on a regular basis and go ![]()
And as an aside @LilTree, I got your joke, but you should have gone with āI think we are all forgetting CSS. Best language for robotics without a doubt.ā I know some pretty amazing CSS people and think that an HTML fragment with a ton of CSS could make a champion robot
Sorry for the full rant, but the reality is most of this is personal preferences. But to those being pundit offering up opinion you need to offer some creds on why you can say things and offer up examples.
I was merely stating that it existed as an alternative. Would you have preferred I give it a positive review even though I have not used it?
edit: you used my exact line and then added more to it to make it negative. Please donāt put words in my mouth
Nope not a positive review was requested, no use and no personal knowledge and therefore no comment would be my preference. Itās equally bad to say āIāve never been in a Chevy, actually never seen a Chevy, but Iād buy oneā.
Yep, and thatās what peopleās brains do. They read the first part and assume the second part. Words and sentence construction matter. You were conveying an opinion, I just took it in a direction.
I didnāt quote you, and careful reading is I didnāt put words into your mouth, I used some of the words what you wrote in a different order, possibly in a way you didnāt intend it to look.
Congrats, you got the point.
For new people like you I would highly reccomend using vexCode first, once you get using vexcode down you can start to use PROS. Its just better this way instead of diving straight into the deep end.
If Iām transferring from vcs? What is the best language to use?