"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 />
return true;<br />
/* main f<strong>un</strong>ction */<br />
int main(int argc, char **argv)<br />
{<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 avoidFrontNearAct("Avoid Front Near", 400, 0, 90);<br />
ArActionAvoidFront avoidFrontFarAct("Avoid Front Far", 600, 100, 15);<br />
ArActionConstantVelocity constantVelocityAct("Constant Velocity", 100);<br />
// initialize aria and aria's logging destination and level<br />
Aria::init();<br />
ArLog::init(ArLog::StdErr, ArLog::Normal);<br />
44