nclt2ros/visualizer/gt.py
def save_pitch_png(self):
        """visualize the pitch angle as a png file
        """
        utimes    = self.gt[:, 0]
        pitch_rad = self.gt[:, 5]

        plt.plot(utimes, pitch_rad, color="blue", label='pitch angle')

        plt.xlabel('time in sec')
        plt.ylabel('pitch in rad')
        plt.legend(loc='upper left')
        plt.grid()

        plt.title('Pitch angle from Ground Truth')
        plt.savefig(self.visualization_png_gt_dir + self.output_file + '_pitch.png')
        plt.show()
visualize the pitch angle as a png file
        
visualize the pitch angle as a png file
visualize the pitch angle as a png file
def save_pitch_png(self):
        utimes    = self.gt[:, 0]
        pitch_rad = self.gt[:, 5]
        plt.plot(utimes, pitch_rad, color="blue", label='pitch angle')
        plt.xlabel('time in sec')
        plt.ylabel('pitch in rad')
        plt.legend(loc='upper left')
        plt.grid()
        plt.title('Pitch angle from Ground Truth')
        plt.savefig(self.visualization_png_gt_dir + self.output_file + '_pitch.png')
        plt.show()
def save_pitch_png ( self ) : utimes = self . gt [ : , 0 ] pitch_rad = self . gt [ : , 5 ] plt . plot ( utimes , pitch_rad , color = "blue" , label = 'pitch angle' ) plt . xlabel ( 'time in sec' ) plt . ylabel ( 'pitch in rad' ) plt . legend ( loc = 'upper left' ) plt . grid ( ) plt . title ( 'Pitch angle from Ground Truth' ) plt . savefig ( self . visualization_png_gt_dir + self . output_file + '_pitch.png' ) plt . show ( )
visualize the pitch angle as a png file
visualize the pitch angle as a png file
"""visualize the pitch angle as a png file
        """
self