12.06.2013 Views

"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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

"IR R",<br />

"Cur Bumps, (Last Bump Pose)"<br />

);<br />

// Request that we will want encoder data<br />

tobor.requestEncoderPackets();<br />

// Print data every second<br />

char timestamp[24];<br />

int cont = 0;<br />

while(tobor.isR<strong>un</strong>ning()) {<br />

tobor.lock();<br />

/*if(cont == 10){<br />

}<br />

time_t t = time(NULL);<br />

strftime(timestamp, 24, "%Y-%m-%d %H:%M:%S", localtime(&t));<br />

pinza.gripOpen();<br />

char t<strong>un</strong>e[]={5,2,5,3,5,4,5,5,5,6,5,7,15,8};<br />

if(cont == 20){<br />

pinza.liftDown();<br />

tobor.comStrN(ArCommands::SAY,t<strong>un</strong>e,14);<br />

char t<strong>un</strong>e[6]={5,20,25,62,25,64};<br />

60

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!