husky / husky_simulator

Simulator packages for the Clearpath Husky for Indigo & prior. For kinetic, visit https://github.com/husky/husky
http://wiki.ros.org/Robots/Husky
29 stars 52 forks source link

have some problem with install from source #33

Closed ghost closed 6 years ago

ghost commented 6 years ago

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?

dniewinski commented 6 years ago

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

ghost commented 6 years ago

@dniewinski thanks very much!