15 namespace mrpt {
namespace graphslam {
namespace detail {
17 template<
class GRAPH_T>
19 typename GRAPH_T::global_pose_t
pose;
20 mrpt::obs::CObservation2DRangeScanPtr
scan;
23 this->pose = other.
pose;
24 this->scan = other.
scan;
31 *str +=
mrpt::format(
"Pose: %s|\t", this->pose.asString().c_str());
32 if (this->scan.present()) {
33 *str +=
mrpt::format(
"Scan #%lu", this->scan->getScanSize());
47 o <<
obj.getAsString() << endl;
GRAPH_T::global_pose_t pose
void getAsString(std::string *str) const
friend std::ostream & operator<<(std::ostream &o, const TNodeProps &obj)
GLsizei GLsizei GLuint * obj
std::string getAsString() const
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
TNodeProps operator=(const TNodeProps &other)
mrpt::obs::CObservation2DRangeScanPtr scan