ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Error when trying to connect with robot controller

asked 2015-03-24 09:43:18 -0600

jcgarciaca gravatar image

updated 2015-03-24 09:55:27 -0600

gvdhoorn gravatar image

I have installed MotoROS into my Motoman robot controller, but when I try to connect it with doing:

Warehouse Host: (controller ip) and port: 50240

I get this error

DBClientCursor::init call() failed
[ERROR] [1427203508.542909786]: Exception caught while processing action 'connect to database'


Warehouse Host: (controller ip) and port: 50241

I get:

Tue Mar 24 08:33:16.723 ERROR: MessagingPort::call() wrong id got:1 expect:3
  toSend op: 2004
  response msgid:15
  response len:  144
  response op:  0
Tue Mar 24 08:33:16.723   Assertion failure false src/mongo/util/net/message_port.cpp 246
0xa29b5540 0xa29b6918 0xa29ab744 0xa29bc5df 0xa29bc8a1 0xa296675d 0xa29873a5 0xa29654c4 0xa296d97f 0xa29656b2 0xa2965bf2 0xa296a9da 0xa296aaeb 0xa29624f4 0xa2ea0cce 0xa2ea7a4c 0xa2e922b7 0xa2e925f2 0xa3190dc3 0xa3164e91
 /opt/ros/indigo/lib/ [0xa29b5540]
 /opt/ros/indigo/lib/ [0xa29b6918]
 /opt/ros/indigo/lib/ [0xa29ab744]
 /opt/ros/indigo/lib/ [0xa29bc5df]
 /opt/ros/indigo/lib/ [0xa29bc8a1]
 /opt/ros/indigo/lib/ [0xa296675d]
 /opt/ros/indigo/lib/ [0xa29873a5]
 /opt/ros/indigo/lib/ [0xa29654c4]
 /opt/ros/indigo/lib/ [0xa296d97f]
 /opt/ros/indigo/lib/ [0xa29656b2]
 /opt/ros/indigo/lib/ [0xa2965bf2]
 /opt/ros/indigo/lib/ [0xa296a9da]
 /opt/ros/indigo/lib/ [0xa296aaeb]
 /opt/ros/indigo/lib/ [0xa29624f4]
 /opt/ros/indigo/lib/ [0xa2ea0cce]
 /opt/ros/indigo/lib/ [0xa2ea7a4c]
 /opt/ros/indigo/lib/ [0xa2e922b7]
 /opt/ros/indigo/lib/ [0xa2e925f2]
 /opt/ros/indigo/lib/ [0xa3190dc3]
 /opt/ros/indigo/lib/ [0xa3164e91]
[ERROR] [1427203996.729533547]: Exception caught while processing action 'connect to database'

I don't know how to fix it.

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-24 09:55:09 -0600

gvdhoorn gravatar image

The reason you get that error is because the MoveIt RViz plugin is expecting a MongoDB instance at the other end of that TCP connection, which is obviously not the case.

You don't use the MoveIt RViz plugin to connect to the MotoROS server running on your motoman controller. You use the nodes in the motoman_driver package.

You should take a look at the motoman_driver/Tutorials page for how to set this up, and use it properly. I think especially the Using the Motoman FS/DX ROS Interface (Hydro) tutorial should help.

edit flag offensive delete link more


Thank you. I tried with the tutorial you suggested (Using the Motoman FS/DX ROS Interface), and everything works well. Now, I want to work with on fly path planning so I created my own URDF and used Rviz. I'm interested to move my robot with using this tool (and to achieve on fly path planning).

jcgarciaca gravatar image jcgarciaca  ( 2015-04-06 16:43:51 -0600 )edit

But I am not quite sure how to do it.

When I execute the planning the next message appears. It is a Fake execution, but how can I do it in the real controller?


jcgarciaca gravatar image jcgarciaca  ( 2015-04-06 16:44:05 -0600 )edit

This is probably better asked in a separate question. Do please search ROS Answers and see if existing answers help you. If not, pose a new question.

gvdhoorn gravatar image gvdhoorn  ( 2015-04-07 03:08:26 -0600 )edit

Question Tools

1 follower


Asked: 2015-03-24 09:43:18 -0600

Seen: 489 times

Last updated: Mar 24 '15