First try controlling it by hand, then try auto.
Demanded ball speed = * (target - x). Demanded plank angle = * (v-veldem),
where velocity demand limit = and interval between camera steps = seconds
You can change the angle or target, target =