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

update jsk_naoqi_robot/README.md #73

Merged

Conversation

MiyabiTane
Copy link

Pepperの環境構築で詰まった部分があったので、READMEに追記しました
環境:Ubuntu18.04, ros melodic

@@ -122,6 +122,29 @@ source devel/setup.bash

4. (optional) For NAO and Pepper developers

Please add following source codes which you need for debugging.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この部分は

https://github.com/k-okada/jsk_robot/pull/73/files#diff-375a422594be02bff5f6011ade16d89082a28a0fa467e818956252c15d831a5aR89-R99

で,

wstool merge -t src https://github.com/k-okada/jsk_robot/blob/pepper_cross/jsk_naoqi_robot/naoqi.rosinstall

とすると,環境がセットされているとおもいます.なので,ここに書くとすると,例えば

cd ~/catkin_ws/src
wstool info

として以下の出力になっているか確認すること,みたいな情報かな?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そうすると、3.の
wstool merge -t src https://raw.githubusercontent.com/jsk-ros-pkg/jsk_robot/master/jsk_naoqi_robot/naoqi.rosinstall
の部分も
wstool merge -t src https://github.com/k-okada/jsk_robot/blob/pepper_cross/jsk_naoqi_robot/naoqi.rosinstall
に書き換えたほうが良いのでしょうか??
https://github.com/k-okada/jsk_robot/pull/73/files#diff-375a422594be02bff5f6011ade16d89082a28a0fa467e818956252c15d831a5aL95

また、私の環境はmasterのREADMEでセットアップしたため、以下のようになっていて、少し異なっている気がして、4の項目ごとREADMEからなくすのが良いでしょうか...??

