Skip to content

Instantly share code, notes, and snippets.

@icyflame
Created July 22, 2014 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icyflame/42d63308031d948f7d66 to your computer and use it in GitHub Desktop.
Save icyflame/42d63308031d948f7d66 to your computer and use it in GitHub Desktop.
siddharth@ubuntu:ros_workspace$ rosrun uwsim uwsim
Starting UWSim...
Loading SimulatedDevices plugin: 'ForceSensor_Factory'
Loading SimulatedDevices plugin: 'SimDev_Echo_Factory'
. Setting localized world: 0.125195s
Loading URDF robot...
· robot/GIRONA500/g500_March11.osg: Can't load file 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 SimDev_Echo_Factory with base class type uwsim::SimulatedDeviceFactory does not exist. Declared types are ForceSensor_Factory SimDev_Echo_Factory
/opt/ros/hydro/lib/uwsim/uwsim: line 23: 4954 Aborted (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@
@smanish22
Copy link

same error i got..

@smanish22
Copy link

.Actually data directory was not downloaded ...so i run the command [rm -r /.uwsim] to delete the directory .uwsim recursively and then again run
rossun uwsim uwsim
this message is displayed ::
"The UWSim data directory (
/.uwsim/data) does not exist. We need to download ~300Mb of data and place it under ~/.uwsim/data. Note this is required to run UWSim.\nContinue (Y/n) ? "
Type Y and enter. UWsim will start running after data directory would be downloaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment