Open a-ichikura opened 2 years ago
次に、PepperとPCを同じネットワークに有線接続して、naoqi_driver.launchを立ち上げたところエラーがでた。
leus@ubuntu:~/catkin_ws$ roslaunch naoqi_driver naoqi_driver.launch network_interface:=enp0s31f6
... logging to /home/leus/.ros/log/e39c984e-c602-11ec-8489-18cc1878776f/roslaunch-ubuntu-451.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://192.168.97.82:37641/
SUMMARY
========
PARAMETERS
* /rosdistro: melodic
* /rosversion: 1.14.12
NODES
/
naoqi_driver (naoqi_driver/naoqi_driver_node)
ROS_MASTER_URI=http://localhost:11311
process[naoqi_driver-1]: started with pid [478]
Receiving information about robot model
Robot detected: Pepper B2C
set prefix successfully to naoqi_driver
using ip address: 127.0.0.1 @ enp0s31f6
found a catkin prefix /home/leus/catkin_ws/src/naoqi_driver/share/boot_config.json
load boot config from /home/leus/catkin_ws/src/naoqi_driver/share/boot_config.json
found a catkin URDF /home/leus/catkin_ws/src/naoqi_driver/share/urdf/pepper.urdf
terminate called after throwing an instance of 'qi::FutureUserException'
what(): ALProxy::ALProxy
Can't find service: ROS-Driver-Audio
================================================================================REQUIRED process [naoqi_driver-1] has died!
process has died [pid 478, exit code -6, cmd /home/leus/catkin_ws/devel/lib/naoqi_driver/naoqi_driver_node --qi-url=tcp://192.168.97.189:9559 --roscore_ip=127.0.0.1 --network_interface=enp0s31f6 --namespace=naoqi_driver __name:=naoqi_driver __log:=/home/leus/.ros/log/e39c984e-c602-11ec-8489-18cc1878776f/naoqi_driver-1.log].
log file: /home/leus/.ros/log/e39c984e-c602-11ec-8489-18cc1878776f/naoqi_driver-1*.log
Initiating shutdown!
================================================================================
[naoqi_driver-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
<解決策> from https://github.com/ros-naoqi/pepper_robot/issues/51 (類似質問, https://github.com/ros-naoqi/naoqi_driver/issues/107, https://github.com/ros-naoqi/naoqi_driver/issues/96 )
naoqi_driver/share/boot_config.json のaudio enabledをtrueからfalseにする。 with @kochigami
なんで今まで私はこのエラーを経験したことなかったのかというと,Pepperと向き合ってプログラミングをあまりしていなかったから。 @a-ichikura はPepperと向き合って作業していたため,Pepperが色々自分に内蔵されているプログラムを立ち上げて,その中にaudioを使う音声認識があった.
@kochigami PepperとPCをリンクローカル接続し、naoqi_driver.launchを立ち上げたところエラーが出た。