00001 00011 #include <carl_navigation/location.hpp> 00012 00013 location::location(int id, std::string name, geometry_msgs::Pose pose) : 00014 name_(name), pose_(pose) 00015 { 00016 this->id_ = id; 00017 } 00018 00019 int location::get_id() 00020 { 00021 return this->id_; 00022 } 00023 00024 std::string &location::get_name() 00025 { 00026 return this->name_; 00027 } 00028 00029 geometry_msgs::Pose &location::get_pose() 00030 { 00031 return this->pose_; 00032 }