22 #include <asr_recognizer_prediction_ism/rp_ism_nodeConfig.h> 36 int main(
int argc,
char **argv)
40 ROS_INFO(
"Initializing ROS node for rp_ism_node");
44 unsigned concurent_threads_supported = std::thread::hardware_concurrency();
45 ROS_INFO_STREAM(
"RP_ISM: Number of Threads: " << concurent_threads_supported);
49 std::vector<ISM::RecognitionResultPtr> resultsAlreadyInSharedMem;
54 ROS_DEBUG_NAMED(
"rp_ism_node",
"rp_ism_node: Initializing ism scene recognition.");
55 SceneRecognition scene_recognition(resultsAlreadyInSharedMem, shared_memory);
57 ROS_DEBUG_NAMED(
"rp_ism_node",
"rp_ism_node: Initializing ism pose prediction.");
58 PosePrediction pose_prediction(resultsAlreadyInSharedMem, shared_memory);
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void mySigintHandler(int sig)
#define ROS_DEBUG_NAMED(name,...)
#define ROS_INFO_STREAM(args)
boost::shared_ptr< SharedRecognitionResultsManager > SharedRecognitionResultsManagerPtr
ROSCPP_DECL void shutdown()
ROSCPP_DECL void waitForShutdown()