Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALMemory::getData. Data not found RobotConfig/Body/Type #32

Open
victorpaleologue opened this issue Nov 15, 2023 · 6 comments
Open

ALMemory::getData. Data not found RobotConfig/Body/Type #32

victorpaleologue opened this issue Nov 15, 2023 · 6 comments

Comments

@victorpaleologue
Copy link
Contributor

@brain0071 reports in #23:

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
@victorpaleologue
Copy link
Contributor Author

@brain0071, which version of the NAOqi SDK have you been running, and which version of the naoqi_driver?

The name of the archive of the NAOqi SDK contains the version number.

The info of the package you installed to get naoqi_driver contains it. You can do : dpkg -l | grep naoqi-driver to get it.

@brain0071
Copy link

I am using "naoqi-sdk-2.8.5.10-linux64",
and I cloned this repo:"https://github.com/ros-naoqi/naoqi_driver.git", use "catkin_make" compiled it.
I run this command:"naoqi --verbose --broker-ip 127.0.0.1", and then "roslaunch naoqi_driver naoqi_driver.launch nao_ip:=127.0.0.1 " in another terminal. then i got this Error.

@brain0071
Copy link

@brain0071, which version of the NAOqi SDK have you been running, and which version of the naoqi_driver?

The name of the archive of the NAOqi SDK contains the version number.

The info of the package you installed to get naoqi_driver contains it. You can do : dpkg -l | grep naoqi-driver to get it.

And I have no a real robot, I just want to use simulation.

@victorpaleologue
Copy link
Contributor Author

victorpaleologue commented Nov 15, 2023

I made it work for Pepper running NAOqi 2.9.x with recent patches, but not for NAO with NAOqi 2.8. So far it only works for 2.5.
Thankfully this should probably be easy to fix, because 2.8 works almost like 2.9: everywhere you find 2, 9, 2_9 or 2.9 in the code, switch it to 2, 8, 2_8 or 2.8, and it should work. If it works please consider pushing back your changes to https://github.com/ros-naoqi/naoqi_driver with a PR.

@brain0071
Copy link

@brain0071, which version of the NAOqi SDK have you been running, and which version of the naoqi_driver?
The name of the archive of the NAOqi SDK contains the version number.
The info of the package you installed to get naoqi_driver contains it. You can do : dpkg -l | grep naoqi-driver to get it.

And I have no a real robot, I just want to use simulation.
When I use this version naoqi-driver in ros noetic, and naoqi sdk 2.5.5, It seem that a new error has occurred.

dpkg -l | grep naoqi-driver
ii  ros-noetic-naoqi-driver                     0.6.0-1focal.20231013.191701          amd64        Driver module between Aldebaran's NAOqiOS and ROS.

and
naoqi-sdk-2.5.5.5

Like this:

/opt/ros/noetic/lib/naoqi_driver/naoqi_driver_node: symbol lookup error: /lib/x86_64-linux-gnu/liburdfdom_model.so.1.0: undefined symbol: _ZN12TiXmlElement12SetAttributeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_

@victorpaleologue
Copy link
Contributor Author

It looks strange that liburdfdom is under /lib, but I assume it's ok.
The error says it's failing to find TinyXML's symbols.
If you do:

sudo apt install libtinyxml2-9

Does it work better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants