diff --git a/gazebo/rendering/Visual.cc b/gazebo/rendering/Visual.cc index c20c6ff85a..8e1d4e0bcc 100644 --- a/gazebo/rendering/Visual.cc +++ b/gazebo/rendering/Visual.cc @@ -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 diff --git a/gazebo/sensors/WideAngleCameraSensor.cc b/gazebo/sensors/WideAngleCameraSensor.cc index 650e109754..b079ac09c0 100644 --- a/gazebo/sensors/WideAngleCameraSensor.cc +++ b/gazebo/sensors/WideAngleCameraSensor.cc @@ -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( this->Topic(), 50); diff --git a/test/worlds/imu_strict_rate_test.world b/test/worlds/imu_strict_rate_test.world index 353e846d1d..486a37843e 100644 --- a/test/worlds/imu_strict_rate_test.world +++ b/test/worlds/imu_strict_rate_test.world @@ -1,5 +1,5 @@ - + model://sun