I’ve been working my way through the Thinkscape Java training course and in Part 2 they reference creating a new command class by right clicking on the command folder and selecting “Command (new) A command”. The setup I have doesn’t have that. It just offers “Command A command” as an option. (The training command setup also has a “Command (Old) Create a base command”) I’m using the WPIlib stuff from spring of 23 and don’t know if the code there is different from the Thinkscape video code (newer or older) but I’m not sure whether to just go ahead with what I have or I need to update something to work on the training.
I’m guessing that the training video might be out of date since the spring 23 version of WPIlib seems to be the newest.
The “Command: A Command” is the one you want. In 2020 WPILib introduced the version of the commands library you use today, and for 2023 the older library is finally removed, instead of just being marked “old”. The training video is out of date.
I kind of figured that but I’m still working through learning this stuff. I do have to say that the Thinkscape training gives a good overview of how things work for development. I just started as a mentor in 2023 and didn’t find out about the course/get access to it until this fall. I first did Fortran programming at Michigan State in 1965 and have played off and on with various computers and OS’s since then but Java is new to me and there’s always a learning curve. (and it seems to get steeper as I age )