Closed shintarokkk closed 7 years ago
ロボットが崩れ落ちるのはBodyRTCがうんぬんで,環境構築時などにたまに見る現象です @YoheiKakiuchi さんが詳しいですが, https://github.com/start-jsk/rtmros_choreonoid#compile-bodyrtc-etc の部分を実行したか or OpenRTMはaptかsourceか等を試行すると治るかもしれません.
@ishiguroJSK さんにさらにオフラインで教えていただき解決しました。ありがとうございます。 hrpsys_choreonoidのビルドがうまくできていなかったのが原因だったようです。 https://github.com/start-jsk/rtmros_choreonoid/のREADME の $ export CNOID_INSTALL_DIR=/usr/local/choreonoid $ export PKG_CONFIG_PATH=${CNOID_INSTALL_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH $ roscd hrpsys_choreonoid までやってから(上記のexport~は ~/.bashrcに書き込んだ)、一度 $ catkin clean hrpsys_choreonoid して $catkin bt でビルドし直すと正常にchoreonoidを立ち上げることができました。
Ubuntu 14.04のT440pでchoreonoidを起動しようとしたときのエラーです。
以前のissue(https://github.com/start-jsk/rtmros_choreonoid/issues/141、https://github.com/start-jsk/rtmros_choreonoid/issues/166)にも似たような状況があったようなのですが、解決方法が分からなかったのでお聞きしたいです。 choreonoidがビルドできなかったので一度ディレクトリを消してソースから入れ直したり関連パッケージを入れたりしてビルド自体は通ったのですが、起動時に以下のようなエラーメッセージが出てjaxonが崩れ落ちます。
ERROR: cannot launch node of type [hrpsys_choreonoid/JointStateROSBridge]: can't locate node [JointStateROSBridge] in package [hrpsys_choreonoid] ERROR: cannot launch node of type [hrpsys_choreonoid/TransformROSBridge]: can't locate node [TransformROSBridge] in package [hrpsys_choreonoid]
このあたりが特に原因になっているのではないかと疑ったのですが、hrpsys_choreonoidは最新にしてビルドも通っています。
どなたかこのエラーについて何か教えていただけないでしょうか。また、choreonoidはソースからインストールする以外の方法もあると聞いた気がするのですが、その方法がどこかに記されているでしょうか。
leus@leus-ThinkPad-T440p:~$ rtmlaunch hrpsys_choreonoid_tutorials jaxon_red_choreonoid.launch [rtmlaunch] Start omniNames at port 15005
Wed Oct 25 15:02:41 2017:
Starting omniNames for the first time. Wrote initial log file. Read log file successfully. Root context is IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000010000000000000074000000010102000f00000031302e3231332e3139362e31373300009d3a00000b0000004e616d6553657276696365000300000000000000080000000100000000545441010000001c0000000100000001000100010000000100010509010100010000000901010003545441080000000129f05901001431 Checkpointing Phase 1: Prepare. Checkpointing Phase 2: Commit. Checkpointing completed. ... logging to /home/leus/.ros/log/1cf0955c-b94a-11e7-947a-e8b1fce1a569/roslaunch-leus-ThinkPad-T440p-5164.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://leus-ThinkPad-T440p:36190/
SUMMARY
PARAMETERS
NODES /multisense_local/left/ HEADLEFT (hrpsys_ros_bridge/ImageSensorROSBridge) /multisense_local/right/ HEADRIGHT (hrpsys_ros_bridge/ImageSensorROSBridge) /multisense/ range_bridge (hrpsys_ros_bridge/RangeSensorROSBridge) /multisense_local/ jstate_bridge (hrpsys_choreonoid/JointStateROSBridge) pointcloud_bridge (hrpsys_ros_bridge/PointCloudROSBridge) / AutoBalancerServiceROSBridge (hrpsys_ros_bridge/AutoBalancerServiceROSBridgeComp) DataLoggerServiceROSBridge (hrpsys_ros_bridge/DataLoggerServiceROSBridgeComp) EmergencyStopperServiceROSBridge (hrpsys_ros_bridge/EmergencyStopperServiceROSBridgeComp) ForwardKinematicsServiceROSBridge (hrpsys_ros_bridge/ForwardKinematicsServiceROSBridgeComp) HardEmergencyStopperServiceROSBridge (hrpsys_ros_bridge/EmergencyStopperServiceROSBridgeComp) HrpsysJointTrajectoryBridge (hrpsys_ros_bridge/HrpsysJointTrajectoryBridge) HrpsysSeqStateROSBridge (hrpsys_ros_bridge/HrpsysSeqStateROSBridge) ImpedanceControllerServiceROSBridge (hrpsys_ros_bridge/ImpedanceControllerServiceROSBridgeComp) KalmanFilterServiceROSBridge (hrpsys_ros_bridge/KalmanFilterServiceROSBridgeComp) ObjectContactTurnaroundDetectorServiceROSBridge (hrpsys_ros_bridge/ObjectContactTurnaroundDetectorServiceROSBridgeComp) ReferenceForceUpdaterServiceROSBridge (hrpsys_ros_bridge/ReferenceForceUpdaterServiceROSBridgeComp) RemoveForceSensorLinkOffsetServiceROSBridge (hrpsys_ros_bridge/RemoveForceSensorLinkOffsetServiceROSBridgeComp) SequencePlayerServiceROSBridge (hrpsys_ros_bridge/SequencePlayerServiceROSBridgeComp) StabilizerServiceROSBridge (hrpsys_ros_bridge/StabilizerServiceROSBridgeComp) StateHolderServiceROSBridge (hrpsys_ros_bridge/StateHolderServiceROSBridgeComp) choreonoid (hrpsys_choreonoid/run_choreonoid.sh) diagnostic_aggregator (diagnostic_aggregator/aggregator_node) footcoords (jsk_footstep_controller/footcoords) ground_truth_bridge (hrpsys_choreonoid/TransformROSBridge) head_left_frame_id (tf/static_transform_publisher) head_range_frame_id (tf/static_transform_publisher) hrpsys_profile (hrpsys_ros_bridge/hrpsys_profile.py) hrpsys_py (hrpsys_choreonoid_tutorials/jaxon_red_setup.py) hrpsys_ros_diagnostics (hrpsys_ros_bridge/diagnostics.py) hrpsys_state_publisher (robot_state_publisher/state_publisher) modelloader (openhrp3/openhrp-model-loader) multisense_image_points2_color_relay (topic_tools/relay) multisense_left_image_rect_relay (topic_tools/relay) multisense_organized_image_points2_relay (topic_tools/relay) multisense_right_image_rect_relay (topic_tools/relay) rtmlaunch_hrpsys_ros_bridge (openrtm_tools/rtmlaunch.py) rtmlaunch_vision_connect (openrtm_tools/rtmlaunch.py) sensor_ros_bridge_connect (hrpsys_ros_bridge/sensor_ros_bridge_connect.py) stabilizer_watcher (jsk_footstep_controller/stabilizer_watcher.py) tf2_buffer_server (tf2_ros/buffer_server)
WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: unrecognized tag rtconnect WARNING: unrecognized tag rtactivate WARNING: WARN: unrecognized 'rtconnect' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtactivate' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtconnect' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtactivate' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtconnect' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtactivate' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtconnect' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtactivate' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtconnect' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtactivate' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtconnect' child tag in the parent tag element:
WARNING: WARN: unrecognized 'rtactivate' child tag in the parent tag element:
auto-starting new master process[master]: started with pid [5180] ROS_MASTER_URI=http://localhost:11311
setting /run_id to 1cf0955c-b94a-11e7-947a-e8b1fce1a569 process[rosout-1]: started with pid [5193] started core service [/rosout] process[modelloader-2]: started with pid [5217] ready process[choreonoid-3]: started with pid [5222] process[hrpsys_py-4]: started with pid [5230] choreonoid will be executed by the command below $ (cd /tmp; choreonoid /home/leus/ros/indigo/src/rtmros_choreonoid/hrpsys_choreonoid_tutorials/config/JAXON_RED_FLAT.cnoid --start-simulation) choreonoid will run with rtc.conf file of /tmp/rtc.conf.choreonoid contents of /tmp/rtc.conf.choreonoid are listed below