Choosing which motor cartridge in Pros VS C++?

I was wondering how you define what motor cartridge you are using in the code. I want to define a red motor for my cata. Any help would be appreciated.

You can set it up via the constructor: Motors C++ API — PROS for V5 3.8.0 documentation where gearset is the cartridge you want to use e.g. red. Motors C++ API — PROS for V5 3.8.0 documentation (purdue.edu)

Or you can do it this way: Motors C++ API — PROS for V5 3.8.0 documentation (purdue.edu)

Hope this helps :blush:

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.