nclt2ros/visualizer/gt.py
def save_gt_png(self):
        """visualize the ground truth as a png file

        :param offset: Boolean, True if eliminate the offset between odom and ground truth coordinate frame
        """

        x_new, y_new = self.get_gt_data()

        plt.plot(y_new, x_new, color="lime", label='ground truth')

        plt.xlabel('x in meter')
        plt.ylabel('y in meter')
        plt.legend(loc='upper left')

        plt.grid()

        plt.title('Ground Truth')
        plt.savefig(self.visualization_png_gt_dir + self.output_file + '.png')

        if self.plt_show:
            plt.show()
visualize the ground truth as a png file

        :param offset: Boolean, True if eliminate the offset between odom and ground truth coordinate frame
        
visualize the ground truth as a png file
visualize the ground truth as a png file
def save_gt_png(self):
        x_new, y_new = self.get_gt_data()
        plt.plot(y_new, x_new, color="lime", label='ground truth')
        plt.xlabel('x in meter')
        plt.ylabel('y in meter')
        plt.legend(loc='upper left')
        plt.grid()
        plt.title('Ground Truth')
        plt.savefig(self.visualization_png_gt_dir + self.output_file + '.png')
        if self.plt_show:
            plt.show()
def save_gt_png ( self ) : x_new , y_new = self . get_gt_data ( ) plt . plot ( y_new , x_new , color = "lime" , label = 'ground truth' ) plt . xlabel ( 'x in meter' ) plt . ylabel ( 'y in meter' ) plt . legend ( loc = 'upper left' ) plt . grid ( ) plt . title ( 'Ground Truth' ) plt . savefig ( self . visualization_png_gt_dir + self . output_file + '.png' ) if self . plt_show : plt . show ( )
visualize the ground truth as a png file
visualize the ground truth as a png file
"""visualize the ground truth as a png file

        :param offset: Boolean, True if eliminate the offset between odom and ground truth coordinate frame
        """
self
offset
Boolean, True if eliminate the offset between odom and ground truth coordinate frame
Boolean True if eliminate the offset between odom and ground truth coordinate frame