Skip to content

Why are parameters like ROS_IP global? #115

Closed
@StephanHasler

Description

@StephanHasler

self.tcp_ip = rospy.get_param("/ROS_IP")

ROS_IP and ROS_TCP_PORT are global ROS parameters.
So they are expected to be set directly as /ROS_IP.
I think it would be cleaner if these parameters were privat/local.
In this way the global ROS workspace would not be polluted.
Other nodes might like to have a different ROS_IP and then they would be in conflict.

Maybe also the ROS in the names ROS_IP and ROS_TCP_PORT is misleading.
Because it is the IP and PORT where somebody else from outside can connect to over TCP and not with ROS, or?

Metadata

Metadata

Assignees

Labels

requestFeature request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions