question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selectable ROS_HOSTNAME?

See original GitHub issue

ROS_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:open
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
magnus-rovcocommented, Feb 13, 2020

I’ve been running into an issue where I needed the ROS_HOSTNAME to be the HOSTNAME appended with .local suffix. So adding the option to specify the ROS_HOSTNAME seemed like a good solution.

0reactions
LarsJanssenTUecommented, Jun 8, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >
Bountysource
Selectable ROS_HOSTNAME ?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found