usv_sim_lsa icon indicating copy to clipboard operation
usv_sim_lsa copied to clipboard

Getting some error while running uwsim for 1st time.

Open kunalaglave4 opened this issue 4 years ago • 3 comments

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!

kunalaglave4 avatar Jun 12 '20 05:06 kunalaglave4

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

marceloparavisi avatar Jun 12 '20 12:06 marceloparavisi

@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?

kunalaglave4 avatar Jun 12 '20 17:06 kunalaglave4

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

casej4259 avatar Jan 19 '21 00:01 casej4259