Real-time Control and Hardware-in-the-Loop Simulation of Surface Vessels for Multitask Missions at Seas