Fix output for unit test.

This commit is contained in:
James Goppert
2016-01-25 13:54:13 -05:00
parent 1778ac199c
commit ce30542dba
+1 -1
View File
@@ -93,7 +93,7 @@ int main()
// euler dcm round trip check
for (int roll=-90; roll<=90; roll+=90) {
for (int pitch=-90; pitch<=90; pitch+=90) {
for (int yaw=1; yaw<=360; yaw+=90) {
for (int yaw=-179; yaw<=180; yaw+=90) {
// note if theta = pi/2, then roll is set to zero
int roll_expected = roll;
int yaw_expected = yaw;