示例#1
0
    def define_jobs_context(self, context):
        GlobalConfig.global_load_dir('${B11_SRC}/bvapps/bdse1')
        rm = context.get_report_manager()
        rm.set_html_resources_prefix('jbds-est')
        data_central = self.get_data_central()
        
        jobs_learn_real(context, data_central,
                        real_robots=JBDSEstimation.real_robots,
                        explogs_learn=JBDSEstimation.explogs_learn)
        
        jobs_learn_simulations(context, data_central,
                               simulated_robots=JBDSEstimation.simulated_robots,
                               num_sim_episodes=1000,
                               max_episode_len=30,
                               episodes_per_tranche=50,
                               explorer='expsw1')
        
        r = job_report_learn(context, JBDSEstimation.combs_estimation)
        context.add_report(r, 'learn_global')
 
        jobs_tex(context, JBDSEstimation.combs_estimation)
 
        jobs_servo(context, data_central,
                   combinations=JBDSEstimation.combs_servo,
                   explogs_test=JBDSEstimation.grids)
        
        jobs_report_summary_servo_xy(context,
                           combinations=JBDSEstimation.combs_servo,
                           explogs_test=JBDSEstimation.grids_xy)

        r = report_summary_servo_theta(context,
                                   combinations=JBDSEstimation.combs_servo_th,
                                   explogs_test=JBDSEstimation.grids_th)
                                    
        context.add_report(r, 'servo_theta_global')
示例#2
0
    def define_jobs_context(self, context):
        rm = context.get_report_manager()
        rm.set_html_resources_prefix('jbds-estfr')
        data_central = self.get_data_central()
        
        jobs_learn_real(context, data_central,
                        real_robots=JBDSEstimationFraction.robots,
                        explogs_learn=JBDSEstimationFraction.explogs_learn)
         
        r = job_report_learn(context, JBDSEstimationFraction.combs_servo_xy)
        context.add_report(r, 'learn_global')
 
        # jobs_tex(context, JBDSEstimationFraction.combs_servo_xy)
 
        jobs_servo(context, data_central,
                   combinations=JBDSEstimationFraction.combs_servo_xy,
                   explogs_test=JBDSEstimationFraction.grids_xy)
         
        jobs_report_summary_servo_xy(context,
                           combinations=JBDSEstimationFraction.combs_servo_xy,
                           explogs_test=JBDSEstimationFraction.grids_xy)