voyager/vessel.py
def update_distance(self, dx, dy):
        """Updates the cumulative distance travelled for the trajectory

        Args:
            dx (float): longitudinal displacement (km)
            dy (float): latitudinal displacement (km)
        """

        self.distance += np.linalg.norm(np.vstack((dx.squeeze(), dy.squeeze()))).squeeze().item()

        return self
Updates the cumulative distance travelled for the trajectory

        Args:
            dx (float): longitudinal displacement (km)
            dy (float): latitudinal displacement (km)
        
Updates the cumulative distance travelled for the trajectory
Updates the cumulative distance travelled for the trajectory
def update_distance(self, dx, dy):
        self.distance += np.linalg.norm(np.vstack((dx.squeeze(), dy.squeeze()))).squeeze().item()
        return self
def update_distance ( self , dx , dy ) : self . distance += np . linalg . norm ( np . vstack ( ( dx . squeeze ( ) , dy . squeeze ( ) ) ) ) . squeeze ( ) . item ( ) return self
Updates the cumulative distance travelled for the trajectory
Updates the cumulative distance travelled for the trajectory
"""Updates the cumulative distance travelled for the trajectory

        Args:
            dx (float): longitudinal displacement (km)
            dy (float): latitudinal displacement (km)
        """
self
dx
longitudinal displacement (km)
longitudinal displacement ( km )
dy
latitudinal displacement (km)
latitudinal displacement ( km )