Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kunalaglave4 opened this issue Jun 12, 2020 · 3 comments
Open

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

kunalaglave4 opened this issue Jun 12, 2020 · 3 comments

Comments

@kunalaglave4
Copy link

kunalaglave4 commented Jun 12, 2020

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
Copy link
Collaborator

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
Copy link
Author

kunalaglave4 commented Jun 12, 2020

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants