voyager/vessel.py
def update_position(self, x, y):
        """Updates position and records it to the trajectory

        Args:
            x (float): longitudinal position
            y (float): latitudinal position
        """
            
        self.x = x
        self.y = y

        # Record position to trajectory
        self.trajectory.append([x, y])

        return self
Updates position and records it to the trajectory

        Args:
            x (float): longitudinal position
            y (float): latitudinal position
        
Updates position and records it to the trajectory
Updates position and records it to the trajectory
def update_position(self, x, y):
        self.x = x
        self.y = y
        self.trajectory.append([x, y])
        return self
def update_position ( self , x , y ) : self . x = x self . y = y self . trajectory . append ( [ x , y ] ) return self
Updates position and records it to the trajectory
Updates position and records it to the trajectory
"""Updates position and records it to the trajectory

        Args:
            x (float): longitudinal position
            y (float): latitudinal position
        """ # Record position to trajectory
self
x
None
y
None