Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
  • Loading branch information
caguero committed Oct 3, 2024
1 parent 144a6cf commit e0c64ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions ros_gz_bridge/launch/ros_gz_bridge.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def generate_launch_description():
)

load_composable_nodes_with_container = ComposableNodeContainer(
condition=IfCondition(PythonExpression([use_composition, ' and ', create_own_container])),
condition=IfCondition(
PythonExpression([use_composition, ' and ', create_own_container])),
name=LaunchConfiguration('container_name'),
namespace='',
package='rclcpp_components',
Expand All @@ -108,7 +109,8 @@ def generate_launch_description():
)

load_composable_nodes_without_container = LoadComposableNodes(
condition=IfCondition(PythonExpression([use_composition, ' and not ', create_own_container])),
condition=IfCondition(
PythonExpression([use_composition, ' and not ', create_own_container])),
target_container=container_name,
composable_node_descriptions=[
ComposableNode(
Expand Down
2 changes: 1 addition & 1 deletion ros_gz_bridge/ros_gz_bridge/actions/ros_gz_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def parse(cls, entity: Entity, parser: Parser):
kwargs['container_name'] = container_name

if isinstance(create_own_container, str):
create_own_container =
create_own_container = \
parser.parse_substitution(create_own_container)
kwargs['create_own_container'] = create_own_container

Expand Down

0 comments on commit e0c64ea

Please sign in to comment.