bsb808 / nre_simmultihusky

NPS ROS Example: Multi-Husky Simulation
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Can not run your multihusky.launch which may caused from deprecated package #4

Open kamoonty opened 5 years ago

kamoonty commented 5 years ago

Hi, I hope you can see my message. Now I'm running with Ubuntu 16.04, ROS kinetic (ROS1) I also working with my Gazebo multi ridgeback robots. But the problem is I don't know how to let EKF localization node works for multiple robots. From your git repo, I have seen that you done it properly. Therefore I would like to run your project to see how it works. Note: I have download the original Husky package already and try to run your multihusky launch file. And found that

  1. The kinect URDF file locazation was changed. So I have edit your mhusky.gazebo.xacro only one line as following
    <xacro:include filename="$(find husky_description)/urdf/accessories/kinect_camera.urdf.xacro"/>
    1. When I launch the multihusky.launch. I have found the error below re/src/nre_simmultihusky/xacro/mhusky.gazebo.xacro' laser_enabled:=true ur5_enabled:=false kinect_enabled:=false nsp:=h1 tfpre:=h1_tf ] returned with code [2]. Param xml is <param command="$(find xacro)/xacro.py --inorder '$(find nre_simmu ltihusky)/xacro/mhusky.gazebo.xacro' laser_enabled:=$(arg laser_enabled ) ur5_enabled:=$(arg ur5_enabled) kinect_enabled:=$(arg kinect_ enabled) nsp:=$(arg namespace) tfpre:=$(arg tfpre) " na me="robot_description"/> The traceback for the exception was written to the log file Do you have any suggestion ??
surajmahangade commented 3 years ago

Hope this helps try: <param name="robot_description" command="$(find xacro)/xacro '$(find husky_description)/urdf/husky.urdf.xacro' robot_namespace:=$(arg namespace) laser_enabled:=$(arg laser_enabled) tfpre:=$(arg tfpre) nsp:=$(arg namespace) " /> Worked for me