You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/slamware_sdk/include/rpos/features/motion_planner/path.h

43 lines
820 B

/**
* path.h
* Path represents a route from somewhere to somewhere
*
* Created By Tony Huang @ 2014-5-22
* Copyright (c) 2014 Shanghai SlamTec Co., Ltd.
*/
#pragma once
#include <rpos/rpos_config.h>
#include <rpos/system/object_handle.h>
#include <rpos/core/pose.h>
#include <vector>
namespace rpos {
namespace features {
namespace motion_planner {
namespace detail {
class PathImpl;
}
class RPOS_CORE_API Path : public rpos::system::ObjectHandle<Path, detail::PathImpl>{
public:
RPOS_OBJECT_CTORS(Path);
Path(const std::vector<core::Location>& points);
#ifdef RPOS_HAS_RVALUE_REFS
Path(std::vector<core::Location>&& points);
#endif
~Path();
public:
const std::vector<core::Location>& getPoints() const;
Path truncate(unsigned int size);
};
}
}
}