|
gucoordinates
|
#include <gtest/gtest.h>#include "fff.h"#include "../gucoordinates.h"#include "fakes.h"#include "custom_fakes.h"#include <typeinfo>#include <math.h>

Go to the source code of this file.
Classes | |
| class | CGTEST::GUCoordinatesTests< Class > |
Namespaces | |
| namespace | CGTEST |
Macros | |
| #define | GU_NAO_V5_TOP_CAMERA gu_camera_make(6.364, 5.871, 1.2, 47.64, 60.97) |
| #define | GU_NAO_V5_BOTTOM_CAMERA gu_camera_make(1.774, 5.071, 39.7, 47.64, 60.97) |
| #define | GU_PEPPER_TOP_CAMERA gu_camera_make(115.3, 8.68, 0.0, 44.3, 55.2) |
| #define | GU_PEPPER_BOTTOM_CAMERA gu_camera_make(105.15, 9.36, 40.0, 44.3, 55.2) |
| #define | GU_NAO_V5_HEAD(p, y) (gu_camera_pivot) {.pitch = p, .yaw = y, .height = 41.7, .cameras = {GU_NAO_V5_TOP_CAMERA, GU_NAO_V5_BOTTOM_CAMERA}, .numCameras = 2} |
| #define | GU_NAO_V5_TOP_CAMERA_INDEX 0 |
| #define | GU_NAO_V5_BOTTOM_CAMERA_INDEX 1 |
| #define | GU_PEPPER_HEAD(p, y) {p, y, 0.0, {GU_PEPPER_TOP_CAMERA, GU_PEPPER_BOTTOM_CAMERA}, 2} |
| #define | GU_NAO_V5_ROBOT(hp, hy, x, y, t) (gu_robot) { .head = { hp, hy, 41.7, {GU_NAO_V5_TOP_CAMERA, GU_NAO_V5_BOTTOM_CAMERA}, 2 }, .position = { { x, y }, t } } |
| #define | GU_PEPPER_ROBOT(hp, hy, x, y, t) (gu_robot) { .head = { hp, hy, 0.0, {GU_PEPPER_TOP_CAMERA, GU_PEPPER_BOTTOM_CAMERA}, 2 }, .position = { { x, y }, t } } |
| #define | TEST2_F(testclassname, testname) TEST_F(testclassname, testname) |
| #define | RO3_TEST_F(className) |
| #define | RO5_TEST_Fs(className) |
| #define | testclassname(className) className##CPPTests |
| #define | equals_reset(strctName) strctName##_equals_reset(); |
| #define | equals_func(strctName) strctName##_equals |
| #define | equals_fake(strctName) strctName##_equals_fake |
| #define equals_fake | ( | strctName | ) | strctName##_equals_fake |
Definition at line 133 of file GUCoordinatesTests.hpp.
| #define equals_func | ( | strctName | ) | strctName##_equals |
Definition at line 132 of file GUCoordinatesTests.hpp.
| #define equals_reset | ( | strctName | ) | strctName##_equals_reset(); |
Definition at line 131 of file GUCoordinatesTests.hpp.
| #define GU_NAO_V5_BOTTOM_CAMERA gu_camera_make(1.774, 5.071, 39.7, 47.64, 60.97) |
Definition at line 94 of file GUCoordinatesTests.hpp.
| #define GU_NAO_V5_BOTTOM_CAMERA_INDEX 1 |
Definition at line 101 of file GUCoordinatesTests.hpp.
| #define GU_NAO_V5_HEAD | ( | p, | |
| y | |||
| ) | (gu_camera_pivot) {.pitch = p, .yaw = y, .height = 41.7, .cameras = {GU_NAO_V5_TOP_CAMERA, GU_NAO_V5_BOTTOM_CAMERA}, .numCameras = 2} |
Definition at line 99 of file GUCoordinatesTests.hpp.
| #define GU_NAO_V5_ROBOT | ( | hp, | |
| hy, | |||
| x, | |||
| y, | |||
| t | |||
| ) | (gu_robot) { .head = { hp, hy, 41.7, {GU_NAO_V5_TOP_CAMERA, GU_NAO_V5_BOTTOM_CAMERA}, 2 }, .position = { { x, y }, t } } |
Definition at line 105 of file GUCoordinatesTests.hpp.
| #define GU_NAO_V5_TOP_CAMERA gu_camera_make(6.364, 5.871, 1.2, 47.64, 60.97) |
Definition at line 93 of file GUCoordinatesTests.hpp.
| #define GU_NAO_V5_TOP_CAMERA_INDEX 0 |
Definition at line 100 of file GUCoordinatesTests.hpp.
| #define GU_PEPPER_BOTTOM_CAMERA gu_camera_make(105.15, 9.36, 40.0, 44.3, 55.2) |
Definition at line 97 of file GUCoordinatesTests.hpp.
| #define GU_PEPPER_HEAD | ( | p, | |
| y | |||
| ) | {p, y, 0.0, {GU_PEPPER_TOP_CAMERA, GU_PEPPER_BOTTOM_CAMERA}, 2} |
Definition at line 103 of file GUCoordinatesTests.hpp.
| #define GU_PEPPER_ROBOT | ( | hp, | |
| hy, | |||
| x, | |||
| y, | |||
| t | |||
| ) | (gu_robot) { .head = { hp, hy, 0.0, {GU_PEPPER_TOP_CAMERA, GU_PEPPER_BOTTOM_CAMERA}, 2 }, .position = { { x, y }, t } } |
Definition at line 107 of file GUCoordinatesTests.hpp.
| #define GU_PEPPER_TOP_CAMERA gu_camera_make(115.3, 8.68, 0.0, 44.3, 55.2) |
Definition at line 96 of file GUCoordinatesTests.hpp.
| #define RO3_TEST_F | ( | className | ) |
Definition at line 115 of file GUCoordinatesTests.hpp.
| #define RO5_TEST_Fs | ( | className | ) |
Definition at line 121 of file GUCoordinatesTests.hpp.
| #define TEST2_F | ( | testclassname, | |
| testname | |||
| ) | TEST_F(testclassname, testname) |
Definition at line 112 of file GUCoordinatesTests.hpp.
| #define testclassname | ( | className | ) | className##CPPTests |
Definition at line 130 of file GUCoordinatesTests.hpp.