My team has been seeing other teams, even sister teams, using PID. I watched a video about what it is in real life, but I am wondering how it ties into VRC. I am also wondering if it is possible to code PID in code blocks because no one on my team knows how to code C++ or python.
See below, a post (originally by @_Colossus) from 2020 I found with a quick search of the forum.
This would also be a good opportunity to learn C++ or Python! I too had to make the jump from blocks to written code (albeit quite some time ago now) but I’ve never looked back since.
I am currently learning Python, but am only on the basics. I will make sure that me and my team look over these useful resources.
Yes.
For an engineering class, I “wrote” a useable PID in block code. it is definitely possible. I don’t use block code for anything though, I simply did it to prove a point. as @Seb said, this would be a great opportunity to learn python or C++.
Having a decent knowledge of both languages, and having used both languages for applications in robotics, and applications out of robotics, I can tell you with confidence that Python is easier to learn, and for simple robot programs (a PID could fit in this) Python is great. However, if you know you will be writing a lot of code… I would not use Python since working with multiple source files in V5 & python is a pain. (possible, but a pain)
I think I would go insane if I had to fit this in one source file… (or have to constantly modify code on an SD card)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.