28 #ifndef RTABMAPEVENT_H_ 29 #define RTABMAPEVENT_H_ 51 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEvent");}
82 parameters_(parameters){}
87 parameters_(parameters){}
93 parameters_(parameters){}
100 parameters_(parameters){}
108 parameters_(parameters){}
120 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEventCmd");}
159 const std::string &
getInfo()
const {
return _info;}
162 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEventInit");}
174 const std::map<int, Signature> & signatures,
175 const std::map<int, Transform> & poses,
176 const std::multimap<int, Link> & constraints) :
178 _signatures(signatures),
180 _constraints(constraints)
185 const std::map<int, Signature> &
getSignatures()
const {
return _signatures;}
186 const std::map<int, Transform> &
getPoses()
const {
return _poses;}
189 virtual std::string
getClassName()
const {
return std::string(
"RtabmapEvent3DMap");}
202 _planningTime(0.0) {}
205 const std::vector<std::pair<int, Transform> > & poses,
206 double planningTime) :
209 _planningTime(planningTime) {}
212 const std::string & goalLabel,
213 const std::vector<std::pair<int, Transform> > & poses,
214 double planningTime) :
216 _goalLabel(goalLabel),
218 _planningTime(planningTime) {}
224 const std::vector<std::pair<int, Transform> > &
getPoses()
const {
return _poses;}
225 virtual std::string
getClassName()
const {
return std::string(
"RtabmapGlobalPathEvent");}
229 std::vector<std::pair<int, Transform> >
_poses;
242 const std::string &
label()
const {
return _label;}
243 virtual std::string
getClassName()
const {
return std::string(
"RtabmapLabelErrorEvent");}
256 virtual std::string
getClassName()
const {
return std::string(
"RtabmapGoalStatusEvent");}
const std::map< int, Transform > & getPoses() const
virtual std::string getClassName() const
const UVariant & value2() const
const std::string & getInfo() const
virtual std::string getClassName() const
const ParametersMap & getParameters() const
const Statistics & getStats() const
const UVariant & value3() 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
const UVariant & value1() const
std::map< int, Transform > _poses
RtabmapLabelErrorEvent(int id, const std::string &label)
virtual ~RtabmapEvent3DMap()
virtual std::string getClassName() const
const std::string & getGoalLabel() const
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())
double getPlanningTime() const
std::map< int, Signature > _signatures
virtual ~RtabmapGlobalPathEvent()
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())
const UVariant & value4() const
const std::vector< std::pair< int, Transform > > & getPoses() const
virtual ~RtabmapEventCmd()
std::vector< std::pair< int, Transform > > _poses
virtual std::string getClassName() const
virtual ~RtabmapGoalStatusEvent()
virtual std::string getClassName() const
RtabmapGoalStatusEvent(int status)
const std::string & label() const
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)
virtual std::string getClassName() const
const std::map< int, Signature > & getSignatures() const