Servo Declaration

I’m programming in a C++ timed template and am trying to figure out how to declare a servo motor. I need to know the include to use if there is one and the declaration type for servos.

This is the motor that I’m using and have determined it to use servo since it is plugged in the PWM.

That doesn’t look like a servo. What motor controller are you using with it?

I recommend giving the docs a read: Using Motor Controllers in Code — FIRST Robotics Competition documentation.