ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem in running uwsim

asked 2014-07-31 08:35:59 -0500

Mind_hunter gravatar image

updated 2014-07-31 23:39:44 -0500

On using command "rosrun uwsim uwsim" to run uwsim following errors are showing:

Starting UWSim... Loading SimulatedDevices plugin: 'ForceSensor_Factory' Loading SimulatedDevices plugin: 'SimDev_Echo_Factory' . Setting localized world: 0.0006s 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 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: 14434 Aborted (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@

How to get rid of these errors?Someone plz help.

edit retag flag offensive close merge delete

Comments

Please edit your question, so that the text is not all in the title and chose a meaningful question title.

dornhege gravatar image dornhege  ( 2014-07-31 08:41:41 -0500 )edit

thanks for the suggestion...

Mind_hunter gravatar image Mind_hunter  ( 2014-07-31 23:42:39 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2014-08-04 00:05:22 -0500

Mind_hunter gravatar image

updated 2014-08-04 00:07:40 -0500

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 .

edit flag offensive delete link more
0

answered 2014-09-12 23:00:16 -0500

Cong Wang gravatar image

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!

edit flag offensive delete link more

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.

WuHugh gravatar image WuHugh  ( 2016-04-23 05:26:05 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-07-31 08:35:59 -0500

Seen: 998 times

Last updated: Sep 12 '14