#include "gtest/gtest.h"
#include "ros/ros.h"
#include "helper/pose_helper.hpp"
#include <math.h>
#include <boost/shared_ptr.hpp>
#include <boost/thread/thread.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <eigen3/Eigen/Geometry>
#include "asr_robot_model_services/GetDistance.h"
Go to the source code of this file.
Classes | |
class | PoseHelperSetup |
Macros | |
#define | EPSILON 0.001 |
Functions | |
int | advertiseService () |
bool | getDistance (asr_robot_model_services::GetDistance::Request &req, asr_robot_model_services::GetDistance::Response &res) |
TEST_F (PoseHelperSetup, CalcDistPositionEucl) | |
TEST_F (PoseHelperSetup, CalcAngularDistanceInRad) | |
TEST_F (PoseHelperSetup, CheckViewCenterPointsAreApproxEquale) | |
TEST_F (PoseHelperSetup, ResetInstance) | |
Variables | |
bool | hasAdvertised |
#define EPSILON 0.001 |
Copyright (c) 2016, Borella Jocelyn, Karrenbauer Oliver, 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.
Definition at line 30 of file pose_helper_test.cpp.
int advertiseService | ( | ) |
Definition at line 161 of file pose_helper_test.cpp.
bool getDistance | ( | asr_robot_model_services::GetDistance::Request & | req, |
asr_robot_model_services::GetDistance::Response & | res | ||
) |
Definition at line 155 of file pose_helper_test.cpp.
TEST_F | ( | PoseHelperSetup | , |
CalcDistPositionEucl | |||
) |
Definition at line 62 of file pose_helper_test.cpp.
TEST_F | ( | PoseHelperSetup | , |
CalcAngularDistanceInRad | |||
) |
Definition at line 89 of file pose_helper_test.cpp.
TEST_F | ( | PoseHelperSetup | , |
CheckViewCenterPointsAreApproxEquale | |||
) |
Definition at line 116 of file pose_helper_test.cpp.
TEST_F | ( | PoseHelperSetup | , |
ResetInstance | |||
) |
Definition at line 172 of file pose_helper_test.cpp.
bool hasAdvertised |
Definition at line 159 of file pose_helper_test.cpp.