Skip to content

Commit

Permalink
add ptp param
Browse files Browse the repository at this point in the history
Signed-off-by: yuki.takagi@car_8 <[email protected]>
  • Loading branch information
yuki-takagi-66 committed Feb 22, 2024
1 parent 2e0edd2 commit 106edb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common_sensor_launch/launch/hesai_OT128.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@
<arg name="use_intra_process" value="true"/>
<arg name="use_multithread" value="true"/>
<arg name="container_name" value="$(var container_name)"/>
<arg name="ptp_profile" value="802.1as"/>
<arg name="ptp_transport_type" value="L2"/>
</include>
</launch>
5 changes: 5 additions & 0 deletions common_sensor_launch/launch/nebula_node_container.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ def create_parameter_dict(*args):
"packet_mtu_size",
"dual_return_distance_threshold",
"setup_sensor",
"ptp_profile",
"ptp_transport_type",
),
}
],
Expand Down Expand Up @@ -283,6 +285,9 @@ def add_launch_arg(name: str, default_value=None, description=None):
add_launch_arg("use_multithread", "False", "use multithread")
add_launch_arg("use_intra_process", "False", "use ROS 2 component container communication")
add_launch_arg("container_name", "nebula_node_container")
add_launch_arg("ptp_profile", "1588v2")
add_launch_arg("ptp_transport_type", "L2")


set_container_executable = SetLaunchConfiguration(
"container_executable",
Expand Down

0 comments on commit 106edb7

Please sign in to comment.