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"));
#define IMPLEMENTS_GENERIC_SENSOR(class_name, NameSpace)
This must be inserted in all CGenericSensor classes implementation files:
This class allows loading and storing values and vectors of different types from a configuration text...
A wrapper for other CConfigFileBase-based objects that prefixes a given token to every key and/or sec...
A combination of GPS receiver + NTRIP receiver capable of submitting GGA frames to enable RTCM 3....
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
virtual void initialize()
This method can or cannot be implemented in the derived class, depending on the need for it.
void doProcess()
This method will be invoked at a minimum rate of "process_rate" (Hz)
virtual ~CGPS_NTRIP()
Destructor.
std::multimap< mrpt::system::TTimeStamp, mrpt::serialization::CSerializable::Ptr > TListObservations
const Scalar * const_iterator
GLsizei const GLchar ** string
Contains classes for various device interfaces.
This namespace contains representation of robot actions and observations.