#NEWLINE# def move_robot( self ) : #NEWLINE# #INDENT# px_per_ft = self . px_per_ft #NEWLINE# ( x , y , a ) = self . controller . _get_vector ( ) #NEWLINE# ( ox , oy , oa ) = self . _vector #NEWLINE# x *= px_per_ft #NEWLINE# y *= px_per_ft #NEWLINE# dx = ( x - ox ) #NEWLINE# dy = ( y - oy ) #NEWLINE# da = ( a - oa ) #NEWLINE# if ( da != 0 ) : #NEWLINE# #INDENT# self . rotate ( da ) #NEWLINE# #UNINDENT# self . move ( ( dx , dy ) ) #NEWLINE# self . _vector = ( x , y , a )