I’m very new to coding VEX stuff, and I’m not particularly good at C++, but I can’t seem to find any way in the VEX VSCode extension to use a Python competition template instead of C++. Is C++ the only option I have for VRC coding or is there a way to use Python? Also, do I have to manually add the code for motors and stuff when using the VSCode extension or is there anything similar to the port configuration GUI thing in VEXCode V5 Pro?
1 Like
Python should come with a Competition
class that provides the same functionality as the C++ template. Not sure why the extension doesn’t provide a template for it, but it is possible to use Python in competition.
Also, do I have to manually add the code for motors and stuff when using the VSCode extension or is there anything similar to the port configuration GUI thing in VEXCode V5 Pro?
Yeah, the VSCode extension does not have graphical device setup. You’ll need to initialize them manually using their respective classes, which are documented here (cpp) and here (python)
2 Likes
see this.
4 Likes
cool, thanks for the help!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.