Skip to content

Commit

Permalink
Merge branch 'ros2' into ros_gz_migration-mv
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 1f936b9 + 44f8ea9 commit 2b560e2
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 2b560e2

Please sign in to comment.