ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
How about looking at the _connection_header
caller_id
http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers?
It says 'We do not recommend using callerid information beyond debugging purposes, as it can lead to brittle code in an anonymous publish/subscribe architecture.'- but it seems like you could reliably get the name of your own node.
2 | No.2 Revision |
How about looking at the _connection_header
caller_id
http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers? http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers ?
It says 'We do not recommend using callerid information beyond debugging purposes, as it can lead to brittle code in an anonymous publish/subscribe architecture.'- but it seems like you could reliably get the name of your own node.
3 | No.3 Revision |
How about looking at the _connection_header
http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers ? caller_idcallerid
It says 'We do not recommend using callerid information beyond debugging purposes, as it can lead to brittle code in an anonymous publish/subscribe architecture.'- but it seems like you could reliably get the name of your own node.
4 | No.4 Revision |
How about looking at the _connection_header
callerid
http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers Publishers and Subscribers ?
It says 'We do not recommend using callerid information beyond debugging purposes, as it can lead to brittle code in an anonymous publish/subscribe architecture.'- but it seems like you could reliably get the name of your own node.
5 | No.5 Revision |
How about looking at the _connection_header
callerid
Publishers [Publishers and Subscribers Subscribers] shown in (http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers#Connection_Information) ?
It says 'We do not recommend using callerid information beyond debugging purposes, as it can lead to brittle code in an anonymous publish/subscribe architecture.'- but it seems like you could reliably get the name of your own node.
6 | No.6 Revision |
How about looking at the _connection_header
callerid
[Publishers and Subscribers] shown in (http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers#Connection_Information) ?
It says 'We do not recommend using callerid information beyond debugging purposes, as it can lead to brittle code in an anonymous publish/subscribe architecture.'- but it seems like you could reliably get the name of your own node- I did a check and rospy.get_name() and callerid do match up when publishing and subscribing to the same topic in the same node.