Nodes launched (with roslaunch) die, nodes runned (with rosrun) work fine
Hi to everyone,
I create a c++ ros node. If I launch it (with a dedicated roslaunch) and then i call the service who is connected to the nodes, it dies with the exit code -11. Instead, if i rosrun the same node and then I call the specific service, it runs fine.
This is the launch file:
<?xml version="1.0"?>
<launch>
<node pkg="graph_manager" type="graph_manager_node" name="agv_graph_manager" />
</launch>
Otherwise, the rosrun command is the following one:
rosrun graph_manager graph_manager_node
Some info about my project
Package name: graph_manager
ros::init(argc, argv, "graph_manager");
The ros service I call, is a custom service who has the request field only with an Int16 data