28 #ifndef RTABMAPEVENT_H_ 29 #define RTABMAPEVENT_H_ 51 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEvent");}
86 parameters_(parameters){}
91 parameters_(parameters){}
97 parameters_(parameters){}
104 parameters_(parameters){}
112 parameters_(parameters){}
124 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEventCmd");}
163 const std::string &
getInfo()
const {
return _info;}
166 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEventInit");}
178 const std::map<int, Signature> & signatures,
179 const std::map<int, Transform> & poses,
180 const std::multimap<int, Link> & constraints) :
182 _signatures(signatures),
184 _constraints(constraints)
189 const std::map<int, Signature> &
getSignatures()
const {
return _signatures;}
190 const std::map<int, Transform> &
getPoses()
const {
return _poses;}
193 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEvent3DMap");}
206 _planningTime(0.0) {}
209 const std::vector<std::pair<int, Transform> > & poses,
210 double planningTime) :
213 _planningTime(planningTime) {}
216 const std::string & goalLabel,
217 const std::vector<std::pair<int, Transform> > & poses,
218 double planningTime) :
220 _goalLabel(goalLabel),
222 _planningTime(planningTime) {}
228 const std::vector<std::pair<int, Transform> > &
getPoses()
const {
return _poses;}
229 virtual std::string
getClassName()
const {
return std::string(
"RtabmapGlobalPathEvent");}
233 std::vector<std::pair<int, Transform> >
_poses;
246 const std::string &
label()
const {
return _label;}
247 virtual std::string
getClassName()
const {
return std::string(
"RtabmapLabelErrorEvent");}
260 virtual std::string
getClassName()
const {
return std::string(
"RtabmapGoalStatusEvent");}
const ParametersMap & getParameters() const
const std::string & getGoalLabel() const
const std::string & label() const
virtual std::string getClassName() const
RtabmapEventCmd(Cmd cmd, const UVariant &value1, const UVariant &value2, const UVariant &value3, const ParametersMap ¶meters=ParametersMap())
virtual ~RtabmapLabelErrorEvent()
RtabmapEventCmd(Cmd cmd, const ParametersMap ¶meters=ParametersMap())
RtabmapEventCmd(Cmd cmd, const UVariant &value1, const UVariant &value2, const UVariant &value3, const UVariant &value4, const ParametersMap ¶meters=ParametersMap())
const std::multimap< int, Link > & getConstraints() const
std::map< std::string, std::string > ParametersMap
std::map< int, Transform > _poses
const UVariant & value4() const
RtabmapLabelErrorEvent(int id, const std::string &label)
virtual ~RtabmapEvent3DMap()
RtabmapEvent3DMap(int codeError=0)
virtual ~RtabmapEventInit()
RtabmapEventCmd(Cmd cmd, const UVariant &value1, const UVariant &value2, const ParametersMap ¶meters=ParametersMap())
RtabmapEventInit(Status status, const std::string &info=std::string())
const std::string & getInfo() const
std::map< int, Signature > _signatures
virtual std::string getClassName() const
virtual ~RtabmapGlobalPathEvent()
const std::map< int, Signature > & getSignatures() const
const UVariant & value3() const
RtabmapGlobalPathEvent(int goalId, const std::string &goalLabel, const std::vector< std::pair< int, Transform > > &poses, double planningTime)
virtual std::string getClassName() const
std::multimap< int, Link > _constraints
RtabmapEvent(const Statistics &stats)
ParametersMap parameters_
RtabmapEventCmd(Cmd cmd, const UVariant &value1, const ParametersMap ¶meters=ParametersMap())
virtual std::string getClassName() const
virtual std::string getClassName() const
virtual std::string getClassName() const
virtual ~RtabmapEventCmd()
std::vector< std::pair< int, Transform > > _poses
const UVariant & value2() const
virtual ~RtabmapGoalStatusEvent()
double getPlanningTime() const
const Statistics & getStats() const
virtual std::string getClassName() const
RtabmapGoalStatusEvent(int status)
RtabmapGlobalPathEvent(int goalId, const std::vector< std::pair< int, Transform > > &poses, double planningTime)
RtabmapEvent3DMap(const std::map< int, Signature > &signatures, const std::map< int, Transform > &poses, const std::multimap< int, Link > &constraints)
RtabmapEventInit(const std::string &info)
const std::map< int, Transform > & getPoses() const
const UVariant & value1() const
const std::vector< std::pair< int, Transform > > & getPoses() const