Adesso che ho ricevuto i miei arduino posso riesumare questo topic ]
]![]()
Allora, ho iniziato a creare uno sketch che mi rispondesse ai veri comandi inviati da stellarium. Quando inizio la connessione stellarium chiede la RA e la Declinazione, sono riuscito a rispondere al comando della RA e mi accetta il valore che do in risposta ma non riesco a rispondere alla richiesta della Declinazione, infatti nella documentazione che mi è stata postata da Astrobeed c'è scritto che il comando :GD# accetta come risposta sDD*MM#
io ho interpretato la s come il segno(+ o -) mentre ai valori DD e MM ne ho sostituiti di fittizi.(es.+45*00#).
Ciò è quello che invio via serial, tuttavia nel file di log:
15445, 11:34:00.890104Z: Lx200Connection::sendCommand(Lx200CommandGetRa)
15445, 11:34:00.890104Z: Lx200Connection::writeFrontCommandToBuffer(Lx200CommandGetRa): queued
15445, 11:34:00.890104Z: Lx200Connection::sendCommand(Lx200CommandGetDec)
15445, 11:34:00.890104Z: Connection::performWriting: writeNonblocking(5) returned 5; #:GR#
15445, 11:34:05.904390Z: Lx200Connection::resetCommunication
15445, 11:34:05.921391Z: Lx200Connection::sendCommand(Lx200CommandGetRa)
15445, 11:34:05.921391Z: Lx200Connection::sendCommand(Lx200CommandGetDec)
15445, 11:34:15.952965Z: Lx200Connection::writeFrontCommandToBuffer(Lx200CommandGetRa): queued
15445, 11:34:15.952965Z: Connection::performWriting: writeNonblocking(5) returned 5; #:GR#
15445, 11:34:16.018969Z: Connection::performReading: readNonblocking returned 11; 03:00:00#
15445, 11:34:16.018969Z: Lx200CommandGetRa::readAnswerFromBuffer: RA = 03:00:00
15445, 11:34:16.018969Z: Lx200Connection::writeFrontCommandToBuffer(Lx200CommandGetDec): queued
15445, 11:34:16.077972Z: Connection::performWriting: writeNonblocking(5) returned 5; #:GD#
15445, 11:34:16.138976Z: Connection::performReading: readNonblocking returned 7; +45*00#
15445, 11:34:16.138976Z: Lx200CommandGetDec::readAnswerFromBuffer: error: '+' or '-' expected
15445, 11:34:16.138976Z: Lx200Connection::resetCommunication
15445, 11:34:16.202979Z: Lx200Connection::sendCommand(Lx200CommandGetRa)
15445, 11:34:16.202979Z: Lx200Connection::sendCommand(Lx200CommandGetDec)
15445, 11:34:16.202979Z: Connection::performReading: readNonblocking returned 2;
risulta l'errore: error: '+' or '-' expected nonostante vi sia il più dove dovrebbe essere.
le ho provate tutte ma non ne esco, quindi...
avete idea di come potrei scriverlo( ho provato anche +3:0:0)
oppure anche:
]
]
]
]
]![]()
c'è qualche anima pia che possiede un telescopio meade lx200 o compatibile che potrebbe connetterlo al pc a stellarium e può postare il file di log( si trova in AppData/Roaming/Stellarium ed è il file log_TelescopeServer1(o qualsivoglia numero sia il telescopio)) nel caso qui la guida alla configurazione:http://www.stellarium.org/wiki/index.php/Telescope_Control_plug-in
Grazie in anticipo per l'aiuto
Francesco