Ask Your Question
0

[move_base] make_plan service crashes, transport error [closed]

asked 2017-11-29 20:42:44 -0500

Fabs89 gravatar image

updated 2017-11-29 20:44:37 -0500

Hey,

so I wrote a custom global planner plug-in and I have tested extensively, so I don't believe the error is there. can launch rviz with move_base, costmap and a robot description. The issue arises as I want to call the service make_plan() from the terminal. I am using the template completion provided by ROS. The first time I call it, it gives me following error message but still compiles and publish the plan.

ERROR: transport error completing service call: unable to receive data from sender,  unable to receive data from sender, check sender's logs for details

The second time I call the service move_base crashes and the following error message is displayed

[move_base-6] process has died [pid 10011, exit code -11, cmd /opt/ros/kinetic/lib/move_base/move_base __name:=move_base __log:=/home/rue011/.ros/log/06aca0b2-d577-11e7-bb08-d481d7bb040a/move_base-6.log]. log file: /home/rue011/.ros/log/06aca0b2-d577-11e7-bb08-d481d7bb040a/move_base-6*.log

Hope somebody can help, I have no Idea whats going wrong.

The log file ".../move_base-6*.log" is not not generated.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ahendrix
close date 2017-12-01 18:32:30.174888

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-12-01 00:00:31 -0500

Fabs89 gravatar image

Thanks ahendrix,

the issue was that I was calling a callback function while the action of move_base was still running, or rather by calling this callback and changing parameters of the current solver invoke a segmentation fault.

[CLOSED]

edit flag offensive delete link more
0

answered 2017-11-29 21:32:30 -0500

ahendrix gravatar image

Exit code -11 indicates that the move_base node died as a result of a segfault.

ERROR: transport error completing service call: unable to receive data from sender,  unable to receive data from sender, check sender's logs for details

This transport error message indicates that there is something weird going on in the goal callback which is causing the returned data to be missing or corrupt somehow.

You should run move_base in a debugger like gdb to get a better idea of where it's crashing: http://wiki.ros.org/roslaunch/Tutoria...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-11-29 20:42:44 -0500

Seen: 403 times

Last updated: Dec 01 '17