Update to read distance from commands.txt (created by psmove controller)