Skip to content

Commit

Permalink
Merge branch 'ros2' into ros_gz_migration-shims
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina committed Aug 10, 2022
2 parents 75c5828 + 44f8ea9 commit 554cf11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ros_gz_image/src/image_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ int main(int argc, char * argv[])

std::vector<std::shared_ptr<Handler>> handlers;

// skip the process name in argument procesing
++argv;
--argc;
auto args = rclcpp::remove_ros_arguments(argc, argv);

// Create publishers and subscribers
Expand Down

0 comments on commit 554cf11

Please sign in to comment.