Skip to content

Commit

Permalink
fix for wide angle camera
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Jul 17, 2020
1 parent a0ed0a6 commit b351913
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gazebo/rendering/Visual.cc
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,8 @@ void Visual::SetScale(const ignition::math::Vector3d &_scale)
}
else
{
gzerr << Name() << ": Size of the collision contains one or several zeros." <<
" Collisions may not visualize properly." << std::endl;
gzerr << Name() << ": Size of the collision contains one or several zeros."
<< " Collisions may not visualize properly." << std::endl;
}
// Scale selection object in case we have one attached. Other children were
// scaled from UpdateGeomSize
Expand Down
2 changes: 1 addition & 1 deletion gazebo/sensors/WideAngleCameraSensor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void WideAngleCameraSensor::Init()
//////////////////////////////////////////////////
void WideAngleCameraSensor::Load(const std::string &_worldName)
{
Sensor::Load(_worldName);
CameraSensor::Load(_worldName);
this->imagePub = this->node->Advertise<msgs::ImageStamped>(
this->Topic(), 50);

Expand Down
2 changes: 1 addition & 1 deletion test/worlds/imu_strict_rate_test.world
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<sdf version="1.4">
<sdf version="1.6">
<world name="default">
<include>
<uri>model://sun</uri>
Expand Down

0 comments on commit b351913

Please sign in to comment.