nerian_stereo_nodelet.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2021 Nerian Vision GmbH
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *******************************************************************************/
14 
15 #include <nodelet/nodelet.h>
17 
18 namespace nerian_stereo {
19 
21 public:
25  void stereoIteration(const ros::TimerEvent&);
29  virtual void onInit();
30 private:
31  // The nodelet does not initialize its own node handles
32  inline ros::NodeHandle& getNH() override { return nodelet::Nodelet::getNodeHandle(); }
35 };
36 
37 } // namespace
38 
void stereoIteration(const ros::TimerEvent &)
Callback for the ros::Timer that replaces a processing loop in Nodelets; wraps processOneImageSet() ...
ros::NodeHandle & getPrivateNodeHandle() const
ros::NodeHandle & getNH() override
ros::NodeHandle & getNodeHandle() const
A driver node that receives data from Nerian stereo devices and forwards it to ROS.
virtual void onInit()
Nodelet initialization: performs ROS parameter/dynamic_reconfigure init, connects to image service...
ros::NodeHandle & getPrivateNH() override


nerian_stereo
Author(s): Nerian Vision Technologies
autogenerated on Fri Apr 16 2021 02:11:19