personalrobotics / or_rviz

OpenRAVE viewer plugin that publishes the environment to RViz as InteractiveMarkers.
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Segfaults in herbpy #2

Closed mklingen closed 9 years ago

mklingen commented 9 years ago

I do the following

rosrun herbpy console --sim
env.SetViewer('InteractiveMarker openrave_interactivemarker')

And I get

Segmentation fault

Also happens when I do

rosrun herbpy console --sim
view = openravepy.RaveCreateViewer(env, 'InteractiveMarker openrave_interactivemarker')
view.main(True)
jeking04 commented 9 years ago

I see the same thing. Interestingly, I also cannot create qtcoin. I get this error for basically every piece of herb:

Coin read error: Not a valid Inventor file. Occurred at line 1 in /opt/ros/hydro/share/herb_description/meshes/herb_base.dae

DATA_READ - Fatal error! Unacceptable input file type.

Not sure if the two things are related.

mkoval commented 9 years ago

The SEGFAULT is due to an underlying bug in interactive_markers. I contributed a bugfix to the upstream, but they only merged it into the indigo-devel branch. You need to build that branch locally to get it to work in Hydro.

I'm not sure what's going on with the HERB model. I'll look into it.

On Tue, Dec 16, 2014 at 1:02 PM Jennifer King notifications@github.com wrote:

I see the same thing. Interestingly, I also cannot create qtcoin. I get this error for basically every piece of herb:

Coin read error: Not a valid Inventor file. Occurred at line 1 in /opt/ros/hydro/share/herb_description/meshes/herb_base.dae

DATA_READ - Fatal error! Unacceptable input file type.

Not sure if the two things are related.

— Reply to this email directly or view it on GitHub https://github.com/personalrobotics/or_interactivemarker/issues/2#issuecomment-67202962 .

mkoval commented 9 years ago

William (at OSRF) backported the change to Hydro in release 1.10.3-0. This should eventually percolate back into the official ros-hydro-interactive-markers Debian package. See this link for more information:

https://github.com/ros-visualization/interactive_markers/pull/19#issuecomment-67245846

mkoval commented 9 years ago

The warnings you are getting from QtCoin are an issue with OpenRAVE. I get three different types of behavior (works with no warnings, warnings and works, warnings and doesn't work) depending upon which computer I use.

I think it depends on which versions of ASSIMP is installed (standard Ubuntu vs. Rosen's PPA vs. the version shipped with OpenRAVE). In any case, I am closing the issue because it's not related to or_interactivemarker. You're welcome to open a new issue on herb_description if you want me to look into it further.