g / grizzly_simulator

Gazebo simulation for Grizzly
5 stars 9 forks source link

Grizzly fails to launch in gazebo #9

Open DragonForgedTheArtist opened 6 years ago

DragonForgedTheArtist commented 6 years ago

I get the following error trying to run grizzly in ros and gazebo

$ roslaunch grizzly_gazebo grizzly_empty_world.launch ... logging to /home/allen/.ros/log/3d9ec04a-768b-11e8-82d2-000c29f99e36/roslaunch-ubuntu-2701.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.

resource not found: velodyne_description ROS path [0]=/opt/ros/kinetic/share/ros ROS path [1]=/home/allen/catkin_ws/src/grizzly/grizzly_control ROS path [2]=/home/allen/catkin_ws/src/grizzly/grizzly_description ROS path [3]=/home/allen/catkin_ws/src/grizzly_desktop/grizzly_desktop ROS path [4]=/home/allen/catkin_ws/src/grizzly_simulator/grizzly_gazebo ROS path [5]=/home/allen/catkin_ws/src/grizzly/grizzly_msgs ROS path [6]=/home/allen/catkin_ws/src/grizzly/grizzly_navigation ROS path [7]=/home/allen/catkin_ws/src/grizzly_simulator/grizzly_simulator ROS path [8]=/home/allen/catkin_ws/src/grizzly_desktop/grizzly_viz ROS path [9]=/opt/ros/kinetic/share None when processing file: /home/allen/catkin_ws/src/grizzly/grizzly_description/urdf/accessories.urdf.xacro included from: /home/allen/catkin_ws/src/grizzly/grizzly_description/urdf/grizzly.urdf.xacro while processing /home/allen/catkin_ws/src/grizzly_simulator/grizzly_gazebo/launch/spawn_grizzly.launch: while processing /home/allen/catkin_ws/src/grizzly/grizzly_control/launch/control.launch: while processing /home/allen/catkin_ws/src/grizzly/grizzly_description/launch/description.launch: Invalid tag: Cannot load command parameter [robot_description]: command [ /home/allen/catkin_ws/src/grizzly/grizzly_description/scripts/env_run /home/allen/catkin_ws/src/grizzly/grizzly_description/urdf/configs/empty /opt/ros/kinetic/lib/xacro/xacro '/home/allen/catkin_ws/src/grizzly/grizzly_description/urdf/grizzly.urdf.xacro' --inorder robot_namespace:=/ urdf_extras:= ] returned with code [2].

Param xml is The traceback for the exception was written to the log file

tonybaltovski commented 6 years ago

Hi @DragonEagle could you double check you have all the need dependencies installed using rosdep install --from-paths src --ignore-src --rosdistro=$ROS_DISTRO -y inside you workspace?

DragonForgedTheArtist commented 6 years ago

That didn't fix it. I'm sorry I forgot to mention that i am running kinetic on ubuntu 16.04

tonybaltovski commented 6 years ago

Pull down the latest grizzly repo, this was fixed in there. If you add the Clearpath Packages, you can install the debs using apt.

DragonForgedTheArtist commented 6 years ago

Didn't work installing them from the repository either. I even tried to reinstall from scratch. I'm not going to worry about it for right now. As long as I don't need it for any of the tutorials I'm going through it will be ok.

tonybaltovski commented 6 years ago

Could you run git log -n 1 in grizzly and grizzly_simulator repos?

DragonForgedTheArtist commented 6 years ago

grizzly$ git log -n 1 commit 1061cf9225677ce3e2d0ba1380dc9918cca4e10e Author: Tony Baltovski tbaltovski@clearpathrobotics.com Date: Fri Jun 22 10:33:51 2018 -0400

0.4.2

grizzly_simulator$ git log -n 1 commit 45643dbbe067945be67758eb498b39f591f2a70e Author: Tony Baltovski tony.baltovski@gmail.com Date: Fri Jun 8 13:24:35 2018 -0400

0.3.1
tonybaltovski commented 6 years ago

Those are the correct versions. Did you re-run rosdep? Lastly, you could just install velodyne_description via apt.

DragonForgedTheArtist commented 6 years ago

I did rerun rosdep and ros-kinetic-velodyne-description is already installed