formatted to pep8. (still contains trailing whitespaces)
biggest change of format: ros style wants 4spaces as indentation