43 gps.getObservations(lst);
45 std::vector<mrpt::serialization::CSerializable::Ptr> vect;
46 vect.reserve(lst.size());
48 it != lst.end(); ++it)
49 vect.push_back(it->second);
50 this->appendObservations(vect);
55 if (!sLastGGA.empty())
58 cout <<
"[CGPS_NTRIP] Redirecting GGA frame from GPS->NTRIP: '" 59 << sLastGGA <<
"'" << endl;
61 ntrip.getNTRIPClient().sendBackToServer(sLastGGA +
std::string(
"\r\n"));
virtual ~CGPS_NTRIP()
Destructor.
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
Contains classes for various device interfaces.
virtual void initialize()
This method can or cannot be implemented in the derived class, depending on the need for it...
This class allows loading and storing values and vectors of different types from a configuration text...
This namespace contains representation of robot actions and observations.
A wrapper for other CConfigFileBase-based objects that prefixes a given token to every key and/or sec...
GLsizei const GLchar ** string
#define IMPLEMENTS_GENERIC_SENSOR(class_name, NameSpace)
This must be inserted in all CGenericSensor classes implementation files:
A combination of GPS receiver + NTRIP receiver capable of submitting GGA frames to enable RTCM 3...
std::multimap< mrpt::system::TTimeStamp, mrpt::serialization::CSerializable::Ptr > TListObservations
const Scalar * const_iterator
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)