125 ASSERT_EQ(nao.
pitch(), 0.0);
127 ASSERT_EQ(nao.
pitch(), 5.0);
128 ASSERT_EQ(nao.
yaw(), 0.0);
130 ASSERT_EQ(nao.
yaw(), 6.0);
131 ASSERT_EQ(nao.
height(), 41.7);
133 ASSERT_EQ(nao.
height(), 7.0);
#define WRAPPER_TEST_Fs(className, strctName)
#define GU_CAMERA_PIVOT_NUM_CAMERAS
gu_camera_pivot empty_strct
GU::CameraPivot initial()
void change(GU::CameraPivot &obj)
void cchange(gu_camera_pivot &obj)
#define GU_NAO_V5_BOTTOM_CAMERA
#define GU_NAO_V5_TOP_CAMERA
#define GU_NAO_V5_HEAD(p, y)
TEST_F(CameraCoordinateTests, Equality)
void set_yaw(const degrees_d) NOEXCEPT
void set_camera(const int, const Camera) NOEXCEPT
void set_pitch(const degrees_d) NOEXCEPT
void set_height(const centimetres_d) NOEXCEPT
degrees_d yaw() const NOEXCEPT
degrees_d pitch() const NOEXCEPT
Camera camera(const int) const NOEXCEPT
centimetres_d height() const NOEXCEPT
A gu_camera_pivot represents the pivot point which a gu_camera is attached to.
degrees_d pitch
The vertical orientation of the pivot point.
degrees_d yaw
The horizontal orientation of the pivot point.
centimetres_d height
The vertical distance from the ground to the pivot point.
gu_camera cameras[2]
The gu_cameras attached to this pivot point.
int numCameras
The number of elements in cameras.
centimetres_d centerOffset
The distance the camera is from the center point.
centimetres_d height
The height from the pivot of the camera to the middle of the camera.
degrees_d hFov
The horizontal field of view.
degrees_d vFov
The vertical field of view.
degrees_d vDirection
The degree in which the camera is facing in the vertical direction.