Trials to test a new autonomous surface vessel have started in the vicinity of Portsmouth Harbour.