pose_estimation/gramian/trajectories_plot.py
def draw_all_curves():
    '''
    draw all semicircle curves defined by ang_x and ang_z
    '''

    # loop over curves
    for i in range(gt.n_ang):
        coord, _ = gt.semicircle(gt.rad, 100, gt.ang_x[i], gt.ang_z[i],
                                 gt.xyz_cent_col)
        create_curve_striped(coord, n_stripes=15, clr_0=[0,0,0], clr_1=[1,0,0])

    # render a picture
    image_file = os.path.join(dirs.trajectories_dir, 'all_curves.png')
    bf.render_image(cam_ob, cam_pos, cam_quat, ob, ob_pos, ob_quat, image_file,
                    alpha=False, world_RGB=None)

    draw all semicircle curves defined by ang_x and ang_z
    
draw all semicircle curves defined by ang_x and ang_z
draw all semicircle curves defined by ang_x and ang_z
def draw_all_curves():
    for i in range(gt.n_ang):
        coord, _ = gt.semicircle(gt.rad, 100, gt.ang_x[i], gt.ang_z[i],
                                 gt.xyz_cent_col)
        create_curve_striped(coord, n_stripes=15, clr_0=[0,0,0], clr_1=[1,0,0])
    image_file = os.path.join(dirs.trajectories_dir, 'all_curves.png')
    bf.render_image(cam_ob, cam_pos, cam_quat, ob, ob_pos, ob_quat, image_file,
                    alpha=False, world_RGB=None)
def draw_all_curves ( ) : for i in range ( gt . n_ang ) : coord , _ = gt . semicircle ( gt . rad , 100 , gt . ang_x [ i ] , gt . ang_z [ i ] , gt . xyz_cent_col ) create_curve_striped ( coord , n_stripes = 15 , clr_0 = [ 0 , 0 , 0 ] , clr_1 = [ 1 , 0 , 0 ] ) image_file = os . path . join ( dirs . trajectories_dir , 'all_curves.png' ) bf . render_image ( cam_ob , cam_pos , cam_quat , ob , ob_pos , ob_quat , image_file , alpha = False , world_RGB = None )
draw all semicircle curves defined by ang_x and ang_z
draw all semicircle curves defined by ang_x and ang_z
'''
    draw all semicircle curves defined by ang_x and ang_z
    ''' # loop over curves # render a picture