Unable to spawn model after roslaunch ing it
Hello.
I have been working on a project where I had to develop a model in gazebo and then simulate it with a custom control plugin. I am using ROS-Kinetic. After creating the model and plugin, I exported the ROS_ROOT and PYTHONPATH. Later I tried to launch the model in gazebo using the following command
roslaunch spider_gazebo spider_world.launch
where spider_gazebo is a catkin package. I have also sourced the setup.bash file to the catkin location. When i run the above command I am getting the following error i.e.
/home/microbot/catkin_ws/src/gazebo_ros/scripts/spawn_model": not in executable format: File format not recognized
Due to this error the URDF is not being spawnned. can anyone please help me in pointing out the reason behind this problem. Thank you