Skip to content

Commit

Permalink
Merge pull request rtv#97 from wyca-robotics/fix_x_y_camera
Browse files Browse the repository at this point in the history
fix_x_y_camera
  • Loading branch information
rtv authored Nov 11, 2020
2 parents 7ff76b4 + a59d33c commit e7d1c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libstage/model_camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ bool ModelCamera::GetFrame(void)
float height = GetGlobalPose().z;
// TODO reposition the camera so it isn't inside the model ( or don't draw the
// parent when calling renderframe )
_camera.setPose(parent->GetGlobalPose().x, parent->GetGlobalPose().y,
_camera.setPose(GetGlobalPose().x, GetGlobalPose().y,
height); // TODO use something smarter than a #define - make
// it configurable
_camera.setYaw(rtod(parent->GetGlobalPose().a) - 90.0
Expand Down

0 comments on commit e7d1c09

Please sign in to comment.