AUV-IITK/Varun-Software

Unable to find models in varun_gazebo

Closed this issue · 1 comments

While running the varun_world.launch file in varun_gazebo package, errors are coming which say that the gazebo is not able to find various models:

process[gazebo_gui-3]: started with pid [7077]
[ INFO] [1506872727.280327854]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1506872727.281299900]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/perimeter]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/perimeter]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/perimeter]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/light/light_x]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/light/light_y]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/light/light_z]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/light/light_negative_x]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/light/light_negative_y]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/light/light_negative_z]
Error [parser.cc:581] Unable to find uri[model://varun_description]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/buoy_red]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/buoy_green]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/buoy_yellow]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/gate]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/marker_target_o]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/marker_target_x]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/torpedo_target]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/line]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/octagon_signal]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/octagon]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/octagon_signal]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/octagon]
Error [parser.cc:581] Unable to find uri[model://varun_gazebo/models/mittal]
[ INFO] [1506873201.801523353]: Varun Motion Plugin loaded

The gazebo is unable to find the packages where the models are present. To fix this, you need to attach the path of the directory to the GAZEBO_MODEL_PATH. Try the following command and let me know if it works:

export GAZEBO_MODEL_PATH=$HOME/catkin_ws/src/debug_layer:$GAZEBO_MODEL_PATH