object_config.cpp
Go to the documentation of this file.
1 
18 #include <object_config.h>
19 
20 namespace fake_object_recognition {
21 
22 ObjectConfig::ObjectConfig(const std::string &type, const std::string id, const geometry_msgs::Pose &pose, const std::string &mesh_name) : type_(type), id_(id), pose_(pose), mesh_name_(mesh_name),
23  normals_(std::vector<geometry_msgs::Point>()), bb_corners_(std::vector<geometry_msgs::Point>()) { }
24 
25 std::string ObjectConfig::getType() const {
26  return type_;
27 }
28 
29 std::string ObjectConfig::getId() const {
30  return id_;
31 }
32 
33 geometry_msgs::Pose ObjectConfig::getPose() const {
34  return pose_;
35 }
36 
37 std::string ObjectConfig::getMeshName() const {
38  return mesh_name_;
39 }
40 
41 }
geometry_msgs::Pose getPose() const
Return the pose of the object.
std::string getMeshName() const
Return the mesh path of the object.
ObjectConfig(const std::string &type, const std::string id, const geometry_msgs::Pose &pose, const std::string &mesh_name)
The constructor of this class.
std::string getId() const
Return the id of the object.
std::string getType() const
Return the name of the object.


asr_fake_object_recognition
Author(s): Allgeyer Tobias, Aumann Florian, Borella Jocelyn, Meißner Pascal, Qattan Mohamad
autogenerated on Wed Feb 19 2020 03:58:59