Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ut_math error #65

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions flight/tests/math/coordinateconversiontest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <stdio.h> /* printf */
#include <stdlib.h> /* abort */
#include <string.h> /* memset */
#include <stdint.h>

extern "C" {
#include <inc/CoordinateConversions.h>
Expand Down Expand Up @@ -37,7 +38,7 @@ TEST_F(CoordinateConversionsTestRaw, LLA2ECEF) {
int32_t LLAi[3] = {
419291818,
125571688,
50 * 1e4
500000
};
int32_t LLAfromECEF[3];

Expand All @@ -56,14 +57,14 @@ TEST_F(CoordinateConversionsTestRaw, LLA2NED) {
int32_t LLAi[3] = {
419291818,
125571688,
50 * 1e4
50000
};
int32_t LLAfromNED[3];

int32_t HomeLLAi[3] = {
419291600,
125571300,
24 * 1e4
24000
};

float Rne[3][3];
Expand Down