Functions
psm_node_server.cpp File Reference
#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>
Include dependency graph for psm_node_server.cpp:

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)
 

Function Documentation

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:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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.



asr_recognizer_prediction_psm
Author(s): Braun Kai, Meißner Pascal
autogenerated on Wed Feb 19 2020 03:31:30