Robot Eksperimentarium 2006: Øvelser

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
  result = resource_container->obtain_interface(Evolution::NO_TICKET, "drive",  
  result = resource_container->obtain_interface(Evolution::NO_TICKET, "drive",  
             Evolution::IDriveSystem::INTERFACE_ID, (void**) &driver);
             Evolution::IDriveSystem::INTERFACE_ID, (void**) &driver);
 +
 +
 +
'''Hints:'''<br/>
 +
 +
Evolution::IAvoidance *avoid;
 +
result = resource_container->obtain_interface(Evolution::NO_TICKET, "avoidance",
 +
            Evolution::IAvoidance::INTERFACE_ID, (void**) &avoid);
 +
 +
avoid->disable_avoidance(Evolution::NO_TICKET);
 +
 +
 +
const double velocity = 20; // cm/sec
 +
const double acceleration = 20; // cm/sec^2
 +
const double angular_velocity = 0.5; // radians/sec
 +
const double angular_acceleration = M_PI/2.0; // radians/sec^2
 +
   
 +
 +

Revision as of 14:10, 5 July 2006

Personal tools