$ wstool info
workspace: /home/leus/catkin_ws/src

 Localname         S  SCM Version (Spec)                                                    UID  (Spec)                 URI  (Spec) [http(s)://...]
 ---------         -  --- --------------                                                    -----------                 ---------------------------
 pepper_robot         git kochigami-develop < kochigami/kochigami-develop  (-)              b27611420a87                github.com/ros-naoqi/pepper_robot
 naoqi_driver      M  git kochigami-develop < kochigami/kochigami-develop  (-)              98c0b678286a                github.com/ros-naoqi/naoqi_driver
 naoqi_dashboard      git modify-for-kinetic < kochigami/kochigami-develop  (-)             33962f146c77                github.com/ros-naoqi/naoqi_dashboard
 naoqi_bridge_msgs    git kochigami-develop < kochigami/kochigami-develop  (-)              d7417613690e                github.com/ros-naoqi/naoqi_bridge_msgs
 naoqi_bridge         git kochigami-develop < kochigami/kochigami-develop  (-)              c28b727e1e9b                github.com/ros-naoqi/naoqi_bridge
 nao_robot            git support_hand < k-okada/support_hand  (-)                          d5dc0a024614                github.com/ros-naoqi/nao_robot
 nao_interaction      git master  (-)                                                       f97ad12f3896                github.com/ros-naoqi/nao_interaction
 jsk_robot         VC git update_naoqi_readme_pepper_cross < k-okada/pepper_cross  (master) d8e4767f767a (b40df2f1086b) github.com/jsk-ros-pkg/jsk_robot.git

あまり理解できていなくてすみません

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

に書き換えたほうが良いのでしょうか??

は,マージされたら,やっぱりもう一回書き換えることになるので,今のままでよいと思います。このPRがマージされたら,jsk-ros-pkg#1528 もマージしようと思います。

4の項目ごとREADMEからなくすのが良いでしょうか...??

これはあったらよいので,一回 wstool merge -t src https://github.com/k-okada/jsk_robot/blob/pepper_cross/jsk_naoqi_robot/naoqi.rosinstall で環境を作って,その時の情報にしましょう。

mkdir -p /tmp/testws/src
cd /tmp/testws/
wstool merge -t src ......

として

 wstool info

とした結果をREADMEに書いておくので良いと思います。

workspace: /tmp/testws/src

と表示されるのは,しれっと,

workspace: /home/leus/catkin_ws/src

に書き換えれば,今作っている環境は壊すことなく,作れると思います。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なるほど、のちにmasterにマージされるのですね
このREADMEに従って環境をつくり、実機できちんと動くか確認しつつやってみようと思います、ありがとうございます

@MiyabiTane
Copy link
Author

MiyabiTane commented Aug 14, 2022

本ブランチのREADME.mdの
wstool merge -t src https://raw.githubusercontent.com/jsk-ros-pkg/jsk_robot/master/jsk_naoqi_robot/naoqi.rosinstall
https://raw.githubusercontent.com/k-okada/jsk_robot/pepper_cross/jsk_naoqi_robot/naoqi.rosinstallに変更して、手順に従って環境構築を行い、
roslaunch jsk_pepper_startup jsk_pepper_startup.launch network_interface:=enp0s31f6
が正常に動作することを確認できました。
また、未来館で使用していた移動のプログラムも問題なく動かすことができました

READMEのトラブルシューティングに、Pepperを起動した際にエンドユーザー使用許諾契約の画面が出てきてしまう問題に関して追記しました。
参考:jsk_pepper_startupのREADME

@k-okada k-okada merged commit 0de722f into k-okada:pepper_cross Aug 14, 2022
@k-okada
Copy link
Owner

k-okada commented Aug 14, 2022

ありがとうございます。ちなみに,
#62 (comment)
にあるエラーはどうなっているかな?元の環境だと,

 naoqi_dashboard      git modify-for-kinetic < kochigami/kochigami-develop  (-)             33962f146c77                github.com/ros-naoqi/naoqi_dashboard

で解決している見たいだど,jsk-ros-pkg#1542 (comment)
に書いたように,

sudo apt install python-gobject-2

で治るのではないかと期待しているんですが。

@MiyabiTane
Copy link
Author

MiyabiTane commented Aug 14, 2022

今回新たに、test_wsを作成して試しましたが、エラーは発生しませんでした
私のPCは python-gobject-2がすでにインストールされているので、sudo apt install python-gobject-2で問題が解決しているのではないかと思います

@MiyabiTane
Copy link
Author

MiyabiTane commented Aug 14, 2022

このブランチのREADME通りに環境構築を行うと、コミットが同じく33962f146c77になっているようです
naoqi_dashboard git kochigami-develop 33962f146c77 github.com/kochigami/naoqi_dashboard

@MiyabiTane
Copy link
Author

MiyabiTane commented Aug 14, 2022

go-objectをアンインストールした状態で試しましたが、正常にlaunchファイルが立ち上がりました。以下ログです

leus@leus-ThinkPad-T490:/usr/lib/python2.7/dist-packages$ cd /usr/lib/python2.7/dist-packages
leus@leus-ThinkPad-T490:/usr/lib/python2.7/dist-packages$ ls go*
ls: 'go*' にアクセスできません: そのようなファイルやディレクトリはありません
leus@leus-ThinkPad-T490:/usr/lib/python2.7/dist-packages$ cd gobject
bash: cd: gobject: そのようなファイルやディレクトリはありません
leus@leus-ThinkPad-T490:/usr/lib/python2.7/dist-packages$ roslaunch jsk_pepper_startup jsk_pepper_startup.launch network_interface:=enp0s31f6
... logging to /home/leus/.ros/log/21b4fd78-1bb8-11ed-9e8e-f875a4b60e3f/roslaunch-leus-ThinkPad-T490-19463.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://169.254.11.82:39147/

SUMMARY
========

CLEAR PARAMETERS
 * /naoqi_dashboard_aggregator/

PARAMETERS
 * /joy_node/autorepeat_rate: 20
 * /joy_node/deadzone: 0.3
 * /joy_node/dev: /dev/input/js0
 * /naoqi_dashboard_aggregator/analyzers/joystick/discard_stale: True
 * /naoqi_dashboard_aggregator/analyzers/joystick/find_and_remove_prefix: joy_node
 * /naoqi_dashboard_aggregator/analyzers/joystick/path: Joystick
 * /naoqi_dashboard_aggregator/analyzers/joystick/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Camera/find_and_remove_prefix: naoqi_driver_camera
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Camera/path: Camera
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Camera/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Computer/find_and_remove_prefix: naoqi_driver_comp...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Computer/path: Computer
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Computer/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Joints/find_and_remove_prefix: naoqi_driver_joints:
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Joints/path: Joints
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Joints/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Network/find_and_remove_prefix: naoqi_driver_network
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Network/path: Network
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/Network/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/PowerSystem/find_and_remove_prefix: naoqi_driver_batt...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/PowerSystem/path: Power System
 * /naoqi_dashboard_aggregator/analyzers/naoqi/analyzers/PowerSystem/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/naoqi/path: NAOqi
 * /naoqi_dashboard_aggregator/analyzers/naoqi/type: diagnostic_aggreg...
 * /naoqi_dashboard_aggregator/analyzers/tf/find_and_remove_prefix: tf_monitor:
 * /naoqi_dashboard_aggregator/analyzers/tf/path: TF
 * /naoqi_dashboard_aggregator/analyzers/tf/type: diagnostic_aggreg...
 * /pepper_robot/camera/camera_nodelet_manager/num_worker_threads: 4
 * /pepper_robot/camera/depth_rectify_depth/interpolation: 0
 * /pepper_robot/camera/depth_registered_rectify_depth/interpolation: 0
 * /pepper_robot/pose/pose_manager/poses/init/joint_names: ['Body']
 * /pepper_robot/pose/pose_manager/poses/init/positions: [0.0, 0.0, 1.39, ...
 * /pepper_robot/pose/pose_manager/poses/init/time_from_start: 1.5
 * /pepper_robot/pose/pose_manager/poses/zero/joint_names: ['Body']
 * /pepper_robot/pose/pose_manager/poses/zero/positions: [0.0, 0.0, 0.0, 0...
 * /pepper_robot/pose/pose_manager/poses/zero/time_from_start: 1.5
 * /pepper_robot/pose/pose_manager/xap: /home/leus/test_w...
 * /robot/name: hop
 * /robot/type: pepper
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /teleop_twist_joy/axis_angular/yaw: 3
 * /teleop_twist_joy/axis_linear/x: 1.0
 * /teleop_twist_joy/axis_linear/y: 0.0
 * /teleop_twist_joy/enable_button: 4
 * /teleop_twist_joy/enable_turbo_button: 0
 * /teleop_twist_joy/scale_angular/yaw: 1.0
 * /teleop_twist_joy/scale_augular_turbo/yaw: 1.5
 * /teleop_twist_joy/scale_linear/x: 0.2
 * /teleop_twist_joy/scale_linear/y: 0.2
 * /teleop_twist_joy/scale_linear_turbo/x: 0.5
 * /teleop_twist_joy/scale_linear_turbo/y: 0.5

NODES
  /
    joy_client (jsk_pepper_startup/joy-client.l)
    joy_node (joy/joy_node)
    list_up_ros_node (jsk_pepper_startup/list_up_ros_node.py)
    naoqi_dashboard (naoqi_dashboard/naoqi_dashboard)
    naoqi_dashboard_aggregator (diagnostic_aggregator/aggregator_node)
    pepper_robot (naoqi_driver/naoqi_driver_node)
    play_audio_stream (jsk_pepper_startup/play_audio_stream.py)
    speaking_program_is_started_or_terminated (roseus/roseus)
    teleop_twist_joy (teleop_twist_joy/teleop_node)
    tf_monitor (diagnostic_common_diagnostics/tf_monitor.py)
  /pepper_robot/camera/
    bottom_rectify_color (nodelet/nodelet)
    camera_nodelet_manager (nodelet/nodelet)
    depth_metric (nodelet/nodelet)
    depth_metric_rect (nodelet/nodelet)
    depth_rectify_depth (nodelet/nodelet)
    depth_registered_hw_metric_rect (nodelet/nodelet)
    depth_registered_metric (nodelet/nodelet)
    depth_registered_rectify_depth (nodelet/nodelet)
    depth_registered_sw_metric_rect (nodelet/nodelet)
    front_rectify_color (nodelet/nodelet)
    ir_rectify_ir (nodelet/nodelet)
    points_xyzrgb_hw_registered (nodelet/nodelet)
    points_xyzrgb_sw_registered (nodelet/nodelet)
    register_depth_front (nodelet/nodelet)
  /pepper_robot/pose/
    pose_controller (naoqi_pose/pose_controller.py)
    pose_manager (naoqi_pose/pose_manager.py)

auto-starting new master
process[master]: started with pid [19478]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 21b4fd78-1bb8-11ed-9e8e-f875a4b60e3f
process[rosout-1]: started with pid [19490]
started core service [/rosout]
process[pepper_robot-2]: started with pid [19498]
process[pepper_robot/pose/pose_controller-3]: started with pid [19499]
process[pepper_robot/pose/pose_manager-4]: started with pid [19500]
process[pepper_robot/camera/camera_nodelet_manager-5]: started with pid [19501]
process[pepper_robot/camera/front_rectify_color-6]: started with pid [19502]
process[pepper_robot/camera/bottom_rectify_color-7]: started with pid [19503]
process[pepper_robot/camera/ir_rectify_ir-8]: started with pid [19508]
process[pepper_robot/camera/depth_rectify_depth-9]: started with pid [19511]
process[pepper_robot/camera/depth_metric_rect-10]: started with pid [19521]
[ INFO] [1660471318.092231746]: Initializing nodelet with 4 worker threads.
process[pepper_robot/camera/depth_metric-11]: started with pid [19536]
process[pepper_robot/camera/register_depth_front-12]: started with pid [19544]
process[pepper_robot/camera/points_xyzrgb_sw_registered-13]: started with pid [19550]
process[pepper_robot/camera/depth_registered_sw_metric_rect-14]: started with pid [19556]
process[pepper_robot/camera/depth_registered_rectify_depth-15]: started with pid [19557]
process[pepper_robot/camera/points_xyzrgb_hw_registered-16]: started with pid [19574]
Receiving information about robot model
process[pepper_robot/camera/depth_registered_hw_metric_rect-17]: started with pid [19581]
process[pepper_robot/camera/depth_registered_metric-18]: started with pid [19587]
process[joy_node-19]: started with pid [19592]
process[teleop_twist_joy-20]: started with pid [19602]
process[naoqi_dashboard-21]: started with pid [19609]
process[tf_monitor-22]: started with pid [19614]
[ERROR] [1660471318.195432990]: Couldn't open joystick /dev/input/js0. Will retry every second.
process[naoqi_dashboard_aggregator-23]: started with pid [19615]
process[joy_client-24]: started with pid [19621]
process[play_audio_stream-25]: started with pid [19628]
process[list_up_ros_node-26]: started with pid [19629]
set prefix successfully to pepper_robot
configuring by "/opt/ros/melodic/share/euslisp/jskeus/eus//lib/eusrt.l"
;; readmacro ;; object ;; packsym ;; common ;; constants ;; stream ;; string ;; loader ;; pprint ;; process ;; hashtab using ip address: 169.254.11.82 @ enp0s31f6
found a catkin prefix /home/leus/test_ws/src/naoqi_driver/share/boot_config.json
load boot config from /home/leus/test_ws/src/naoqi_driver/share/boot_config.json
;; array process[speaking_program_is_started_or_terminated-27]: started with pid [19633]
;; mathtran ;; eusdebug ;; eusforeign ;; extnum ;; coordinates ;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics ;; Xcolor ;; Xeus ;; Xevent ;; Xpanel ;; Xitem ;; Xtext ;; Xmenu ;; Xscroll ;; Xcanvas ;; Xtop ;; Xapplwin configuring by "/opt/ros/melodic/share/euslisp/jskeus/eus//lib/eusrt.l"
;; readmacro ;; object ;; packsym ;; common ;; constants 
connected to Xserver DISPLAY=:0
;; stream ;; string no camera information found for camera_source 3 and res: 1
;; loader ;; pprint ;; process ;; hashtab ;; array ;; mathtran ;; eusdebug ;; eusforeign ;; extnum ;; coordinates found a catkin URDF /home/leus/test_ws/src/naoqi_driver/share/urdf/pepper.urdf
;; tty ;; history ;; toplevel ;; trans ;; comp ;; builtins ;; par ;; intersection ;; geoclasses ;; geopack ;; geobody ;; primt ;; compose ;; polygon ;; viewing ;; viewport ;; viewsurface ;; hid ;; shadow ;; bodyrel ;; dda ;; helpsub ;; eushelp ;; xforeign ;; Xdecl ;; Xgraphics X events are being asynchronously monitored.
;; pixword ;; RGBHLS ;; convolve ;; piximage ;; Xcolor ;; Xeus RightBumperPressed
;; Xevent ;; Xpanel ;; Xitem ;; Xtext LeftBumperPressed
;; pbmfile ;; image_correlation ;; Xmenu ;; oglforeign ;; Xscroll ;; Xcanvas BackBumperPressed
ROS-Driver-RightBumperPressed : Start
;; Xtop ;; Xapplwin ;; gldecl ;; glconst 
connected to Xserver DISPLAY=:0
HandRightBackTouched
HandRightLeftTouched
HandRightRightTouched
X events are being asynchronously monitored.
HandLeftBackTouched;; pixword 
;; RGBHLS ;; convolve ;; piximage ;; glforeign ;; gluconst HandLeftLeftTouched
HandLeftRightTouched
;; gluforeign ROS-Driver-HandRightBackTouched : Start
;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; pbmfile ;; image_correlation ;; oglforeign ;; toiv-undefined ;; fstringdouble irtmath irtutil ;; gldecl FrontTactilTouched
;; glconst MiddleTactilTouched
RearTactilTouched
ROS-Driver-FrontTactilTouched : Start
irtc irtgeoc irtgraph ;; glforeign ChestButtonPressed
;; gluconst ROS-Driver-ChestButtonPressed : Start
registered subscriber:	teleop
registered subscriber:	moveto
;; gluforeign ;; glxconst ;; glxforeign ;; eglforeign ;; eglfunc ;; glutil ;; gltexture ;; glprim ;; gleus ;; glview ;; toiv-undefined ;; fstringdouble irtmath irtutil gnuplotlib ___time ___pgsql irtc irtgeoc irtgraph registered subscriber:speech
nodehandle reset 
gnuplotlib ___time ___pgsql irtgeo euspqp pqp irtscene irtmodel irtdyna using master ip: http://169.254.11.82:11311
NOT going to re-register the converters
camera/bottom/image_raw is resetting
irtrobot irtgeo irtsensor euspqp pqp irtscene irtmodel irtbvh irtdyna irtcollada irtstl irtwrl irtpointcloud eusbullet bullet irtcollision irtx irtrobot eusjpeg euspng png irtimage irtglrgb 
;; extending gcstack 0x5564cc14f690[16374] --> 0x5564cc5d5550[32748] top=3d4b
irtsensor irtbvh irtcollada irtstl irtwrl irtpointcloud eusbullet bullet irtcollision irtx eusjpeg euspng png irtimage irtglrgb 
;; extending gcstack 0x55e776891690[16374] --> 0x55e776d17550[32748] top=3d4b
irtgl irtglc irtviewer 
EusLisp 9.29( 1.2.5) for Linux64 created on ip-10-0-1-68(Tue Mar 1 05:47:01 PST 2022)
camera/bottom/image_raw reset
camera/depth/image_raw is resetting
irtgl irtglc irtviewer roseus 
EusLisp 9.29( 1.2.5) for Linux64 created on ip-10-0-1-68(Tue Mar 1 05:47:01 PST 2022)
roseus camera/depth/image_raw reset
/diagnostics is resetting
/diagnostics reset
camera/front/image_raw is resetting
;; loading roseus("1.7.4") on euslisp((9.29 ip-10-0-1-68 Tue Mar 1 05:47:01 PST 2022  1.2.5))
eustf [INFO] [1660471318.656013]: Connecting to NaoQi at 169.254.20.98:9559
[I] 1660471318.659405 19499 qimessaging.session: Session listener created on tcp://0.0.0.0:0
[I] 1660471318.659740 19499 qimessaging.transportserver: TransportServer will listen on: tcp://172.18.0.1:33919
[I] 1660471318.659757 19499 qimessaging.transportserver: TransportServer will listen on: tcp://172.17.0.1:33919
[I] 1660471318.659768 19499 qimessaging.transportserver: TransportServer will listen on: tcp://169.254.11.82:33919
[I] 1660471318.659779 19499 qimessaging.transportserver: TransportServer will listen on: tcp://127.0.0.1:33919
[I] 1660471318.659789 19499 qimessaging.transportserver: TransportServer will listen on: tcp://157.82.204.71:33919
[W] 1660471318.661042 19678 qi.path.sdklayout: No Application was created, trying to deduce paths
;; loading roseus("1.7.4") on euslisp((9.29 ip-10-0-1-68 Tue Mar 1 05:47:01 PST 2022  1.2.5))
camera/front/image_raw reset
imu/base is resetting
imu/base reset
imu/torso is resetting
imu/torso reset
info is resetting
eustf load robot description from file
info reset
camera/ir/image_raw is resetting
camera/ir/image_raw reset
/joint_states is resetting
/joint_states reset
laser is resetting
laser reset
odom is resetting
odom reset
sonar is resetting
sonar reset
teleop is resetting
teleop reset
moveto is resetting
moveto reset
speech is resetting
speech reset
get_robot_config is resetting
get_robot_config reset
set_language is resetting
set_language reset
get_language is resetting
get_language reset
fade leds service is resetting
fade leds service reset
reset leds service is resetting
reset leds service reset
play audio file is resetting
play audio file reset
set volume service is resetting
set volume service reset
get volume service is resetting
get volume service reset
naoqi_driver initialized
[WARN] [1660471318.748598]: Collection LLeg not found on your robot.
[WARN] [1660471318.751844]: Collection RLeg not found on your robot.
roseus_c_util [INFO] [1660471318.817048]: nao_controller initialized
roseus_c_util [INFO] [1660471318.826262]: nao pose_controller running...
[WARN] [1660471320.966079]: stop_walk_srv not available, pose_manager will not stop the walker before executing a trajectory. This is normal if there is no nao_walker running.
^C[speaking_program_is_started_or_terminated-27] killing on exit
[list_up_ros_node-26] killing on exit
[play_audio_stream-25] killing on exit
[joy_client-24] killing on exit
[naoqi_dashboard_aggregator-23] killing on exit
[tf_monitor-22] killing on exit
[naoqi_dashboard-21] killing on exit
[teleop_twist_joy-20] killing on exit
[joy_node-19] killing on exit
[pepper_robot/camera/depth_registered_metric-18] killing on exit
[ WARN] [1660471326.134849628]: ros::roseus-sigint-handler 2
[ WARN] [1660471326.135652746]: ros::roseus-sigint-handler 2
[pepper_robot/camera/depth_registered_hw_metric_rect-17] killing on exit
[pepper_robot/camera/points_xyzrgb_hw_registered-16] killing on exit
[pepper_robot/camera/depth_registered_rectify_depth-15] killing on exit
[pepper_robot/camera/depth_registered_sw_metric_rect-14] killing on exit
[pepper_robot/camera/points_xyzrgb_sw_registered-13] killing on exit
[pepper_robot/camera/register_depth_front-12] killing on exit
[pepper_robot/camera/depth_metric-11] killing on exit
[pepper_robot/camera/depth_metric_rect-10] killing on exit
[pepper_robot/camera/depth_rectify_depth-9] killing on exit
[pepper_robot/camera/ir_rectify_ir-8] killing on exit
[pepper_robot/camera/bottom_rectify_color-7] killing on exit
[pepper_robot/camera/front_rectify_color-6] killing on exit
[pepper_robot/camera/camera_nodelet_manager-5] killing on exit
[pepper_robot/pose/pose_manager-4] killing on exit
[pepper_robot/pose/pose_controller-3] killing on exit
[INFO] [1660471326.635555]: Stopping pose_controller
[pepper_robot-2] killing on exit
[INFO] [1660471326.643185]: pose_controller stopped
ROS-Driver-RightBumperPressed : Stop
ROS-Driver-ChestButtonPressed : Stop
ROS-Driver-HandRightBackTouched : Stop
ROS-Driver-FrontTactilTouched : Stop
Unsubscribe camera handle front_camera_0
Unsubscribe camera handle bottom_camera_0
Unsubscribe camera handle depth_camera_0
Unsubscribe camera handle infrared_camera_0
[W] 1660471326.696834 19498 qitype.signal: disconnect: No subscription found for SignalLink 0.
naoqi driver is shutting down..
[W] 1660471326.696892 19560 qitype.signal: disconnect: No subscription found for SignalLink 13.
[INFO] [1660471326.782668]: nao pose_controller stopped.
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
leus@leus-ThinkPad-T490:/usr/lib/python2.7/dist-packages$ 

@MiyabiTane
Copy link
Author

以下の手順でmodify-for-kineticがなくてもsudo apt install python-gobject-2で問題が解決することを確認できました

  1. python-gobject-2をアンインストールした状態でブランチをmodify-for-kineticする前に変更
~/test_ws/src/naoqi_dashboard$ git checkout 116484fc41bfe257779e517088630a7e29bc0e4c
  1. ビルドする
~/test_ws$ catkin build naoqi_dashboard
  1. ソースしてlaunchを実行するとエラーが発生
~/test_ws$ source devel/setup.bash
~/test_ws$ roslaunch jsk_pepper_startup jsk_pepper_startup.launch network_interface:=enp0s31f6

エラーログ

RosPluginProvider.load(naoqi_dashboard/NAOqiDashboard) exception raised in __builtin__.__import__(naoqi_dashboard.frame, [NAOqiDashboard]):
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 80, in load
    attributes['module_name'], fromlist=[attributes['class_from_class_type']], level=0)
  File "/home/leus/test_ws/devel/lib/python2.7/dist-packages/naoqi_dashboard/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 1, in <module>
  File "/home/leus/test_ws/src/naoqi_dashboard/src/naoqi_dashboard/frame.py", line 51, in <module>
    from .avahi import AvahiWidget
  File "/home/leus/test_ws/src/naoqi_dashboard/src/naoqi_dashboard/avahi.py", line 34, in <module>
    import dbus, gobject, dbus.glib
ImportError: No module named gobject

PluginManager._load_plugin() could not load plugin "naoqi_dashboard/NAOqiDashboard":
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/plugin_handler.py", line 102, in load
    self._load()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/plugin_handler_direct.py", line 55, in _load
    self._plugin = self._plugin_provider.load(self._instance_id.plugin_id, self._context)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_gui_py/ros_py_plugin_provider.py", line 61, in load
    return super(RosPyPluginProvider, self).load(plugin_id, plugin_context)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/qt_gui/composite_plugin_provider.py", line 72, in load
    instance = plugin_provider.load(plugin_id, plugin_context)
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rqt_gui/ros_plugin_provider.py", line 90, in load
    raise e
ImportError: No module named gobject

================================================================================REQUIRED process [naoqi_dashboard-21] has died!
process has died [pid 23858, exit code 1, cmd /home/leus/test_ws/src/naoqi_dashboard/scripts/naoqi_dashboard __name:=naoqi_dashboard __log:=/home/leus/.ros/log/a97d244a-1bba-11ed-9e8e-f875a4b60e3f/naoqi_dashboard-21.log].
log file: /home/leus/.ros/log/a97d244a-1bba-11ed-9e8e-f875a4b60e3f/naoqi_dashboard-21*.log
Initiating shutdown!
================================================================================
  1. go-objectをインストール
$ sudo apt install python-gobject-2
$ cd /usr/lib/python2.7/dist-packages/gobject/
/usr/lib/python2.7/dist-packages/gobject$ ls
__init__.py  __init__.pyc  _gobject.x86_64-linux-gnu.so  constants.py  constants.pyc  propertyhelper.py  propertyhelper.pyc

5.再びlaunchを実行し、正常に動作することを確認

roslaunch jsk_pepper_startup jsk_pepper_startup.launch network_interface:=enp0s31f6

正常時のログは一つ前のコメントと同じだと思います

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

Successfully merging this pull request may close these issues.

2 participants