src/oru_walk.cpp
/**
 * Constructor for oru_walk object
 * @param broker The parent broker
 * @param name The name of the module
 */
Constructor for oru_walk object
@param broker The parent broker
@param name The name of the module
Constructor for oru_walk object @param broker The parent broker @param name The name of the module
oru_walk::oru_walk(ALPtr<ALBroker> broker, const string& name) : 
    ALModule(broker, name),
    access_sensor_values (ALPtr<ALMemoryFastAccess>(new ALMemoryFastAccess())),
    wp (broker)
{
    setModuleDescription("Orebro University: NAO walking module");
    functionName( "setStiffness" , getName(), "change stiffness of all joint");
    addParam( "value", "new stiffness value from 0.0 to 1.0");
    BIND_METHOD( oru_walk::setStiffness );
    functionName( "initPosition", getName() , "initialize robot position");
    BIND_METHOD( oru_walk::initPosition );
    functionName( "walk", getName() , "walk");
    BIND_METHOD( oru_walk::walk );
    functionName( "stopWalking", getName() , "stopWalking");
    BIND_METHOD( oru_walk::stopWalkingRemote );
    solver = NULL;
}
oru_walk :: oru_walk ( ALPtr < ALBroker > broker , const string & name ) : ALModule ( broker , name ) , access_sensor_values ( ALPtr < ALMemoryFastAccess > ( new ALMemoryFastAccess ( ) ) ) , wp ( broker ) { setModuleDescription ( " " ) ; functionName ( " " , getName ( ) , " " ) ; addParam ( " " , " " ) ; BIND_METHOD ( oru_walk :: setStiffness ) ; functionName ( " " , getName ( ) , " " ) ; BIND_METHOD ( oru_walk :: initPosition ) ; functionName ( " " , getName ( ) , " " ) ; BIND_METHOD ( oru_walk :: walk ) ; functionName ( " " , getName ( ) , " " ) ; BIND_METHOD ( oru_walk :: stopWalkingRemote ) ; solver = NULL ; }
Constructor for oru_walk object
 @param broker The parent broker
 @param name The name of the module
Constructor for oru_walk object @param broker The parent broker @param name The name of the module
// advertise functions