import scicfg import dotdot from dovecot import desc from dovecot import objdesc cfg0 = desc._deepcopy() cfg0.execute.partial_mvt = True cfg0.execute.prefilter = False cfg0.execute.check_self_collisions = False # True cfg0.execute.is_simulation = True cfg0.execute.kin.force = 1.0 cfg0.execute.hard.verbose_com = True cfg0.execute.hard.verbose_dyn = True cfg0.execute.hard.powerswitch = True cfg0.execute.simu.headless = False cfg0.execute.simu.vglrun = False cfg0.execute.simu.physic_engine = "ode" cfg0.execute.simu.ppf = 200 cfg0.execute.simu.load = True cfg0.execute.simu.mac_folder = "/Applications/VRep/vrep.app/Contents/MacOS/" # only for mac cfg0.execute.scene.name = "vanilla" cfg0.execute.scene.arena.name = "arena20x20x10" # cfg0.execute.scene.objects.ball45 = objdesc._deepcopy() # cfg0.execute.scene.objects.ball45.mass = 0.050
import scicfg import dotdot from dovecot import desc from dovecot import objdesc cfg0 = desc._deepcopy() cfg0.execute.partial_mvt = True cfg0.execute.prefilter = False cfg0.execute.check_self_collisions = False #True cfg0.execute.is_simulation = True cfg0.execute.kin.force = 1.0 cfg0.execute.hard.verbose_com = True cfg0.execute.hard.verbose_dyn = True cfg0.execute.hard.powerswitch = True cfg0.execute.simu.headless = False cfg0.execute.simu.vglrun = False cfg0.execute.simu.physic_engine = 'ode' cfg0.execute.simu.ppf = 200 cfg0.execute.simu.load = True cfg0.execute.simu.mac_folder = '/Applications/VRep/vrep.app/Contents/MacOS/' # only for mac cfg0.execute.scene.name = 'vanilla' cfg0.execute.scene.arena.name = 'arena20x20x10' # cfg0.execute.scene.objects.ball45 = objdesc._deepcopy() # cfg0.execute.scene.objects.ball45.mass = 0.050
import platform try: from dovecot import desc from dovecot import objdesc except ImportError: from .dovecot_static import desc from .dovecot_static import objdesc def_cfg = desc._deepcopy() def_cfg.classname = 'dovecot.HardwareEnvironment' # Execute config def_cfg.execute.prefilter = True def_cfg.execute.check_self_collisions = False def_cfg.execute.partial_mvt = False def_cfg.execute.is_simulation = False def_cfg.execute.scene.name = 'vanilla' # Hardware kin config def_cfg.execute.kin.force = 50.0 # Hardware stem config def_cfg.execute.hard.uid = 1000 # to be redefined. def_cfg.execute.hard.verbose_com = True def_cfg.execute.hard.verbose_dyn = True def_cfg.execute.hard.powerswitch = True # V-REP config