ros-naoqi / nao_virtual

all tools to simulate nao robot
Apache License 2.0
43 stars 26 forks source link

Connection Refused. QiMessaging Error #23

Closed blackvitriol closed 7 years ago

blackvitriol commented 7 years ago

Hey devs, sorry for this noob question, but when I was following the tutorial, I got stuck at the testing part:

When I run roslaunch naoqi_driver naoqi_driver.launch nao_ip:=127.0.0.1 (virtual robot on Choregraph) I get this error:

SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.7

NODES
  /
    naoqi_driver (naoqi_driver/naoqi_driver_node)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[naoqi_driver-1]: started with pid [13854]
[W] 1494699559.026087 13858 qimessaging.transportsocket: connect: Connection refused
terminate called after throwing an instance of 'qi::FutureUserException'
  what():  System error: Connection refused
================================================================================REQUIRED process [naoqi_driver-1] has died!

How do I fix this ?

nlyubova commented 7 years ago

Hello, I am not sure if it should work with a virtual robot in Choregraphe. Which tutorial did you follow?

blackvitriol commented 7 years ago

Did not follow a tutorial this time, was experimenting.

nlyubova commented 7 years ago

You can actually simulate a virtual robot with Naoqi. For this, you need to download an SDK from community.aldebaran.com and start it like this: ~/naoqi/naoqi-sdk/naoqi --verbose --broker-ip 127.0.0.1

Then, you can connect to your virtual robot as you done with Naoqi_driver.

blackvitriol commented 7 years ago

Sorry for the rebump, can someone help me with this error:


Receiving information about robot model
[W] 19699 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
terminate called after throwing an instance of 'qi::FutureUserException'
  what():   ALMemory::getData
    Data not found RobotConfig/Body/Type
nlyubova commented 6 years ago

hello, how did you get this error? which package did you run?

brain0071 commented 10 months ago

hello, how did you get this error? which package did you run?

I am using ubuntu18.04. I have run "roscore", and ~/naoqi/naoqi-sdk/naoqi --verbose --broker-ip 127.0.0.1. then "I run roslaunch naoqi_driver naoqi_driver.launch nao_ip:=127.0.0.1", I got this error:

Receiving information about robot model
terminate called after throwing an instance of 'qi::FutureUserException'
  what():   ALMemory::getData
    Data not found RobotConfig/Body/Type