agent-system / homework2015

homework for lecture agent_system
BSD 2-Clause "Simplified" License
1 stars 22 forks source link

gazeboが立ち上がらない #55

Closed miettal closed 9 years ago

miettal commented 9 years ago

環境は VM 上の Ubuntu 12.04 です。

動く時と動かない時があります。

以下ログ ros@ubuntu:~$ roslaunch hrpsys_gazebo_tutorials gazebo_samplerobot_no_controllers_drc_testbed.launch ... logging to /home/ros/.ros/log/6d0df6ca-253a-11e5-b818-001c426819d1/roslaunch-ubuntu-4180.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://ubuntu:33035/

SUMMARY

PARAMETERS

NODES / gazebo (hrpsys_gazebo_general/gazebo) robot_state_publisher (robot_state_publisher/state_publisher) spawn_robot_model (gazebo_ros/spawn_model)

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

setting /run_id to 6d0df6ca-253a-11e5-b818-001c426819d1 process[rosout-1]: started with pid [4216] started core service [/rosout] process[gazebo-2]: started with pid [4233] process[robot_state_publisher-3]: started with pid [4236] process[spawn_robot_model-4]: started with pid [4261] Gazebo multi-robot simulator, version 1.9.6 Copyright (C) 2014 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Gazebo multi-robot simulator, version 1.9.6 Copyright (C) 2014 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Msg Waiting for master.Warning [ModelDatabase.cc:335] Getting models from[http://gazebosim.org/models/]. This may take a few seconds. ............................. Error [ConnectionManager.cc:116] Failed to connect to master in 30 seconds. /opt/ros/hydro/lib/gazebo_ros/gazebo: 30: kill: invalid signal number or name: SIGINT [gazebo-2] process has died [pid 4233, exit code 2, cmd /home/ros/ros/hydro/src/rtm-ros-robotics/rtmros_gazebo/hrpsys_gazebo_general/scripts/gazebo /home/ros/ros/hydro/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_gazebo_tutorials/worlds/DRCTestbed.world name:=gazebo log:=/home/ros/.ros/log/6d0df6ca-253a-11e5-b818-001c426819d1/gazebo-2.log]. log file: /home/ros/.ros/log/6d0df6ca-253a-11e5-b818-001c426819d1/gazebo-2*.log

miettal commented 9 years ago

wget -q -O /tmp/jsk.rosbuild https://raw.github.com/jsk-ros-pkg/jsk_common/master/jsk.rosbuild bash /tmp/jsk.rosbuild -s --rtm hydro を実行しなおしたところ動くようになりました。