nclt2ros/visualizer/gt.py
def save_roll_png(self):
        """visualize the roll angle as a png file
        """

        utimes   = self.gt[:, 0]
        roll_rad = self.gt[:, 4]
        plt.plot(utimes, roll_rad, color="blue", label='roll angle')

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

        plt.title('Roll angle from Ground Truth')
        plt.savefig(self.visualization_png_gt_dir + self.output_file + '_roll.png')
        plt.show()
visualize the roll angle as a png file
        
visualize the roll angle as a png file
visualize the roll angle as a png file
def save_roll_png(self):
        utimes   = self.gt[:, 0]
        roll_rad = self.gt[:, 4]
        plt.plot(utimes, roll_rad, color="blue", label='roll angle')
        plt.xlabel('time in sec')
        plt.ylabel('roll in rad')
        plt.legend(loc='upper left')
        plt.grid()
        plt.title('Roll angle from Ground Truth')
        plt.savefig(self.visualization_png_gt_dir + self.output_file + '_roll.png')
        plt.show()
def save_roll_png ( self ) : utimes = self . gt [ : , 0 ] roll_rad = self . gt [ : , 4 ] plt . plot ( utimes , roll_rad , color = "blue" , label = 'roll angle' ) plt . xlabel ( 'time in sec' ) plt . ylabel ( 'roll in rad' ) plt . legend ( loc = 'upper left' ) plt . grid ( ) plt . title ( 'Roll angle from Ground Truth' ) plt . savefig ( self . visualization_png_gt_dir + self . output_file + '_roll.png' ) plt . show ( )
visualize the roll angle as a png file
visualize the roll angle as a png file
"""visualize the roll angle as a png file
        """
self