OUXT-Polaris / ros_ship_packages

USV simulator for ROS
128 stars 46 forks source link

launchファイルが起動しない #3

Closed yukimakura closed 6 years ago

yukimakura commented 6 years ago

xacroファイルがないっていわれます。 依存関係の問題でしょうか...?

yukimakura@yukimakura-P750ZM:~/ros_ship_ws$` roslaunch ros_ship_description ros_ship.launch 
... logging to /home/yukimakura/.ros/log/712e3e3c-e666-11e7-b823-80fa5b18228a/roslaunch-yukimakura-P750ZM-17164.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
WARNING: disk usage in log directory [/home/yukimakura/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

resource not found: velodyne_description
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/yukimakura/husky_ws/src
ROS path [2]=/home/yukimakura/ros_ship_ws/src
ROS path [3]=/home/yukimakura/ros/catkin_ws/src
ROS path [4]=/opt/ros/kinetic/share
XacroException('resource not found:',)
when processing file: /home/yukimakura/ros_ship_ws/src/ros_ship_packages/ros_ship_description/robots/ros_ship.urdf.xacro
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/lib/xacro/xacro --check-order /home/yukimakura/ros_ship_ws/src/ros_ship_packages/ros_ship_description/robots/ros_ship.urdf.xacro] returned with code [2]. 

Param xml is <param command="$(find xacro)/xacro --check-order $(find ros_ship_description)/robots/ros_ship.urdf.xacro" name="robot_description"/>
The traceback for the exception was written to the log file
hakuturu583 commented 6 years ago

依存しているvelodyne関連のパッケージが入ってないようですね・・・ うっかりREADMEに書き忘れたので追記しておきます。 おそらく以下の手順でインストールすればいけると思います。 sudo apt install ros-kinetic-velodyne*

yukimakura commented 6 years ago

できました!!! ありがとうございます!!!