In August 1768, under the command of then-Lieutenant James Cook, HMS Endeavour and her crew set sail for Tahiti to observe the transit of Venus - before opening sealed orders for a secret assignment.