You might want to try something similar to what this guy did.
https://expeditionportal.com/forum/threads/my-camping-rooftop-tent-trailer-build.168702/
He's moved on to linear actuators eventually, however he started with just gas struts. I'm doing a modified version of this right now, and I...