Skip to content

Commit

Permalink
gzserver.launch.py: add initial_sim_time argument
Browse files Browse the repository at this point in the history
Expose gzserver CLI parameter added in
gazebosim/gazebo-classic#3294.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters authored Mar 1, 2023
1 parent f1e0f35 commit 207919c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gazebo_ros/launch/gzserver.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def generate_launch_description():
_boolean_command('lockstep'),
_boolean_command('help'),
_boolean_command('pause'),
_arg_command('initial_sim_time'), LaunchConfiguration('initial_sim_time'),
_arg_command('physics'), LaunchConfiguration('physics'),
_arg_command('play'), LaunchConfiguration('play'),
_boolean_command('record'),
Expand Down Expand Up @@ -107,6 +108,10 @@ def generate_launch_description():
'help', default_value='false',
description='Set "true" to produce gzserver help message.'
),
DeclareLaunchArgument(
'initial_sim_time', default_value='',
description='Specify the initial simulation time (seconds).'
),
DeclareLaunchArgument(
'pause', default_value='false',
description='Set "true" to start the server in a paused state.'
Expand Down

0 comments on commit 207919c

Please sign in to comment.