Skip to content

Commit

Permalink
add: get MSIS fovV
Browse files Browse the repository at this point in the history
  • Loading branch information
linzha0 committed Jun 15, 2023
1 parent 9f1c726 commit 2a1c002
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/include/sensors/vision/MSIS.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ namespace sf

//! A method returning the type of the vision sensor.
VisionSensorType getVisionSensorType();

//! A method returning the vertical field of view of the MSIS [deg].
Scalar getVerticalFOV();

private:
void InitGraphics();
Expand Down
5 changes: 5 additions & 0 deletions Library/src/sensors/vision/MSIS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ VisionSensorType MSIS::getVisionSensorType()
return VisionSensorType::MSIS;
}

Scalar MSIS::getVerticalFOV()
{
return fovV;
}

void MSIS::InitGraphics()
{
glMSIS = new OpenGLMSIS(glm::vec3(0,0,0), glm::vec3(0,0,1.f), glm::vec3(0,-1.f,0),
Expand Down

0 comments on commit 2a1c002

Please sign in to comment.