20 #include <boost/shared_ptr.hpp> 21 #include <rapidxml.hpp> 28 #include <helper/ObjectTransformation.h> 29 #include <asr_msgs/AsrObject.h> 30 #include <asr_msgs/AsrAttributedPoint.h> 58 ASR::asrSceneGraphNodePtr
root;
89 std::string sceneName,
92 std::string base_frame);
106 std::string sceneName,
107 std::string reference_object_name,
108 Eigen::Vector3f reference_object_position,
109 Eigen::Vector4f reference_object_orientation,
111 std::string base_frame);
134 void publishHypothesisMessages(std::vector<ASR::AttributedPoint> hypothesis_list);
142 void collectPoseHypothesesRecursive(std::vector<ASR::AttributedPoint> &out_hypotheses,
143 std::vector<ASR::AttributedPoint> &out_found_objects);
151 void calcHypotheses();
159 unsigned int distributeVotes();
169 bool observeObject(std::string object_name, Eigen::Vector3f position, Eigen::Vector4f orientation);
191 void init(std::string sceneName,
192 std::string reference_object_name,
193 Eigen::Vector3f reference_object_position,
194 Eigen::Vector4f reference_object_orientation,
195 std::string base_frame);
201 void traverseSceneShapeRecursive(std::string parent_name, xml_node<> * parent_node, ASR::asrSceneGraphNodePtr root);
210 void initVectorFromCSVString(std::vector<float> &
x, std::string csv);
218 MatrixXf initMatrixXf(std::vector<float>
values,
unsigned int rows,
unsigned int cols);
std::vector< double > values
ASR::asrSceneGraphNodePtr root
ASR::asrSceneGraphNodePtr getSceneGraphRoot()
unsigned int getNumberOfMissingObjects()
ProbabilisticSceneRecognition::ObjectTransformation mObjectTransform
int number_objects_in_scene
std::vector< boost::shared_ptr< asr_msgs::AsrObject > > evidence_buffer
TFSIMD_FORCE_INLINE const tfScalar & x() const
std::string publish_hypothesis_topic
bool print_debug_messages
boost::shared_ptr< asrPosePredictionEngine > asrPosePredictionEnginePtr
ros::Publisher hypothesis_publisher
int number_obsereved_objects
std::string reference_object