disaster-robotics-proalertas / usv_sim_lsa

Unmanned Surface Vehicle simulation on Gazebo with water current and winds
Apache License 2.0
325 stars 105 forks source link

Getting some error while running uwsim for 1st time. #49

Open kunalaglave4 opened 4 years ago

kunalaglave4 commented 4 years ago

I have installed uwsim using UWSim Source-based installation . Now I am trying to run uwsim first time using command rosrun uwsim uwsim. So, asked me to download some data, after I clicked yes, no new window appears. Instead, it shows following error.

it shows massage shows in command window after runnin rosrun uwsim uwsim

Starting UWSim... Loading SimulatedDevices plugin: 'DredgeTool_Factory' Loading SimulatedDevices plugin: 'ForceSensor_Factory' Loading SimulatedDevices plugin: 'SimDev_Echo_Factory' . Setting localized world: 4.1e-05s Loading URDF robot... · robot/GIRONA500/g500_March11.osg: Error retrieving file robot/GIRONA500/g500_March11.osg Check URDF file or set your data path with the --dataPath option. terminate called after throwing an instance of 'pluginlib::LibraryUnloadException' what(): According to the loaded plugin descriptions the class ForceSensor_Factory with base class type uwsim::SimulatedDeviceFactory does not exist. Declared types are DredgeTool_Factory ForceSensor_Factory SimDev_Echo_Factory ./uwsim: line 23: 4915 Aborted (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@

Please suggest if anyone knows how to solve it!

marceloparavisi commented 4 years ago

Hello

The data is already downloaded, please run the "install_usv_sim" script.

So the folder ".uwsim" will be moved to your home folder.

Regards, Marcelo

kunalaglave4 commented 4 years ago

@marceloparavisi Thank you for your reply sir. I am learning ROS and I am completely new to this. Can you please tell me, where that file is located if I want to run it?

casej4259 commented 3 years ago

When I try to run the "install_usv_sim" script, I get the following: mv: cannot stat '.uwsim': No such file or directory