void init( const std::string& hostname) { // Initialize the actors motor1.setMotorNumber( 0 ); motor2.setMotorNumber( 1 ); motor3.setMotorNumber( 2 ); // Connect std::cout << "Connecting to "<< hostname << " ... " << std::endl; com.setAddress( hostname.c_str() ); com.connect(); odometry.set(0, 0, 0); std::cout << std::endl << "Connected" << std::endl; }