Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions gazebo_plugins/src/gazebo_ros_block_laser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ void GazeboRosBlockLaser::Load(sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
this->update_rate_ = 0;
}
else
{
this->update_rate_ = _sdf->GetElement("updateRate")->Get<double>();
// FIXME: update the update_rate_

this->parent_ray_sensor_->SetUpdateRate(this->update_rate_);
}

this->laser_connect_count_ = 0;

Expand Down