Skip to content

ROS Nodes registered in ROS Master using the yarp::os::Node are not unregistered when the object is deleted/on process exit #16

@traversaro

Description

@traversaro

If you create a ROS Nodes using YARP, it will not be properly unregistered from the ROS Master once the process is closed.

How to reproduce

Compile and run the example in https://gist.github.com/traversaro/e34c849fff2dd481625ae7a40edb173c#file-main-cpp-L15 , on a computer in which ROS is correctly configured and roscore is running.

After the program has exited, launch the rosnode list command and you will see that the node opened by the example program is still registered:

user@iiticubws003:~/yarp_rosnode_test/build$ rosnode list
/nodeThatWillNotBeUnregisteredFromRosMaster
/rosout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions