Measuring acceleration due to gravity on other planets