Skip to content

Commit

Permalink
Fixed error in epuck entity
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarattoni committed Sep 21, 2017
1 parent 773798b commit bf7af20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/robots/e-puck/simulator/epuck_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ CEPuckEntity::CEPuckEntity(const std::string& str_id,
m_pcOmnidirectionalCameraEquippedEntity = new COmnidirectionalCameraEquippedEntity(this,
"omnidirectional_camera_0",
ToRadians(cAperture),
CVector3(0.0f, 0.0f, OMNIDIRECTIONAL_CAMERA_ELEVATION),CQuaternion().FromEulerAngles(CRadians::ZERO,CRadians::ZERO,CRadians::ZERO));
CVector3(0.0f, 0.0f, OMNIDIRECTIONAL_CAMERA_ELEVATION));
AddComponent(*m_pcOmnidirectionalCameraEquippedEntity);

/* IRCom equipped entity */
Expand All @@ -182,7 +182,7 @@ CEPuckEntity::CEPuckEntity(const std::string& str_id,
0.05f,
m_pcEmbodiedEntity->GetOriginAnchor(),
*m_pcEmbodiedEntity,
CVector3(0.0f, 0.0f, RAB_ELEVATION));
CVector3(0.0f, 0.0f, RAB_ELEVATION),CQuaternion().FromEulerAngles(CRadians::ZERO,CRadians::ZERO,CRadians::ZERO));
AddComponent(*m_pcIRComEquippedEntity);
m_pcIRComEquippedEntity->Disable();

Expand Down

0 comments on commit bf7af20

Please sign in to comment.