"Applicazione di un laser range scanner a un robot mobile", 2010
"Applicazione di un laser range scanner a un robot mobile", 2010
"Applicazione di un laser range scanner a un robot mobile", 2010
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
}<br />
/* main f<strong>un</strong>ction */<br />
int main(int argc, char **argv)<br />
{<br />
ArArgumentParser parser(&argc, argv); // new<br />
parser.loadDefaultArguments(); // new<br />
// <strong>robot</strong> and devices<br />
ArRobot tobor;<br />
ArSonarDevice sonar;<br />
ArBumpers bumpers;<br />
ArIRs ir;<br />
// the actions we'll use to wander and avoid obstacles<br />
ArActionStallRecover recoverAct;<br />
//ArActionAvoidSide avoidSide;<br />
ArActionBumpers bumpAct;<br />
ArActionAvoidFront avoidFront;<br />
//ArActionAvoidFront avoidFrontNearAct("Avoid Front Near", 150, 0, 20);<br />
//ArActionAvoidFront avoidFrontFarAct("Avoid Front Far", 300, 100, 15);<br />
ArActionConstantVelocity constantVelocityAct("Constant Velocity", 1000);<br />
// initialize aria and aria's logging destination and level<br />
Aria::init();<br />
55