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

Video Plugin Crashes Gzserver (Gazebo9) #788

Open
arixrobotics opened this issue Aug 2, 2018 · 4 comments
Open

Video Plugin Crashes Gzserver (Gazebo9) #788

arixrobotics opened this issue Aug 2, 2018 · 4 comments

Comments

@arixrobotics
Copy link

Hello all,

It seems that the video plugin libgazebo_ros_video.so is crashing gzserver everytime I load it in ROS Kinetic + Gazebo 9.

This is the code snippet:

<gazebo reference="screen">
<visual>
 <plugin name="screen_video_controller" filename="libgazebo_ros_video.so">
   <height>600</height>
   <width>1024</width>
   <topicName>/robot/head_display</topicName>
   <robotNamespace>/robot</robotNamespace>
 </plugin>
</visual>
</gazebo>

If I try to load this model, I'll get:

...
[ INFO] [1533119655.853751756]: GazeboRosVideo (gzclient, ns = /robot) has started
Segmentation fault (core dumped)
[gazebo_gui-3] process has died [pid 12932, exit code 139, cmd /opt/ros/kinetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/arif/.ros/log/6157ef48-9576-11e8-90e1-6c71d97cbaff/gazebo_gui-3.log].
log file: /home/arif/.ros/log/6157ef48-9576-11e8-90e1-6c71d97cbaff/gazebo_gui-3*.log

But if I comment out that part, it loads ok (without that video display, of course).

I've seen this issue, but it seems like a different case #354

Can anyone help?

@kev-the-dev
Copy link
Collaborator

Thanks for the report. I'm curious if this is related to #646. Are you able to test this with gazebo7 + Kinetic?

@arixrobotics
Copy link
Author

arixrobotics commented Aug 2, 2018 via email

@shiveshkhaitan
Copy link

Building gazebo_ros_video and cv_bridge from source works fine.

@gaopinghai
Copy link

Hi, can you provide me a model which use libgazebo_ros_video.so as plugins? I tried very hard but failed to build a model which can display videos from rostopic. Please give me a demo model, thanks a lot!!!

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

4 participants