v5 Partner Controller


#1

Hey all,
My team is having an issue getting a partner controller to respond. Our code is below and pretty basic. We want one controller (named controller1) to drive the robot and the partner controller (named Partner2) to control the arm and wrist motors. As it stands now during driver control Controller1 controls everything even though the code calls for the buttons to be controlled by Partner2.

The Lcd for both brain and controllers show the partner controller is tethered and responsive but nothing happens when the buttons are pushed.

Any idea as to why?
code_partner.JPG
code_partner2.JPG
code_partner3.JPG


#2

you created two primary controllers, to instantiate a partner controller add the optional type


vex::controller Partner2( controllerType::partner );


#3

Ahh, perfect. Thank you!