Skip to content

Commit

Permalink
increased rate monitoring tolerance to 20%
Browse files Browse the repository at this point in the history
  • Loading branch information
Quasi Developer committed Dec 5, 2023
1 parent 9aeb75e commit 7ba1d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions realsense2_camera/include/ros_sensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace realsense2_camera
FrequencyDiagnostics(std::string name, int expected_frequency, std::shared_ptr<diagnostic_updater::Updater> updater):
_name(name),
_min_freq(expected_frequency), _max_freq(expected_frequency),
_freq_status_param(&_min_freq, &_max_freq, 0.1, 10),
_freq_status_param(&_min_freq, &_max_freq, 0.2, 10),
_freq_status(_freq_status_param, _name),
_p_updater(updater)
{
Expand All @@ -46,7 +46,7 @@ namespace realsense2_camera
_name(other._name),
_min_freq(other._min_freq),
_max_freq(other._max_freq),
_freq_status_param(&_min_freq, &_max_freq, 0.1, 10),
_freq_status_param(&_min_freq, &_max_freq, 0.2, 10),
_freq_status(_freq_status_param, _name),
_p_updater(other._p_updater)
{
Expand Down

0 comments on commit 7ba1d6d

Please sign in to comment.