How to print a motor value onto the brain?

I have seen that it is possible to print the motor values onto the brain during the motion. We want to use this to determine how forward we need to go to autonomous thanks. Thanks!

this should help


i found something on there and i am getting an error message. Could you pls help me, sorry for bothering you

Are you using namespace vex? if not, vex::rotationUnits::deg should work.

I tried that and this is the error message i got

[clang] Too many arguments to function call, expected 0, have 1
vex_motor.h(40, 7): ‘value’ declared here


thats how it looks

If you’re using the IMEs, I believe you’ll want to use Motor.rotation(vex::rotationUnits::deg) rather than .value.

3 Likes