[bt-robot] - Refactor code.