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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

;SettableAccsDecs false ; if the accel and decel parameters can be set<br />

SettableAccsDecs true<br />

TransAccel 1000 ; translational acceleration<br />

TransDecel 1000 ; translational deceleration<br />

RotAccel 1000 ; rotational acceleration<br />

RotDecel 1000 ; rotational deceleration<br />

NOTA: il “;” sta a significare che tutto quello che segue nella stessa riga non viene considerato.<br />

L’aggi<strong>un</strong>ta della webcam e lo streaming video<br />

Per permettere anche da remoto <strong>di</strong> poter manovrare il <strong>robot</strong> all’interno della stanza in maniera<br />

più efficiente, è stata installata su <strong>di</strong> esso <strong>un</strong>a webcam Philips. Si è reso necessario <strong>di</strong> conseguenza<br />

installare <strong>un</strong> software video che potesse connettersi alla telecamera e che potesse essere invocato<br />

senza creare problemi anche da remoto. Si è optato per Luvcview. Digitando su terminale<br />

“luvcview”, infatti, si apre <strong>un</strong>a piccola finestra in cui è visualizzato ciò che vede la webcam.<br />

Per integrare lo streaming video nell’interfaccia web, <strong>di</strong> cui si parlerà nel capitolo 4, si è scelto <strong>di</strong><br />

utilizzare il programma mjpg-streamer, il cui compito è quello <strong>di</strong> catturare lo streaming video e<br />

renderlo <strong>di</strong>sponibile su <strong>un</strong>a porta scelta. E’ sufficiente poi inserire nell’interfaccia web <strong>un</strong>a<br />

particolare applet, chiamata Cambozola, con determinati parametri che in<strong>di</strong>chino l’in<strong>di</strong>rizzo del<br />

server con la relativa porta su cui mjpg-streamer invia lo streaming.<br />

27

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

Saved successfully!

Ooh no, something went wrong!