29 #ifndef CGPSInterface_H
30 #define CGPSInterface_H
40 namespace slam {
class CObservationGPS; }
104 bool isGPS_connected();
108 bool isGPS_signalAcquired();
110 void setSerialPortName(
const std::string &COM_port);
111 std::string getSerialPortName()
const;
114 { m_out_COM = outPort; m_cs_out_COM = csOutPort; }
122 bool OnConnectionEstablished();
138 void loadConfig_sensorSpecific(
140 const std::string &iniSection );
154 bool setJAVAD_AIM_mode();
157 bool unsetJAVAD_AIM_mode();
191 bool tryToOpenTheCOM();
195 void processBuffer();
199 void processGPSstring(
const std::string &s);
204 const std::string &str,
206 unsigned int &parserPos);
213 void JAVAD_sendMessage(
const char*str,
bool waitForAnswer =
true);