|
21 | 21 |
|
22 | 22 | def generate_launch_description(): |
23 | 23 | return launch.LaunchDescription([ |
24 | | - launch.actions.DeclareLaunchArgument( |
25 | | - 'modelfile', |
26 | | - description='Path to modelfile'), |
27 | | - launch.actions.DeclareLaunchArgument( |
28 | | - 'debug', |
29 | | - default_value='false', |
30 | | - description='Debug'), |
31 | | - launch.actions.DeclareLaunchArgument( |
32 | | - 'verbose', |
33 | | - default_value='false', |
34 | | - description='Print mode parametrization'), |
35 | | - launch.actions.DeclareLaunchArgument( |
36 | | - 'rate', |
37 | | - default_value='1000', |
38 | | - description='Monitor refresh rate in ms'), |
39 | | - launch_ros.actions.Node( |
40 | | - package='system_modes', |
41 | | - executable='mode_monitor', |
42 | | - parameters=[{ |
43 | | - 'modelfile': launch.substitutions.LaunchConfiguration('modelfile'), |
44 | | - 'debug': launch.substitutions.LaunchConfiguration('debug'), |
45 | | - 'verbose': launch.substitutions.LaunchConfiguration('verbose'), |
46 | | - 'rate': launch.substitutions.LaunchConfiguration('rate') |
47 | | - }], |
48 | | - output='screen')]) |
| 24 | + launch.actions.DeclareLaunchArgument( |
| 25 | + 'modelfile', |
| 26 | + description='Path to modelfile'), |
| 27 | + launch.actions.DeclareLaunchArgument( |
| 28 | + 'debug', |
| 29 | + default_value='false', |
| 30 | + description='Debug'), |
| 31 | + launch.actions.DeclareLaunchArgument( |
| 32 | + 'verbose', |
| 33 | + default_value='false', |
| 34 | + description='Print mode parametrization'), |
| 35 | + launch.actions.DeclareLaunchArgument( |
| 36 | + 'rate', |
| 37 | + default_value='1000', |
| 38 | + description='Monitor refresh rate in ms'), |
| 39 | + launch_ros.actions.Node( |
| 40 | + package='system_modes', |
| 41 | + executable='mode_monitor', |
| 42 | + parameters=[{ |
| 43 | + 'modelfile': launch.substitutions.LaunchConfiguration('modelfile'), |
| 44 | + 'debug': launch.substitutions.LaunchConfiguration('debug'), |
| 45 | + 'verbose': launch.substitutions.LaunchConfiguration('verbose'), |
| 46 | + 'rate': launch.substitutions.LaunchConfiguration('rate') |
| 47 | + }], |
| 48 | + output='screen')]) |
0 commit comments