Robot Eksperimentarium 2006: Øvelser

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
== Opgaveformulering ==
== Opgaveformulering ==
-
Den studerende skal .
+
skal
 +
Evolution::ResourceManager *resource_manager;
 +
Evolution::Result result;
 +
resource_manager = new Evolution::ResourceManager( NULL, &result );
 +
 +
Evolution::IResourceContainer *resource_container;
 +
result = resource_manager->get_resource_container( 0, &resource_container );
 +
.
-
kommandoen
+
  Evolution::IDriveSystem *driver;
  Evolution::IDriveSystem *driver;
-
  resource_container->obtain_interface(Evolution::NO_TICKET, "drive", Evolution::IDriveSystem::INTERFACE_ID, (void**) &driver);
+
  result = resource_container->obtain_interface(Evolution::NO_TICKET, "drive",  
 +
            Evolution::IDriveSystem::INTERFACE_ID, (void**) &driver);
 +
 

Revision as of 13:56, 5 July 2006

Personal tools