Skip to content

Node doesn't exit or reconnect after communication errors #23

Open
@pomerlef

Description

@pomerlef

The driver is lock if there is a communication issue (ex., the cable is disconnected). The node won't report an error, exit, nor reconnect if the communication is reestablished.

Also, the method isConnected() is not looking actively if the laser is connected, but only report a state written by the connect(std::string host, int port) method.

I'm not sure if the correct behavior should be to kill the node or to report the error using ROS_ERROR and try to reconnect in the background.

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