Working on adding encoder logging.