For each side of a slideout, the Scwinntek tracks are driven by a single motor driving 2 gears on a common shaft. There's a controller to keep them synchronized side to side. Each gearmotor has an encoder that the controller reads.The second thought I have is make sure its something you can manually override. If your out in the middle of nowhere and it fails to deploy how do you deploy yourself so you can camp or even pack up and go home?
Finally you would likely want to use two fairly precise stepper style motors and a gear track of some sort to move it in/out. Stepper so you can keep each side coming out in sync because as we all know if its not coming out mostly straight it just jams up.
What the OP is proposing will only require a single "side" of a Schwinntek system and the 2 slides will be mechanically coupled. No electronic synchronization would be required.
An electronic "fuse" would be nice to have. The Schwinntek does have a manual override procedure.