How would I tell the code to activate a command when the controller axis value to greater than 110 vex units? This is what I use to initiate a command right now in the driver/user control: if(Controller1.ButtonL2.pressing()).
I don’t have a whole lot of practice in C++ so forgive me for my syntax here
If(Controller1.Axis3.position() >= 110) {
Do things
}
1 Like
position() returns numbers in range +/- 100 suitable for use where percentage is required. value() will return raw values in the +/- 127 range.
3 Likes
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.