Skip to content

Commit

Permalink
add pre-commit changes after the rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed May 11, 2024
1 parent d3e2e86 commit c357aeb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hardware_interface/src/resource_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class ResourceStorage
component_info.is_async = hardware_info.is_async;

hardware_info_map_.insert(std::make_pair(component_info.name, component_info));
hw_group_state_.insert(std::make_pair(component_info.group, return_type:OK));
hw_group_state_.insert(std::make_pair(component_info.group, return_type::OK));
hardware_used_by_controllers_.insert(
std::make_pair(component_info.name, std::vector<std::string>()));
is_loaded = true;
Expand Down Expand Up @@ -1612,7 +1612,8 @@ HardwareReadWriteStatus ResourceManager::read(
{
ret_val = component.read(time, period);
const auto component_group = component.get_group_name();
ret_val = resource_storage_->update_hardware_component_group_state(component_group, ret_val);
ret_val =
resource_storage_->update_hardware_component_group_state(component_group, ret_val);
}
catch (const std::exception & e)
{
Expand Down Expand Up @@ -1672,7 +1673,8 @@ HardwareReadWriteStatus ResourceManager::write(
{
ret_val = component.write(time, period);
const auto component_group = component.get_group_name();
ret_val = resource_storage_->update_hardware_component_group_state(component_group, ret_val);
ret_val =
resource_storage_->update_hardware_component_group_state(component_group, ret_val);
}
catch (const std::exception & e)
{
Expand Down

0 comments on commit c357aeb

Please sign in to comment.