Re: [ros-users] Issue with "rostnode list"

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: Re: [ros-users] Issue with "rostnode list"
For others's reference the question can be found at:
http://answers.ros.org/question/35303/stopping-a-node-by-ctrlc-doesnt-update-rosnode/


Tully

On Sun, Jun 3, 2012 at 11:04 AM, Alex Bravo <> wrote:

> Never mind. I just found that somebody already asked about it a few days
> ago on answers.ros.org . :)
>
>
> On Sun, Jun 3, 2012 at 11:01 AM, Alex Bravo <> wrote:
>
>> Thanks Jack. I wasn't sure answers.ros.org was good for that. Posting
>> there right now.
>>
>> On Sun, Jun 3, 2012 at 10:37 AM, Jack O'Quin <>wrote:
>>
>>> On Sun, Jun 3, 2012 at 12:12 PM, Alex Bravo <>
>>> wrote:
>>> > I ran into an issue while doing "Understanding ROS Nodes"
>>> > tutorial
>>> http://www.ros.org/wiki/ROS/Tutorials/UnderstandingTopics#preview
>>> >
>>> > I noticed that killed ROS nodes are not being removed from "rosnode
>>> list".
>>> >
>>> > When I used "rosnode info turtlesim", I saw:
>>> > ...
>>> > contacting node http://i7:56977/ ...
>>> > ERROR: Communication with node[http://i7:56977/] failed!
>>> >
>>> > I thought maybe it was because I did not have $ROS_HOSTNAME defined as
>>> > described here:
>>> > http://www.ros.org/wiki/ROS/NetworkSetup#Single_machine_configuration
>>> > So I added export ROS_HOSTNAME=localhost
>>> >
>>> > After that "rosnode info turtlesim" give me:
>>> > ...
>>> > contacting node http://localhost:60372/ ...
>>> > Pid: 6178
>>> >
>>> > I thought it was strange to see a different port number, but rosnode
>>> list
>>> > started working.
>>> >
>>> > Then I went to the next tutorial and did "roscore" while other roscore
>>> was
>>> > running.
>>> >
>>> > Then I noticed that "rosnode list" again doesn't work and "rosnode
>>> info
>>> > turtlesim" now gives:
>>> > contacting node http://localhost:39889/ ...
>>> > ERROR: Communication with node[http://localhost:39889/] failed!
>>> >
>>> >
>>> > P.S. I'm using Fuerte with a fresh Ubuntu-12.04, 64-bit.
>>>
>>> Alex,
>>>
>>> This is a good question for answers.ros.org.
>>>
>>> Please see: http://www.ros.org/wiki/Support
>>> --
>>> joq
>>> _______________________________________________
>>> ros-users mailing list
>>>
>>> https://code.ros.org/mailman/listinfo/ros-users
>>>
>>
>>
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>



--
Tully Foote
Systems Engineer
Willow Garage, Inc.

(650) 475-2827