Skip to content

Commit

Permalink
Fixed rotation of the shperical coordinate frame.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandareid committed May 22, 2024
1 parent 64690e3 commit 3834e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosflight_sim/src/sil_board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void SILBoard::sensors_init()
sph_coord_.SetLongitudeReference(Ang(deg2Rad(origin_longitude_)));
sph_coord_.SetElevationReference(origin_altitude_);
// Force x-axis to be north-aligned. I promise, I will change everything to ENU in the next commit
sph_coord_.SetHeadingOffset(Ang(-M_PI / 2.0));
sph_coord_.SetHeadingOffset(Ang(M_PI / 2.0));
}

uint16_t SILBoard::num_sensor_errors() { return 0; }
Expand Down

0 comments on commit 3834e74

Please sign in to comment.