original_docstring: 
          Use a motion model to move the object in the world
          
docstring: Use a motion model to move the object in the world
docstring_tokens: Use a motion model to move the object in the world
code: def step(self, delta_time):
          """
          Use a motion model to move the object in the world
          """
  
          self.time += delta_time
  
          # If not walking, no need to do anything
          if not self.pedestrian_active:
              self.pedestrian_wait_time -= delta_time
              if self.pedestrian_wait_time <= 0:
                  self.pedestrian_active = True
              return
  
          # Update centers and bounding box
          vel_adjust = self.heading * self.vel
          self.center += vel_adjust
          self.obj_corners += vel_adjust[[0, -1]]
  
          distance = np.linalg.norm(self.center - self.start)
  
          if distance > self.walk_distance:
              self.finish_walk()
  
          self.pos = self.center
          angle_delta = self.wiggle * math.sin(48 * self.time)
          self.y_rot = (self.angle + angle_delta) * (180 / np.pi)
          self.obj_norm = generate_norm(self.obj_corners)
code_tokens: def step ( self , delta_time ) : self . time += delta_time if not self . pedestrian_active : self . pedestrian_wait_time -= delta_time if self . pedestrian_wait_time <= 0 : self . pedestrian_active = True return vel_adjust = self . heading * self . vel self . center += vel_adjust self . obj_corners += vel_adjust [ [ 0 , - 1 ] ] distance = np . linalg . norm ( self . center - self . start ) if distance > self . walk_distance : self . finish_walk ( ) self . pos = self . center angle_delta = self . wiggle * math . sin ( 48 * self . time ) self . y_rot = ( self . angle + angle_delta ) * ( 180 / np . pi ) self . obj_norm = generate_norm ( self . obj_corners )
short_docstring: Use a motion model to move the object in the world
short_docstring_tokens: Use a motion model to move the object in the world
comment: """
          Use a motion model to move the object in the world
          """$SEP$# If not walking, no need to do anything$SEP$# Update centers and bounding box