husky/husky_simulator

have some problem with install from source

Closed this issue · 2 comments

I DO:
git clone https://github.com/husky/husky.git
git clone https://github.com/husky/husky_simulator.git
git clone https://github.com/husky/husky_desktop.git
cd ..
catkin build
export HUSKY_GAZEBO_DESCRIPTION=$(rospack find husky_gazebo)/urdf/description.gazebo.xacro
roslaunch husky_gazebo husky_playpen.launch
but:
show error:
xacro.XacroException: included file "/home/jj/gzros_ws/src/husky_simulator/husky_gazebo/urdf/empty.urdf" could not be opened: [Errno 2] No such file or directory: '/home/jj/gzros_ws/src/husky_simulator/husky_gazebo/urdf/empty.urdf'
while processing /home/jj/gzros_ws/src/husky_simulator/husky_gazebo/launch/husky_empty_world.launch:
while processing /home/jj/gzros_ws/src/husky_simulator/husky_gazebo/launch/spawn_husky.launch:
Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py '/home/jj/gzros_ws/src/husky_simulator/husky_gazebo/urdf/description.gazebo.xacro' laser_enabled:=true ur5_enabled:=false kinect_enabled:=false ] returned with code [1].

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

how can i solve it?

It looks like this is my mistake, sorry that you found it for me. To work around this for now, use the following command before launching gazebo. This is just a stop-gap to get you going while I look into a proper fix:

export HUSKY_URDF_EXTRAS=$(rospack find husky_description)/urdf/empty.urdf

@dniewinski thanks very much!