Extension of a PID control theory to Lie groups applied to synchronising satellites and drones