We have had to add velocityUnits:: to our code anytime we use pct as an argument. Not sure why that one enumerator is acting up, but it sure is annoying. We are using 2.0.5 which is the latest V5 Pro.
The reason why it works for other units but speed is because there is only one type of deg or fwd but there is multiple types of speed that use pct.
Ex:percentageUnits::pct,voltageUnits::pct,velocityUnits::pct and so on. In C you can not use a keyword that is defined in mutiple types , namespaces,or enumerations that you are referencing without delcaring its type,namespace,or enumeration.
Well, pct is also a percent unit, which I think is why Vexcode has a problem with it. I’ve never had an issue with just typing out velocityUnits::, is there a reason it’s a big deal for your team?