#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <asr_msgs/AsrAttributedPointCloud.h>
#include <asr_msgs/AsrObject.h>
#include <inference/SceneInferenceEngine.h>
#include <inference/model/SceneIdentifier.h>
#include <asr_recognizer_prediction_psm/recognizer_prediction_psm.h>
#include <asr_recognizer_prediction_psm/psm_node.h>
Go to the source code of this file.
Functions | |
void | doPrediction (std::vector< ProbabilisticSceneRecognition::SceneIdentifier > &pSceneList, asr_recognizer_prediction_psm::psm_node::Request &req, asr_recognizer_prediction_psm::psm_node::Response &res) |
std::vector< ProbabilisticSceneRecognition::SceneIdentifier > | doPSMInference (asr_recognizer_prediction_psm::psm_node::Request &req) |
bool | getNumberOfUnobservedObjects () |
int | main (int argc, char **argv) |
bool | run (asr_recognizer_prediction_psm::psm_node::Request &req, asr_recognizer_prediction_psm::psm_node::Response &res) |
void doPrediction | ( | std::vector< ProbabilisticSceneRecognition::SceneIdentifier > & | pSceneList, |
asr_recognizer_prediction_psm::psm_node::Request & | req, | ||
asr_recognizer_prediction_psm::psm_node::Response & | res | ||
) |
Set the parameter for the service call
Call the service call an collect the results
Set the response msg
Definition at line 95 of file psm_node_server.cpp.
std::vector<ProbabilisticSceneRecognition::SceneIdentifier> doPSMInference | ( | asr_recognizer_prediction_psm::psm_node::Request & | req | ) |
Copyright (c) 2016, Braun Kai, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Create and execute inference engine.
get the probabilities
Definition at line 28 of file psm_node_server.cpp.
bool getNumberOfUnobservedObjects | ( | ) |
Definition at line 191 of file psm_node_server.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 199 of file psm_node_server.cpp.
bool run | ( | asr_recognizer_prediction_psm::psm_node::Request & | req, |
asr_recognizer_prediction_psm::psm_node::Response & | res | ||
) |
Definition at line 175 of file psm_node_server.cpp.