-
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
Can't find method: 'setEnableNotifications' #1
Comments
Hello @j55blanchet, that version was not compatible with NAO6. |
@victorpaleologue thanks for the update! I installed the same packages, but in a fresh ROS2 iron docker container. This time, the driver seemed to start successfully. I was able to run get the node info for
|
Also, when I ran
This makes me think that perhaps the driver wasn't finished loading. In particular, running
|
This is because to get the audio the client needs to expose a service, and therefore respond to a port. As a consequence, you need to open a port (e.g. Let me know if the rest works better as a result. |
Thanks for the instructions. I exposed port 56000 from the docker container to my host machine, and tried the following command:
The same error happened - couldn't find the ROS-Driver-Audio service. I verified that the port was exposed correctly by relaunching the driver and loading Do you have any other suggestions for getting the audio to work & the driver to finish loading? Also, is there a way to disable the audio features with the version of the driver that is installed through apt-get, or would I need to download the package source to alter the boot_config.json manually? |
I admit I don't understand why it would not work. The port opened is not for an HTTP service hence the issue with the browser and the "incorrect magic". You should be able to edit the ̀boot-config.json` (in /opt/ros/iron/share/naoqi_driver/share/boot_config.json) as a sudoer to disable the audio. I know it's ugly, but otherwise you'd have to build it from source. |
Sounds good, I've booked a session on your calendar.
|
Great!
This one is not a problem. It's not nice but it's only happening few times at startup, it's alright.
This is ok. In the README I rather recommend to call for ALMotion.wakeUp. Let me know if that does not work.
No.
Nope. These APIs can be found here, though. |
I have a fresh suggestion. Please share your Dockerfile, your docker-compose.yml and your command line to check that everything about port forwarding is lined up. Whether the port is available from the robot will depend on whether the port is exposed on the public IP of the host. You can also perform this check, from the robot: wget $public_ip:56000 (replace $public_ip by yourself), and see whether you get the same effect as when you connect a browser. |
I'm running into the following error when running
ros2 launch naoqi_driver naoqi_driver.launch.py nao_ip:=192.168.137.180
Connecting to a real Nao6 robot.
On a fresh ROS2 foxy docker container, with the following packages installed:
Output
The text was updated successfully, but these errors were encountered: