Skip to content

Commit

Permalink
Undeprecate use of commandline flags (#491)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Jan 30, 2024
1 parent e348e3b commit 2dca358
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ros_gz_sim/src/create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,8 @@ int main(int _argc, char ** _argv)
ros2_node->get_logger(), "Must specify either -file, -param, -string or -topic");
return -1;
}
RCLCPP_WARN(
ros2_node->get_logger(),
"Usage of Commandline flags for spawning entities is deprecated. Please use ROS 2 parameters."
);
// TODO(azeey) Deprecate use of command line flags in ROS 2 K-turtle in
// favor of ROS 2 parameters.
} else {
RCLCPP_ERROR(
ros2_node->get_logger(), "Must specify either file, string or topic as ROS 2 parameters");
Expand Down

0 comments on commit 2dca358

Please sign in to comment.