23 #include <yarp/dev/DriverLinkCreator.h>
24 #include <yarp/os/LogStream.h>
36 yError(
"Failed to allocate simulator\n");
48 if (icub_joints==NULL) {
49 yError(
"Failed to allocate joints\n");
56 yError(
"Failed to allocate world manager\n");
61 PolyDriver icub_joints_dev;
62 icub_joints_dev.give(icub_joints,
true);
65 Drivers::factory().add(
new DriverLinkCreator(
"robot_joints",icub_joints_dev));
68 Drivers::factory().add(
new DriverCreatorOf<iCubSimulationControl>(
"simulationcontrol",
70 "iCubSimulationControl"));
72 Drivers::factory().add(
new DriverCreatorOf<iCubSimulationIMU>(
"simulationIMU",
73 "multipleanalogsensorsserver",
74 "iCubSimulationIMU"));