Exemplo n.º 1
0
 def create(robot, dt):
     door = mc_rbdyn.get_robot_module(
         "env",
         mc_rtc.MC_ENV_DESCRIPTION_PATH + "/../mc_int_obj_description",
         "door")
     ground = mc_rbdyn.get_robot_module("env",
                                        mc_rtc.MC_ENV_DESCRIPTION_PATH,
                                        "ground")
     return MyFirstController([robot, door, ground], dt)
Exemplo n.º 2
0
 def setup_class(self):
     self.robots = mc_rbdyn.Robots()
     mc_rbdyn.RobotLoader.clear()
     mc_rbdyn.RobotLoader.update_robot_module_path(
         ["$<TARGET_FILE_DIR:jvrc1>"])
     self.rm = mc_rbdyn.get_robot_module("JVRC1")
     self.robots.load(self.rm)
Exemplo n.º 3
0
 def create(robot, dt):
     env = mc_rbdyn.get_robot_module("env", mc_rtc.MC_ENV_DESCRIPTION_PATH,
                                     "ground")
     return MyFirstController([robot, env], dt)