Open LaiYanKai opened 2 years ago
Hi @LaiYanKai, unfortunately I think it's an error like #96, I had the same problem while using the driver for Noetic, even for ROS2 (I'll have to those changes as well at some point). I remember tracking the source of the issue, I don't remember its precise origin but it's much more lower than the driver, it might be a NAOqi related issue. Can you try to disable the audio (here)? Setting the parameter to false should work (the audio part of the driver will be disabled though)
Hi, I will get back to you within a day
Works. The following issues showed up:
I have no problems echoing the IMU and getting the messages. However, this exception message shows up repeatedly:
Conversion from v(void) to f(float) failed => set to -1
.
Inserting std::cout << i <<std::endl
before line 192 of from_any_value.cpp prints out:
0
Conversion from v(void) to f(float) failed => set to -1
1
2
3
4
5
6
7
8
9
Changing from Device/SubDeviceList/InertialSensorBase/
... to Device/SubDeviceList/InertialSensor/
... in
imu.cpp does not remove the message. Current SDK uses the latter as described here. I don't think the error is caused by this.
While running naoqi_driver.launch
, the ROS_ERROR
keeps showing up:
Do not calculate NAO Footprint, no transform possible
This error appears after the line tf2_buffer->canTransform("odom", "l_sole", time, ros::Duration(0.1) )
in nao_footprint.hpp, when no transform is possible. However, there appears to be a way to transform between l_sole
and odom
in the tf tree in
frames.pdf. The pdf is generated using:
rosrun tf2_tools view_frames.py
evince frames.pdf
The camera images are transporting correctly. The frame is around 1 to 2 fps in the default setting. Changing the fps
in boot_config.json to 30 improves the rate to about 3fps, but it is still quite slow...
Changing the resolution
does not appear to change the resolution or improve the frame rate, as the ...\camera_info
topic still reports 320px by 480px, unless there are specific resolution values? (I tried 0.5).
In your experience, is at least 20 FPS on 320x480px possible from previous ROS versions?
Hi, Publishing goal from Rviz works as well... the robot tries to move to the intended target.
I will try to simulate NAO in Gazebo within a week by trying nao_virtual... will report any problems here...
Alright. I'll keep the issue opened regarding the ROS-Driver-Audio problem. If I have the time to investigate and if it is indeed a problem unrelated to the driver, I might close it, or add a workaround. Regarding the Repeating No-transform Error Messages
, #120 is already opened. Regarding the Low frame rate for Camera
, I believe that an issue is already opened too, it's most likely a network related problem. If it's not the case, I'll open a separate issue. Finally regarding the Conversion Failure in IMU.cpp
, it is somwhat mentioned in #117, It's worth investigating a bit more. I unfortunately don't have access to a NAO to investigate however
Hi, I've forgotten to update.
I've printed out the ROS time on Lines 273 and 298 in camera.cpp. The whole thing lasts 20ms, but something else is limiting the frequency of this function to around 200-400ms. (I've used QVGA by setting resolution to 0).
Robot Settings / Monitor has no problem with the frame rate, it is significantly faster.
Could I kindly check where the containing function callAll is called? I know it is called as part of a thread / shared pointer, but it'll be better if there are some hints as to the bottleneck... I may be able to figure out the bottleneck of the frame rate from there...
I've tried the python sdk, but it is quite problematic as it uses 2.7 and I need low latency. The cpp SDK qibuild messes with the ROS catkin_make. So this is the best choice.
Hi, I have tried to use naoqi_driver.launch on ROS1-Noetic by compiling from source (#138):
The steps work. Currently, libqi and libqicore have been developed for noetic, but not completely so for naoqi_bridge_msgs and naoqi_driver.
When launching naoqi_driver.launch, the Can't find service error pops up:
I'm using VirtualBox on Windows 11 (host). The VirtualBox is running Ubuntu 20.04. Referencing #96, I've made sure that Bridged networking is used. I am able to SSH to nao (and using Robot settings) from both the host and Ubuntu, and ping to VirtualBox's Ubuntu while in nao's SSH. The launch also detected the robot. I don't think it is an issue like #96. What could be the problem?