src/visualizations/path_display.py
def update_history(self, msg):
        """ Update the mug with the new xform --> pose """
        # Get the position from the message
        posn, ornt = unpack_ROS_xform(msg)
        dist = vec_dif_mag(posn, self.pathList[0][-1])
        # If the next point is sufficient distance from the last
        if dist >= _DISTMARGIN:
            self.pathList[0].append(posn)
 Update the mug with the new xform --> pose 
Update the mug with the new xform --> pose
Update the mug with the new xform -- > pose
def update_history(self, msg):
        posn, ornt = unpack_ROS_xform(msg)
        dist = vec_dif_mag(posn, self.pathList[0][-1])
        if dist >= _DISTMARGIN:
            self.pathList[0].append(posn)
def update_history ( self , msg ) : posn , ornt = unpack_ROS_xform ( msg ) dist = vec_dif_mag ( posn , self . pathList [ 0 ] [ - 1 ] ) if dist >= _DISTMARGIN : self . pathList [ 0 ] . append ( posn )
Update the mug with the new xform --> pose
Update the mug with the new xform -- > pose
""" Update the mug with the new xform --> pose """ # Get the position from the message # If the next point is sufficient distance from the last
self
msg