Selectable ROS_HOSTNAME?
See original GitHub issueROS_HOSTNAME
is set automatically when service starts. This can cause communication issue between clients when they can’t resolve the robot’s pc with the value in ROS_HOSTNAME
.
Does it make sense to add an option to not explicitly set ROS_HOSTNAME
(implying I might open a PR)?
Environment variables regarding ROS networking are tricky to me (IMO they are for many users…) so I might be wrong though.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
ROS/EnvironmentVariables - ROS Wiki
The ROS_MASTER_URI is an important environment variable that tells a Node where the Master is. ROS_IP and ROS_HOSTNAME affect the network ...
Read more >[ROS in 5 mins] 010 - What is ROS_MASTER_URI?
The ip we just saw is also referred as hostname and it denotes the address of the computer running the roscore program. To...
Read more >Tips in Setting ROS Networking - chantana chantrapornchai
Install openssh-server on both of them since both communicate using tcp. set up ROS_MASTER_URI, ROS_IP, ROS_HOSTNAME (not required) for both ...
Read more >Connect to a ROS Network - MATLAB & Simulink - MathWorks
ROS nodes that are external to MATLAB can now join the ROS network. They can connect to the ROS master in MATLAB by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve been running into an issue where I needed the
ROS_HOSTNAME
to be theHOSTNAME
appended with.local
suffix. So adding the option to specify theROS_HOSTNAME
seemed like a good solution.I ran into exactly the same issue as @magnus-rovco, so for now I hacked this together using some local changes, if this is the direction the maintainers want to go in I can clean the code up and open a PR.