New type of auto take off

I have a crazy Idea to auto launch my airplane (UAV) from a deck of a yacht
so the deck is about 18m long and a width of 10m
what are the best parameters to set in mission planner for a short take off
and can I do the same for auto landing
for info the yacht is moving with speed best for take of and landing so can any body also suggest the best speed to do so