Allows you to choose robot type between the various robots that the RoboMaster MCB board can be on.
It stores the selected type in the file .robot_chooser.txt and it's recommended to not commit this file to source control.
Features
Set Robot Type from Command Palette!
Select from 5 different robot types!
See and change the current robot type at the bottom right at any time!
How to install
Install from VSCode Extension Marketplace.
In VSCode open the command palette (Ctrl + Shift + P) and look for Install from VSIX.
Select the downloaded extension.
Usage
Setting Robot Type
There's two ways to set the robot type:
Clicking the Status Bar item in the bottom right corner. It'll either be Select A Robot or the currently selected robot type.
Using the command palette. Look for ARUW: Set Robot Type.
Getting Robot Type
This extension exposes the command aruw.getRobotType to get the current robot type.
This can be used, for example, in a tasks.json file: