#include <marker_manager.h>
Signals | |
void | markerFound (std::string markerNumber, const Eigen::Matrix4d &transformation) |
Public Member Functions | |
Marker_Manager (double timeout, double earlyabort_timeout, QObject *parent=0) | |
void | markerRecognitionCallback (const asr_msgs::AsrObject::ConstPtr object) |
void | run () |
Private Member Functions | |
bool | getRecognizer () |
bool | releaseRecognizer () |
Private Attributes | |
ros::Subscriber | a |
ros::ServiceClient | client_GetRecognizer |
ros::ServiceClient | client_ReleaseRecognizer |
double | earlyabort_timeout |
ros::NodeHandle | nh |
bool | recognizedMarker |
double | timeout |
Copyright (c) 2016, Aumann Florian, Heller Florian, 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.
Definition at line 35 of file marker_manager.h.
Marker_Manager::Marker_Manager | ( | double | timeout, |
double | earlyabort_timeout, | ||
QObject * | parent = 0 |
||
) |
Copyright (c) 2016, Aumann Florian, Heller Florian, 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.
Definition at line 21 of file marker_manager.cpp.
bool Marker_Manager::getRecognizer | ( | ) | [private] |
Definition at line 95 of file marker_manager.cpp.
void Marker_Manager::markerFound | ( | std::string | markerNumber, |
const Eigen::Matrix4d & | transformation | ||
) | [signal] |
void Marker_Manager::markerRecognitionCallback | ( | const asr_msgs::AsrObject::ConstPtr | object | ) |
Definition at line 75 of file marker_manager.cpp.
bool Marker_Manager::releaseRecognizer | ( | ) | [private] |
Definition at line 88 of file marker_manager.cpp.
void Marker_Manager::run | ( | ) |
Definition at line 42 of file marker_manager.cpp.
ros::Subscriber Marker_Manager::a [private] |
Definition at line 51 of file marker_manager.h.
Definition at line 45 of file marker_manager.h.
Definition at line 44 of file marker_manager.h.
double Marker_Manager::earlyabort_timeout [private] |
Definition at line 53 of file marker_manager.h.
ros::NodeHandle Marker_Manager::nh [private] |
Definition at line 46 of file marker_manager.h.
bool Marker_Manager::recognizedMarker [private] |
Definition at line 50 of file marker_manager.h.
double Marker_Manager::timeout [private] |
Definition at line 52 of file marker_manager.h.