Skip to content

Commit

Permalink
Make Linters happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kvkpraneeth committed Jul 21, 2022
1 parent d4afc58 commit 455b464
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hardware_interface/src/mock_components/generic_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ CallbackReturn GenericSystem::on_init(const hardware_interface::HardwareInfo & i
{
// check if fake_sensor_commands was set instead and issue warning.
it = info_.hardware_parameters.find("fake_sensor_commands");
if(it != info_.hardware_parameters.end())
if (it != info_.hardware_parameters.end())
{
use_mock_sensor_command_interfaces_ = it->second == "true" || it->second == "True";
RCUTILS_LOG_WARN_NAMED(
"fake_generic_system",
"Parameter 'fake_sensor_commands' has been deprecated from usage. Use 'mock_sensor_commands' instead.");
"Parameter 'fake_sensor_commands' has been deprecated from usage. Use"
"'mock_sensor_commands' instead.");
}
else
{
Expand Down

0 comments on commit 455b464

Please sign in to comment.