Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
Signed-off-by: Sho Iwasawa <[email protected]>
  • Loading branch information
zusizusi committed Oct 28, 2024
1 parent a2f1f76 commit 6ce6e7b
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions common_sensor_launch/launch/nebula_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,36 +129,6 @@ def create_parameter_dict(*args):
)
)

nodes.append(
ComposableNode(
package="nebula_ros",
plugin=sensor_make + "HwMonitorRosWrapper",
name=sensor_make.lower() + "_hw_monitor_ros_wrapper_node",
parameters=[
{
"sensor_model": sensor_model,
**create_parameter_dict(
"return_mode",
"frame_id",
"scan_phase",
"sensor_ip",
"host_ip",
"data_port",
"gnss_port",
"packet_mtu_size",
"rotation_speed",
"cloud_min_angle",
"cloud_max_angle",
"diag_span",
"dual_return_distance_threshold",
"delay_monitor_ms",
),
},
],
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
)
)

# There is an issue where hw_monitor crashes due to data race,
# so the monitor will now only be launched when explicitly specified with a launch command.
launch_hw_monitor: bool = IfCondition(LaunchConfiguration("launch_hw_monitor")).evaluate(
Expand Down

0 comments on commit 6ce6e7b

Please sign in to comment.