Vex c++ VCS


#1

In vex c++ on VCS does anyone know what value range the joysticks operate on, i can’t seem to find what the range of values that you get when you use Controller1.axis3.value


#2

Controller1.Axis3.value() gives a value from -100 to +100 in VCS C++, where 0 is the joystick at resting position.


#3

Based on this it appears to be -100 to +100

On another note, is there any functional difference between using position versus using value for driver control?

So like this:


left.spin(directionType::fwd, Controller1.Axis3.value(), velocityUnits::pct)

or


left.spin(directionType::fwd, Controller1.Axis3.position(percentUnits::pct), velocityUnits::pct)


#4

Thank you!


#5

That’s a good question as far as I’m aware there is no functional difference between the two because wouldn’t they both be operating from -100 to 100?