I’m new to vexcode, coming from java, and I’m having trouble comparing objects (specifically motor groups). if (mGroupA == mGroupB) won’t work for obvious reasons, so my train of thought was to maybe create an equals method to compare the two. This being said, I’m relatively new to c++, and couldn’t decipher any clear primitives I could use for comparison in the motor_group definition. I was wondering if anyone could either
a. Point out the comparable primitives(if they aren’t private),
b. Provide an easier way to compare objects,
c. Tell me altering the source code is the best option, or
d. Tell me to give up and do things the harder way
P.S. this is my first post, so apologies if it sounds convoluted.