-
Notifications
You must be signed in to change notification settings - Fork 9
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
qi::FutureUserException Invalid signature #4
Comments
are you still experiencing this issue? i am encountering this too. |
Hello @andrewlblair This error is probably due to a version incompatibility of libQi. Specifically, ALMemory.subscriber is causing problems. I cannot confirm this statement with certainty. However, the following source suggests this: Fortunately, not all NaoqiDriver2 services are affected by this. A modification of the boot_config.yaml can therefore solve the problem. The following setting worked for me: {
"_comment": "QQVGA = 0, QVGA = 1, VGA = 2",
"converters":
{
"front_camera":
{
"enabled" : true,
"resolution" : 1,
"fps" : 10,
"recorder_fps" : 5
},
"bottom_camera":
{
"enabled" : true,
"resolution" : 1,
"fps" : 10,
"recorder_fps" : 5
},
"depth_camera":
{
"enabled" : true,
"xtion_resolution": 1,
"stereo_resolution": 9,
"fps" : 10,
"recorder_fps" : 5
},
"stereo_camera":
{
"enabled" : true,
"resolution" : 15,
"fps" : 10,
"recorder_fps" : 5
},
"ir_camera":
{
"enabled" : true,
"resolution" : 1,
"fps" : 10,
"recorder_fps" : 5
},
"info":
{
"enabled" : true,
"frequency" : 1
},
"logs":
{
"enabled" : false,
"frequency" : 1
},
"diag":
{
"enabled" : true,
"frequency" : 1
},
"imu_torso":
{
"enabled" : true,
"frequency" : 10
},
"imu_base":
{
"enabled" : true,
"frequency" : 10
},
"joint_states":
{
"enabled" : true,
"frequency" : 50
},
"laser":
{
"enabled" : true,
"frequency" : 10,
"range_min" : 0.1,
"range_max" : 3.0
},
"sonar":
{
"enabled" : true,
"frequency" : 10
},
"audio":
{
"enabled" : true
},
"bumper":
{
"enabled" : false
},
"touch_hand":
{
"enabled" : false
},
"touch_head":
{
"enabled" : false
},
"odom":
{
"enabled" : true,
"frequency" : 15
}
}
} The drivers now start successfully and I get important ROS2 topics, like /odom and /cmdvel. Unfortunately, the deactivated services such as touch_head, touch_hand and bumper are lost. |
This error will depend on the version of the software the robot is running. Is it NAOqi 2.5? I have an idea to workaround this, though, by avoiding the API |
@victorpaleologue Do you have any workaround regarding this issue? I am getting it as well, using a recent build with Naoqi 2.5. It is likely to be a problem related to one of the latest libQi releases as I didn't change anything else in my build. |
Not yet. I had no time for such dev. I can assist someone to patch it though. I hope I can look into it someday soon. |
Hello @victorpaleologue I have a general question about the NAOqi SDK. I've been trying to extend the ROS2 driver by wrapping ROS2 topics and services around existing NAOqi functions. For example, playing an audio file on Pepper using a ROS2 service. Since the Python SDK no longer works under ROS2 (due to Python 2.7), I was forced to use the C++ SDK. This has worked to some extent. I can write a small program that plays the audio file. However, I've noticed that I cannot compile the code for arm64, which is a dealbreaker for me. Now I'm a bit confused, as I had assumed that these drivers were just ROS2 wrappers around existing NAOqi functions. Yet, I can use the drivers on ARM64. What exactly do I need to change to get my extensions running on ARM as well? I think this insight could also help with this issue, as it would be possible to develop an alternative ROS node for the bumpers, for example. P.S. Additionally, I have encountered recommendations to use qibuild when developing C++ programs for naoqi. How can I bypass this, since I would prefer to build the node with colcon? Thank you in advance for your assistance. |
Hi @XO30, If I may, there is a new Python SDK that works with Naoqi and Python 3, you can find it at https://github.com/aldebaran/libqi-python. It works well with ROS2 Humble, we are using it to integrate diverse capabilities onboard the Pepper robot, if you are interested you may have a look at our latest development for Pepper: https://github.com/RoboBreizh-RoboCup-Home |
Hi @Maelic Thank you for the information. It looks very promising. I will delve into the sources. |
You're figuring it out right, but let me rephrase it more accurately. The NAOqi Python SDK is 2.7, and is therefore obsolete. However, the underlying RPC library, libQi, is open source and has been maintained to work on more recent systems. It can be recompiled for other platforms as well, including arm64. There are Python bindings of it, it's the one mentioned by @Maelic (you can simply do a We use the latter in ROS drivers. More precisely, I prepared a specific variant of it, so that it works well for NAOqi 2.8 and 2.9. But I used some mechanism ( |
I went down that rabbit hole, and it appears the latest ROS 2 driver works fine for NAOqi 2.1. So @XO30 perhaps you could run the node with a debugger? I'd love to have a backtrace of the crash.
ROS packages for ARM are simply built with colcon with an ARM system. But @Maelic, you're welcome to contribute your alternative bumper code here, if you think it has value beyond your own project. |
Hi
I'm running into the following error when running ros2 launch naoqi_driver naoqi_driver.launch.py nao_ip:=192.168.1.101
I have tried to install the naoqi_driver for ROS 2 in various ways. Ultimately, I want to run the setup in a Docker container. I have tested the installation in the following ways:
On all platforms, I have attempted the installation both with apt and by building from source. However, I consistently encounter the same error:
Output:
The text was updated successfully, but these errors were encountered: