Skip to content

Commit d182d1a

Browse files
ipa-rwuipa-nhg
authored andcommitted
fix ROS_HOSTNAME in docker-compose
1 parent 408d6c2 commit d182d1a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/de.fraunhofer.ipa.rossystem.deployment/src/de/fraunhofer/ipa/rossystem/deployment/DockerComposeCompiler.xtend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
- ros-master
3838
environment:
3939
- "ROS_MASTER_URI=http://ros-master:11311"
40-
- "ROS_HOSTNAME=«system.name.toLowerCase»"
40+
- "ROS_HOSTNAME=«generator_helper.get_uniqe_name(system.name.toLowerCase, ros_distro)»"
4141
networks:
4242
- ros
4343
«create_devices(device_map.get(system.name))»
@@ -50,7 +50,7 @@ services:
5050
- ros-master
5151
environment:
5252
- "ROS_MASTER_URI=http://ros-master:11311"
53-
- "ROS_HOSTNAME=«stack.name.toLowerCase»"
53+
- "ROS_HOSTNAME=«generator_helper.get_uniqe_name(system.name.toLowerCase, ros_distro)»_«stack.name.toLowerCase»"
5454
networks:
5555
- ros
5656
«create_devices(device_map.get(stack.name))»

0 commit comments

Comments
 (0)