Skip to content

Commit

Permalink
fix uncrustify but maybe break codecheck.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti committed Jan 31, 2024
1 parent 2c0af24 commit 0d1108d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ros_gz_bridge/src/convert/ros_gz_interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,9 @@ convert_gz_to_ros(
const gz::msgs::MaterialColor & gz_msg,
ros_gz_interfaces::msg::MaterialColor & ros_msg)
{
if (gz_msg.entity_match() ==
gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_FIRST) {
if (gz_msg.entity_match() == gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_FIRST) {
ros_msg.entity_match = ros_gz_interfaces::msg::MaterialColor::FIRST;
} else if (gz_msg.entity_match() ==
gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_ALL) {
} else if (gz_msg.entity_match() == gz::msgs::MaterialColor::EntityMatch::MaterialColor_EntityMatch_ALL) {
ros_msg.entity_match = ros_gz_interfaces::msg::MaterialColor::ALL;
} else {
std::cerr << "Unsupported EntityMatch [" <<
Expand Down

0 comments on commit 0d1108d

Please sign in to comment.