Skip to content

Commit

Permalink
Merge pull request #9 from tier4/feat/change_ins_connection
Browse files Browse the repository at this point in the history
change launch, ptpd ansible
  • Loading branch information
manato authored Jul 21, 2024
2 parents d9a8258 + 0a30e20 commit 74c40fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions ansible/setup-drs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@
vars:
ptpd_host_interfaces:
- eth0
when: drs_ecu_id == '0'
when: drs_ecu_id == '1'
- role: ptpd_client
vars:
ptpd_client_interfaces:
- eth1
when: drs_ecu_id == '0'
when: drs_ecu_id == '1'
- role: ptpd_client
vars:
ptpd_client_interfaces:
- eth0
when: drs_ecu_id == '1'
when: drs_ecu_id == '0'
- role: ssh_key_gen
when: drs_ecu_id == '0'
- role: visudo_for_no_password
Expand Down
5 changes: 0 additions & 5 deletions src/drs_launch/launch/drs_ecu0.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
<arg name="launch_driver" value="$(var live_sensor)"/>
</include>

<!-- INS -->
<include file="$(find-pkg-share drs_launch)/launch/component/ins.launch.xml">
<arg name="launch_driver" value="$(var live_sensor)"/>
</include>

<!-- topic monitor -->
<node pkg="ros_topic_monitor" exec="ros_topic_monitor">
<param name="topic_list" value="/opt/drs/record_topics_ecu0.yaml"/>
Expand Down
5 changes: 5 additions & 0 deletions src/drs_launch/launch/drs_ecu1.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@
<arg name="host_ip" value="192.168.3.2"/>
</include>

<!-- INS -->
<include file="$(find-pkg-share drs_launch)/launch/component/ins.launch.xml">
<arg name="launch_driver" value="$(var live_sensor)"/>
</include>

<!-- topic monitor -->
<node pkg="ros_topic_monitor" exec="ros_topic_monitor">
<param name="topic_list" value="/opt/drs/record_topics_ecu1.yaml"/>
Expand Down

0 comments on commit 74c40fe

Please sign in to comment.