Hormodular 1.0
Locomotion gait discovery by using digital hormones on modular robots
bool hormodular::SimulatedModularRobotInterface::setProperty ( std::string  property,
std::string  value 
) [virtual]

Configure a property or parameter of the interface.

Parameters:
propertyProperty to be changed. Currently, only the "viewer" property is available, which controls the visibility of the OpenRAVE viewer.
valueValue to be set on the property. For "viewer", the only available value is "enable".
Returns:
True if completed successfully, false otherwise

Reimplemented from hormodular::ModularRobotInterface.

{
    if ( property.compare("viewer") == 0 && value.compare("enabled") == 0)
    {
        simulation->showViewer();
        return true;
    }

    return false;
}
 All Classes Functions Variables Friends