Problem in running uwsim
On using command "rosrun uwsim uwsim" to run uwsim following errors are showing:
Starting UWSim... Loading SimulatedDevices plugin: 'ForceSensorFactory' Loading SimulatedDevices plugin: 'SimDevEchoFactory' . Setting localized world: 0.0006s Loading URDF robot... · robot/GIRONA500/g500March11.osg: Error retrieving file robot/GIRONA500/g500March11.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 SimDevEchoFactory with base class type uwsim::SimulatedDeviceFactory does not exist. Declared types are ForceSensorFactory SimDevEchoFactory /opt/ros/hydro/lib/uwsim/uwsim: line 23: 14434 Aborted (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@
How to get rid of these errors?Someone plz help.
Asked by Mind_hunter on 2014-07-31 08:35:59 UTC
Answers
Got it ..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. Data directory is downloaded and UWsim starts running .
Asked by Mind_hunter on 2014-08-04 00:05:22 UTC
Comments
Hi,
I have some problems on using command "rosrun uwsim uwsim" to run uwsim following errors are showing:
Jack@Jack:~$ rosrun uwsim uwsim
Starting UWSim...
. Setting localized world: 6.1e-05s
Loading URDF robot...
· robot/GIRONA500/g500_March11.osg: 2.67438s
· robot/ARM5E/ARM5E_part0.osg: 0.082435s
· robot/ARM5E/ARM5E_part1.osg: 0.119529s
· robot/ARM5E/ARM5E_part2.osg: 0.127205s
· robot/ARM5E/ARM5E_part3.osg: 0.439133s
· robot/ARM5E/ARM5E_part4_base.osg: 0.420119s
· robot/ARM5E/ARM5E_part4_jaw1.osg: 0.065359s
· robot/ARM5E/ARM5E_part4_jaw2.osg: 0.058875s
· Linking links.../opt/ros/groovy/lib/uwsim/uwsim: line 20: 25729 Segmentation fault (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@
Thank you for your help!
Asked by Cong Wang on 2014-09-12 23:00:16 UTC
Comments
Hi, the problem happens because the environment of ros is something wrong. open a terminal . '' cd ~uwsim/catkin_ws " " source isolated-install/setup.sh" You can have a try. Thank you.
Asked by WuHugh on 2016-04-23 05:26:05 UTC
Comments
Please edit your question, so that the text is not all in the title and chose a meaningful question title.
Asked by dornhege on 2014-07-31 08:41:41 UTC
thanks for the suggestion...
Asked by Mind_hunter on 2014-07-31 23:42:39 UTC