osrf / mbzirc

Simulator for the MBZIRC Maritime Grand Challenge
Apache License 2.0
67 stars 45 forks source link

Simulator shuts down when reporting vessel #209

Closed chalseokim closed 2 years ago

chalseokim commented 2 years ago

Hello, we are currently attempting to get confirmation from the base station. We are having difficulty with this as the simulator shuts down when we use the commandline from the wiki page which are ros2 run image_transport republish raw --ros-args --remap in:=/quadrotor_17/slot3/optical/image_raw --remap out:=/quadrotor_17/mbzirc/target/stream/start ros2 topic pub --once /quadrotor_1/mbzirc/target/stream/report ros_ign_interfaces/msg/StringVec '{data: ["vessel", "0", "0"]}'

Below is the terminal output right after the report, the second command.

Thank you in advance.

[ign gazebo-1] Stack trace (most recent call last) in thread 619363:
[ign gazebo-1] #15   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
[ign gazebo-1] #14   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f4f59e24132, in clone
[ign gazebo-1] #13   Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7f4f59cea608, in 
[ign gazebo-1] #12   Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f4f55cf0de3, in 
[ign gazebo-1] #11   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so", at 0x7f4f1ffffda7, in ignition::gazebo::v6::systems::SensorsPrivate::RenderThread()
[ign gazebo-1] #10   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so", at 0x7f4f1ffff710, in ignition::gazebo::v6::systems::SensorsPrivate::RunOnce()
[ign gazebo-1] #9    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1db1d094, in std::_Function_handler<void (), std::_Bind<void (mbzirc::GameLogicPluginPrivate::*(mbzirc::GameLogicPluginPrivate*))()> >::_M_invoke(std::_Any_data const&)
[ign gazebo-1] #8    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1db2aa70, in void std::_Bind<void (mbzirc::GameLogicPluginPrivate::*(mbzirc::GameLogicPluginPrivate*))()>::operator()<, void>()
[ign gazebo-1] #7    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1db3818e, in void std::_Bind<void (mbzirc::GameLogicPluginPrivate::*(mbzirc::GameLogicPluginPrivate*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>)
[ign gazebo-1] #6    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1db45df2, in std::__invoke_result<void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&>::type std::__invoke<void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&>(void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&)
[ign gazebo-1] #5    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1db526e7, in void std::__invoke_impl<void, void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&>(std::__invoke_memfun_deref, void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&)
[ign gazebo-1] #4    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1daf937c, in mbzirc::GameLogicPluginPrivate::OnPostRender()
[ign gazebo-1] #3    Object "/home/user/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7f4f1daf9e7a, in mbzirc::GameLogicPluginPrivate::SaveImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[ign gazebo-1] #2    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre2.so", at 0x7f4ee9c8e908, in ignition::rendering::v6::BaseCamera<ignition::rendering::v6::Ogre2Sensor>::Copy(ignition::rendering::v6::Image&) const
[ign gazebo-1] #1    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre2.so", at 0x7f4ee9d1c623, in ignition::rendering::v6::Ogre2RenderTarget::Copy(ignition::rendering::v6::Image&) const
[ign gazebo-1] #0    Object "/lib/x86_64-linux-gnu/libOgreMain.so.2.2.6", at 0x7f4ee98e0d64, in Ogre::TextureGpu::getPixelFormat() const
[ign gazebo-1] Segmentation fault (Address not mapped to object [0x54])
[video_target_relay-48] [INFO] [1660397996.726578913] [quadrotor_17.video_target_relay]: Save target report image to /home/user/.ros/mbzirc/vessel.png.
[ign gazebo-1] [Dbg] [Gpu1;32mignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [SelectEntities.cc:451] SelectEntities plugin is using camera [scene::Camera(65527)]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [MarkerManager.cc:171] Advertise /marker/list service.
[ign gazebo-1] [GUI] [Dbg] [MarkerManager.cc:181] Advertise /marker/list.
[ign gazebo-1] [GUI] [Dbg] [MarkerManager.cc:191] Advertise /marker_array.
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [CameraTracking.cc:181] CameraTrackingPrivate plugin is moving camera [scene::Camera(65527)]
[ign gazebo-1] [GUI] [Msg] Move to service on [/gui/move_to]
[ign gazebo-1] [GUI] [Msg] Follow service on [/gui/follow]
[ign gazebo-1] [GUI] [Msg] Move to pose service on [/gui/move_to/pose]
[ign gazebo-1] [GUI] [Msg] Camera pose topic advertised on [/gui/camera/pose]
[ign gazebo-1] [GUI] [Msg] Follow offset service on [/gui/follow/offset]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [InteractiveViewControl.cc:130] InteractiveViewControl plugin is moving camera [scene::Camera(65527)]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized
[ign gazebo-1] [GUI] [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized
[ign gazebo-1] [GUI] [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized
[ign gazebo-1] [GUI] [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized
[ign gazebo-1] [GUI] [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized
[ign gazebo-1] [GUI] [Dbg] [Ogre2ParticleEmitter.cc:514] Particle emitter initialized
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [EntityContextMenuPlugin.cc:79] Entity context menu plugin is using camera [scene::Camera(65527)]
[ign gazebo-1] [GUI] [Dbg] [SignalHandler.cc:141] Received signal[2].
[ign gazebo-1] [GUI] [Dbg] [Gui.cc:331] Shutting down ign-gazebo-gui
[ign gazebo-1] [GUI] [Dbg] [Application.cc:134] Terminating application.
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [MinimalScene.cc:583] Destroy scene [scene]
[INFO] [ign gazebo-1]: process has finished cleanly [pid 618899]
[INFO] [monitor_sim-2]: process has finished cleanly [pid 618902]
[INFO] [video_target_relay-97]: sending signal 'SIGINT' to process[video_target_relay-97]
[INFO] [pose_tf_broadcaster-96]: sending signal 'SIGINT' to process[pose_tf_broadcaster-96]
[INFO] [parameter_bridge-95]: sending signal 'SIGINT' to process[parameter_bridge-95]
[INFO] [video_target_relay-94]: sending signal 'SIGINT' to process[video_target_relay-94]
[INFO] [pose_tf_broadcaster-93]: sending signal 'SIGINT' to process[pose_tf_broadcaster-93]
[INFO] [parameter_bridge-92]: sending signal 'SIGINT' to process[parameter_bridge-92]
[INFO] [optical_frame_publisher-91]: sending signal 'SIGINT' to process[optical_frame_publisher-91]
[INFO] [optical_frame_publisher-90]: sending signal 'SIGINT' to process[optical_frame_publisher-90]
[INFO] [optical_frame_publisher-89]: sending signal 'SIGINT' to process[optical_frame_publisher-89]
[INFO] [optical_frame_publisher-88]: sending signal 'SIGINT' to process[optical_frame_publisher-88]
[INFO] [optical_frame_publisher-87]: sending signal 'SIGINT' to process[optical_frame_publisher-87]
[INFO] [optical_frame_publisher-86]: sending signal 'SIGINT' to process[optical_frame_publisher-86]
[INFO] [usv_bridge-85]: sending signal 'SIGINT' to process[usv_bridge-85]
[INFO] [video_target_relay-84]: sending signal 'SIGINT' to process[video_target_relay-84]
[INFO] [video_target_relay-97]: process has finished cleanly [pid 620356]
[INFO] [pose_tf_broadcaster-96]: process has finished cleanly [pid 620354]
[INFO] [pose_tf_broadcaster-83]: sending signal 'SIGINT' to process[pose_tf_broadcaster-83]
[INFO] [parameter_bridge-82]: sending signal 'SIGINT' to process[parameter_bridge-82]
[INFO] [video_target_relay-94]: process has finished cleanly [pid 620323]
[INFO] [pose_tf_broadcaster-93]: process has finished cleanly [pid 620313]
[INFO] [video_target_relay-81]: sending signal 'SIGINT' to process[video_target_relay-81]
[INFO] [optical_frame_publisher-91]: process has finished cleanly [pid 620299]
[INFO] [optical_frame_publisher-90]: process has finished cleanly [pid 620289]
[INFO] [pose_tf_broadcaster-80]: sending signal 'SIGINT' to process[pose_tf_broadcaster-80]
[INFO] [optical_frame_publisher-89]: process has finished cleanly [pid 620286]
[INFO] [parameter_bridge-79]: sending signal 'SIGINT' to process[parameter_bridge-79]
[INFO] [optical_frame_publisher-88]: process has finished cleanly [pid 620269]
[INFO] [optical_frame_publisher-87]: process has finished cleanly [pid 620234]
[INFO] [video_target_relay-78]: sending signal 'SIGINT' to process[video_target_relay-78]
[INFO] [optical_frame_publisher-86]: process has finished cleanly [pid 620232]
[INFO] [pose_tf_broadcaster-77]: sending signal 'SIGINT' to process[pose_tf_broadcaster-77]
[INFO] [usv_bridge-85]: process has finished cleanly [pid 620230]
[INFO] [parameter_bridge-76]: sending signal 'SIGINT' to process[parameter_bridge-76]
[INFO] [video_target_relay-84]: process has finished cleanly [pid 620176]
[INFO] [video_target_relay-75]: sending signal 'SIGINT' to process[video_target_relay-75]
[INFO] [pose_tf_broadcaster-83]: process has finished cleanly [pid 620172]
[INFO] [pose_tf_broadcaster-74]: sending signal 'SIGINT' to process[pose_tf_broadcaster-74]
[INFO] [parameter_bridge-73]: sending signal 'SIGINT' to process[parameter_bridge-73]
[INFO] [video_target_relay-72]: sending signal 'SIGINT' to process[video_target_relay-72]
[INFO] [pose_tf_broadcaster-71]: sending signal 'SIGINT' to process[pose_tf_broadcaster-71]
[INFO] [video_target_relay-81]: process has finished cleanly [pid 620144]
[INFO] [parameter_bridge-70]: sending signal 'SIGINT' to process[parameter_bridge-70]
[INFO] [video_target_relay-69]: sending signal 'SIGINT' to process[video_target_relay-69]
[INFO] [pose_tf_broadcaster-80]: process has finished cleanly [pid 620136]
[INFO] [pose_tf_broadcaster-68]: sending signal 'SIGINT' to process[pose_tf_broadcaster-68]
[INFO] [parameter_bridge-67]: sending signal 'SIGINT' to process[parameter_bridge-67]
[INFO] [video_target_relay-66]: sending signal 'SIGINT' to process[video_target_relay-66]
[INFO] [video_target_relay-78]: process has finished cleanly [pid 620099]
[INFO] [pose_tf_broadcaster-77]: process has finished cleanly [pid 620097]
[INFO] [pose_tf_broadcaster-65]: sending signal 'SIGINT' to process[pose_tf_broadcaster-65]
[INFO] [parameter_bridge-64]: sending signal 'SIGINT' to process[parameter_bridge-64]
[INFO] [video_target_relay-63]: sending signal 'SIGINT' to process[video_target_relay-63]
[INFO] [video_target_relay-75]: process has finished cleanly [pid 620069]
[INFO] [pose_tf_broadcaster-74]: process has finished cleanly [pid 620067]
[INFO] [pose_tf_broadcaster-62]: sending signal 'SIGINT' to process[pose_tf_broadcaster-62]
[INFO] [parameter_bridge-61]: sending signal 'SIGINT' to process[parameter_bridge-61]
[INFO] [video_target_relay-60]: sending signal 'SIGINT' to process[video_target_relay-60]
[INFO] [video_target_relay-72]: process has finished cleanly [pid 620033]
[INFO] [pose_tf_broadcaster-71]: process has finished cleanly [pid 620018]
[INFO] [pose_tf_broadcaster-59]: sending signal 'SIGINT' to process[pose_tf_broadcaster-59]
[INFO] [parameter_bridge-58]: sending signal 'SIGINT' to process[parameter_bridge-58]
[INFO] [video_target_relay-57]: sending signal 'SIGINT' to process[video_target_relay-57]
[INFO] [video_target_relay-69]: process has finished cleanly [pid 619982]
[INFO] [pose_tf_broadcaster-68]: process has finished cleanly [pid 619944]
[INFO] [pose_tf_broadcaster-56]: sending signal 'SIGINT' to process[pose_tf_broadcaster-56]
[INFO] [parameter_bridge-55]: sending signal 'SIGINT' to process[parameter_bridge-55]
[INFO] [video_target_relay-54]: sending signal 'SIGINT' to process[video_target_relay-54]
[INFO] [video_target_relay-66]: process has finished cleanly [pid 619896]
[INFO] [pose_tf_broadcaster-65]: process has finished cleanly [pid 619865]
[INFO] [pose_tf_broadcaster-53]: sending signal 'SIGINT' to process[pose_tf_broadcaster-53]
[INFO] [parameter_bridge-52]: sending signal 'SIGINT' to process[parameter_bridge-52]
[INFO] [video_target_relay-51]: sending signal 'SIGINT' to process[video_target_relay-51]
[INFO] [video_target_relay-63]: process has finished cleanly [pid 619854]
[INFO] [pose_tf_broadcaster-62]: process has finished cleanly [pid 619820]
[INFO] [pose_tf_broadcaster-50]: sending signal 'SIGINT' to process[pose_tf_broadcaster-50]
[INFO] [parameter_bridge-49]: sending signal 'SIGINT' to process[parameter_bridge-49]
[INFO] [video_target_relay-48]: sending signal 'SIGINT' to process[video_target_relay-48]
[INFO] [video_target_relay-60]: process has finished cleanly [pid 619772]
[INFO] [pose_tf_broadcaster-47]: sending signal 'SIGINT' to process[pose_tf_broadcaster-47]
[INFO] [pose_tf_broadcaster-59]: process has finished cleanly [pid 619762]
[INFO] [parameter_bridge-46]: sending signal 'SIGINT' to process[parameter_bridge-46]
[INFO] [optical_frame_publisher-45]: sending signal 'SIGINT' to process[optical_frame_publisher-45]
[INFO] [video_target_relay-57]: process has finished cleanly [pid 619754]
[INFO] [optical_frame_publisher-44]: sending signal 'SIGINT' to process[optical_frame_publisher-44]
[INFO] [pose_tf_broadcaster-56]: process has finished cleanly [pid 619731]
[INFO] [video_target_relay-43]: sending signal 'SIGINT' to process[video_target_relay-43]
[INFO] [pose_tf_broadcaster-42]: sending signal 'SIGINT' to process[pose_tf_broadcaster-42]
[INFO] [video_target_relay-54]: process has finished cleanly [pid 619709]
[INFO] [parameter_bridge-41]: sending signal 'SIGINT' to process[parameter_bridge-41]
[INFO] [pose_tf_broadcaster-53]: process has finished cleanly [pid 619703]
[INFO] [video_target_relay-40]: sending signal 'SIGINT' to process[video_target_relay-40]
[INFO] [pose_tf_broadcaster-39]: sending signal 'SIGINT' to process[pose_tf_broadcaster-39]
[INFO] [video_target_relay-51]: process has finished cleanly [pid 619688]
[INFO] [parameter_bridge-38]: sending signal 'SIGINT' to process[parameter_bridge-38]
[INFO] [pose_tf_broadcaster-50]: process has finished cleanly [pid 619685]
[INFO] [video_target_relay-37]: sending signal 'SIGINT' to process[video_target_relay-37]
[INFO] [pose_tf_broadcaster-36]: sending signal 'SIGINT' to process[pose_tf_broadcaster-36]
[INFO] [video_target_relay-48]: process has finished cleanly [pid 619625]
[INFO] [parameter_bridge-35]: sending signal 'SIGINT' to process[parameter_bridge-35]
[INFO] [pose_tf_broadcaster-47]: process has finished cleanly [pid 619617]
[INFO] [video_target_relay-34]: sending signal 'SIGINT' to process[video_target_relay-34]
[INFO] [pose_tf_broadcaster-33]: sending signal 'SIGINT' to process[pose_tf_broadcaster-33]
[INFO] [optical_frame_publisher-45]: process has finished cleanly [pid 619577]
[INFO] [parameter_bridge-32]: sending signal 'SIGINT' to process[parameter_bridge-32]
[INFO] [optical_frame_publisher-44]: process has finished cleanly [pid 619575]
[INFO] [video_target_relay-31]: sending signal 'SIGINT' to process[video_target_relay-31]
[INFO] [pose_tf_broadcaster-30]: sending signal 'SIGINT' to process[pose_tf_broadcaster-30]
[INFO] [video_target_relay-43]: process has finished cleanly [pid 619486]
[INFO] [pose_tf_broadcaster-42]: process has finished cleanly [pid 619484]
[INFO] [parameter_bridge-29]: sending signal 'SIGINT' to process[parameter_bridge-29]
[INFO] [video_target_relay-28]: sending signal 'SIGINT' to process[video_target_relay-28]
[INFO] [pose_tf_broadcaster-27]: sending signal 'SIGINT' to process[pose_tf_broadcaster-27]
[INFO] [video_target_relay-40]: process has finished cleanly [pid 619453]
[INFO] [pose_tf_broadcaster-39]: process has finished cleanly [pid 619446]
[INFO] [parameter_bridge-26]: sending signal 'SIGINT' to process[parameter_bridge-26]
[INFO] [parameter_bridge-25]: sending signal 'SIGINT' to process[parameter_bridge-25]
[INFO] [naive_radar_bridge-4]: sending signal 'SIGINT' to process[naive_radar_bridge-4]
[INFO] [video_target_relay-37]: process has finished cleanly [pid 619432]
[INFO] [pose_tf_broadcaster-36]: process has finished cleanly [pid 619430]
[video_target_relay-97] [INFO] [1660398000.815613186] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-96] [INFO] [1660398000.837225084] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-95] [INFO] [1660398000.858217839] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-94] [INFO] [1660398000.873744997] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-93] [INFO] [1660398000.894282843] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-92] [INFO] [1660398000.915876219] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-91] [INFO] [1660398000.931629426] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-90] [INFO] [1660398000.952107692] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-89] [INFO] [1660398000.972806374] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-88] [INFO] [1660398000.993335040] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-87] [INFO] [1660398001.014263640] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-86] [INFO] [1660398001.037908713] [rclcpp]: signal_handler(signal_value=2)
[usv_bridge-85] [INFO] [1660398001.066553725] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-84] [INFO] [1660398001.091926026] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-83] [INFO] [1660398001.120188240] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-82] [INFO] [1660398001.150894972] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-81] [INFO] [1660398001.193628887] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-80] [INFO] [1660398001.226688567] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-79] [INFO] [1660398001.256904825] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-78] [INFO] [1660398001.278895862] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-77] [INFO] [1660398001.308017340] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-76] [INFO] [1660398001.334742061] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-75] [INFO] [1660398001.352911716] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-74] [INFO] [1660398001.373960564] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-73] [INFO] [1660398001.393836687] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-72] [INFO] [1660398001.413262419] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-71] [INFO] [1660398001.435116161] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-70] [INFO] [1660398001.458589313] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-69] [INFO] [1660398001.473969802] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-68] [INFO] [1660398001.495515937] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-67] [INFO] [1660398001.520440957] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-66] [INFO] [1660398001.538736175] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-65] [INFO] [1660398001.559564335] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-64] [INFO] [1660398001.583517204] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-63] [INFO] [1660398001.601543053] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-62] [INFO] [1660398001.621860500] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-61] [INFO] [1660398001.646324609] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-60] [INFO] [1660398001.664710323] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-59] [INFO] [1660398001.686180589] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-58] [INFO] [1660398001.709101822] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-57] [INFO] [1660398001.727527684] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-56] [INFO] [1660398001.747816880] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-55] [INFO] [1660398001.770714440] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-54] [INFO] [1660398001.788034832] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-53] [INFO] [1660398001.808493692] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-52] [INFO] [1660398001.830776683] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-51] [INFO] [1660398001.849813129] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-50] [INFO] [1660398001.869391377] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-49] [INFO] [1660398001.890609191] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-48] [INFO] [1660398001.909234993] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-47] [INFO] [1660398001.928784824] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-46] [INFO] [1660398001.951133762] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-45] [INFO] [1660398001.969096748] [rclcpp]: signal_handler(signal_value=2)
[optical_frame_publisher-44] [INFO] [1660398001.988053411] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-43] [INFO] [1660398002.009956727] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-42] [INFO] [1660398002.031074282] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-41] [INFO] [1660398002.049311780] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-40] [INFO] [1660398002.067299359] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-39] [INFO] [1660398002.088275208] [rclcpp]: signal_handler(signal_value=2)
[INFO] [video_target_relay-34]: process has finished cleanly [pid 619417]
[parameter_bridge-38] [INFO] [1660398002.107015725] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-37] [INFO] [1660398002.125117259] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-36] [INFO] [1660398002.146012440] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-35] [INFO] [1660398002.164106377] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-34] [INFO] [1660398002.182562958] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-33] [INFO] [1660398002.203128303] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-32] [INFO] [1660398002.223289274] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-31] [INFO] [1660398002.241533083] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-30] [INFO] [1660398002.259587252] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-29] [INFO] [1660398002.279254882] [rclcpp]: signal_handler(signal_value=2)
[video_target_relay-28] [INFO] [1660398002.298151372] [rclcpp]: signal_handler(signal_value=2)
[pose_tf_broadcaster-27] [INFO] [1660398002.318292462] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-26] [INFO] [1660398002.337762530] [rclcpp]: signal_handler(signal_value=2)
[parameter_bridge-25] [INFO] [1660398002.354550483] [rclcpp]: signal_handler(signal_value=2)
[naive_radar_bridge-4] [INFO] [1660398002.374306172] [rclcpp]: signal_handler(signal_value=2)
[INFO] [pose_tf_broadcaster-33]: process has finished cleanly [pid 619415]
[INFO] [video_target_relay-31]: process has finished cleanly [pid 619402]
[INFO] [pose_tf_broadcaster-30]: process has finished cleanly [pid 619400]
[INFO] [video_target_relay-28]: process has finished cleanly [pid 619387]
[INFO] [pose_tf_broadcaster-27]: process has finished cleanly [pid 619385]
[INFO] [naive_radar_bridge-4]: process has finished cleanly [pid 618906]
[ERROR] [parameter_bridge-95]: process[parameter_bridge-95] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-92]: process[parameter_bridge-92] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-82]: process[parameter_bridge-82] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-79]: process[parameter_bridge-79] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-76]: process[parameter_bridge-76] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-73]: process[parameter_bridge-73] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-70]: process[parameter_bridge-70] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-67]: process[parameter_bridge-67] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-64]: process[parameter_bridge-64] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-61]: process[parameter_bridge-61] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-58]: process[parameter_bridge-58] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-55]: process[parameter_bridge-55] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-52]: process[parameter_bridge-52] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-49]: process[parameter_bridge-49] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-46]: process[parameter_bridge-46] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-41]: process[parameter_bridge-41] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-38]: process[parameter_bridge-38] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-35]: process[parameter_bridge-35] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-32]: process[parameter_bridge-32] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-29]: process[parameter_bridge-29] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-26]: process[parameter_bridge-26] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[ERROR] [parameter_bridge-25]: process[parameter_bridge-25] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[INFO] [parameter_bridge-95]: sending signal 'SIGTERM' to process[parameter_bridge-95]
[INFO] [parameter_bridge-92]: sending signal 'SIGTERM' to process[parameter_bridge-92]
[INFO] [parameter_bridge-95]: process has finished cleanly [pid 620352]
[INFO] [parameter_bridge-82]: sending signal 'SIGTERM' to process[parameter_bridge-82]
[INFO] [parameter_bridge-92]: process has finished cleanly [pid 620311]
[INFO] [parameter_bridge-79]: sending signal 'SIGTERM' to process[parameter_bridge-79]
[INFO] [parameter_bridge-82]: process has finished cleanly [pid 620155]
[INFO] [parameter_bridge-76]: sending signal 'SIGTERM' to process[parameter_bridge-76]
[INFO] [parameter_bridge-79]: process has finished cleanly [pid 620119]
[INFO] [parameter_bridge-73]: sending signal 'SIGTERM' to process[parameter_bridge-73]
[INFO] [parameter_bridge-76]: process has finished cleanly [pid 620095]
[INFO] [parameter_bridge-70]: sending signal 'SIGTERM' to process[parameter_bridge-70]
[INFO] [parameter_bridge-73]: process has finished cleanly [pid 620050]
[INFO] [parameter_bridge-67]: sending signal 'SIGTERM' to process[parameter_bridge-67]
[INFO] [parameter_bridge-70]: process has finished cleanly [pid 620014]
[INFO] [parameter_bridge-64]: sending signal 'SIGTERM' to process[parameter_bridge-64]
[INFO] [parameter_bridge-67]: process has finished cleanly [pid 619924]
[INFO] [parameter_bridge-61]: sending signal 'SIGTERM' to process[parameter_bridge-61]
[INFO] [parameter_bridge-64]: process has finished cleanly [pid 619863]
[INFO] [parameter_bridge-58]: sending signal 'SIGTERM' to process[parameter_bridge-58]
[INFO] [parameter_bridge-61]: process has finished cleanly [pid 619814]
[INFO] [parameter_bridge-55]: sending signal 'SIGTERM' to process[parameter_bridge-55]
[INFO] [parameter_bridge-58]: process has finished cleanly [pid 619760]
[INFO] [parameter_bridge-52]: sending signal 'SIGTERM' to process[parameter_bridge-52]
[INFO] [parameter_bridge-55]: process has finished cleanly [pid 619720]
[INFO] [parameter_bridge-49]: sending signal 'SIGTERM' to process[parameter_bridge-49]
[INFO] [parameter_bridge-52]: process has finished cleanly [pid 619697]
[INFO] [parameter_bridge-46]: sending signal 'SIGTERM' to process[parameter_bridge-46]
[INFO] [parameter_bridge-49]: process has finished cleanly [pid 619645]
[INFO] [parameter_bridge-41]: sending signal 'SIGTERM' to process[parameter_bridge-41]
[INFO] [parameter_bridge-46]: process has finished cleanly [pid 619597]
[INFO] [parameter_bridge-38]: sending signal 'SIGTERM' to process[parameter_bridge-38]
[INFO] [parameter_bridge-41]: process has finished cleanly [pid 619482]
[INFO] [parameter_bridge-35]: sending signal 'SIGTERM' to process[parameter_bridge-35]
[INFO] [parameter_bridge-32]: sending signal 'SIGTERM' to process[parameter_bridge-32]
[INFO] [parameter_bridge-38]: process has finished cleanly [pid 619443]
[INFO] [parameter_bridge-35]: process has finished cleanly [pid 619428]
[INFO] [parameter_bridge-29]: sending signal 'SIGTERM' to process[parameter_bridge-29]
[INFO] [parameter_bridge-32]: process has finished cleanly [pid 619413]
[INFO] [parameter_bridge-26]: sending signal 'SIGTERM' to process[parameter_bridge-26]
[INFO] [parameter_bridge-25]: sending signal 'SIGTERM' to process[parameter_bridge-25]
[INFO] [parameter_bridge-29]: process has finished cleanly [pid 619398]
[INFO] [parameter_bridge-26]: process has finished cleanly [pid 619383]
[INFO] [parameter_bridge-25]: process has finished cleanly [pid 619241]
iche033 commented 2 years ago

Can you check if you have ignition-rendering version 6.5.1?

jiazk1226 commented 2 years ago

Hello, we are facing the same problem. In the previous issue, we planned to use different cameras of different UAVs to report the positions of the target vessel and the object respectively. However, in the new version, after we received vessel_id_success, we close the streaming, then use another UAV to identify the object and report the position. When the object is identified and reported, the process of mbzirc_simulater shut down and reports the following error message. However, when we use the same camera on the same UAV, everything goes well. We can get feedback from /mbzirc/phase in turn: vessel_id_success >> small_object_id_success >> large_object_id_success.

We checked the ignition-rendering version and the version is 6.5.1.

Thank you.

[ign gazebo-1] ign gazebo server: /var/lib/jenkins/workspace/ogre-2.2-debbuilder/repo/OgreMain/src/OgreTextureGpu.cpp:175: void Ogre::TextureGpu::setResolution(Ogre::uint32, Ogre::uint32, Ogre::uint32): Assertion `mResidencyStatus == GpuResidency::OnStorage || isRenderWindowSpecific()' failed.
[ign gazebo-1] Stack trace (most recent call last) in thread 2335238:
[ign gazebo-1] #22   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
[ign gazebo-1] #21   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd884ab2132, in clone
[ign gazebo-1] #20   Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fd884978608, in 
[ign gazebo-1] #19   Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7fd8807a8de3, in 
[ign gazebo-1] #18   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so", at 0x7fd856afb867, in ignition::gazebo::v6::systems::SensorsPrivate::RenderThread()
[ign gazebo-1] #17   Object "/usr/lib/x86_64-linux-gnu/ign-gazebo-6/plugins/libignition-gazebo-sensors-system.so", at 0x7fd856afb1f2, in ignition::gazebo::v6::systems::SensorsPrivate::RunOnce()
[ign gazebo-1] #16   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd854670ff4, in std::_Function_handler<void (), std::_Bind<void (mbzirc::GameLogicPluginPrivate::*(mbzirc::GameLogicPluginPrivate*))()> >::_M_invoke(std::_Any_data const&)
[ign gazebo-1] #15   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd85467f2fe, in void std::_Bind<void (mbzirc::GameLogicPluginPrivate::*(mbzirc::GameLogicPluginPrivate*))()>::operator()<, void>()
[ign gazebo-1] #14   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd85468cdd0, in void std::_Bind<void (mbzirc::GameLogicPluginPrivate::*(mbzirc::GameLogicPluginPrivate*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>)
[ign gazebo-1] #13   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd85469abfa, in std::__invoke_result<void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&>::type std::__invoke<void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&>(void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&)
[ign gazebo-1] #12   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd8546a7697, in void std::__invoke_impl<void, void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&>(std::__invoke_memfun_deref, void (mbzirc::GameLogicPluginPrivate::*&)(), mbzirc::GameLogicPluginPrivate*&)
[ign gazebo-1] #11   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd85464c642, in mbzirc::GameLogicPluginPrivate::OnPostRender()
[ign gazebo-1] #10   Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd85464d12a, in mbzirc::GameLogicPluginPrivate::FindTargetVisual(std::shared_ptr<ignition::rendering::v6::Visual> const&, ignition::math::v6::Vector2<int> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const
[ign gazebo-1] #9    Object "/home/vision/mbzirc_ws/install/lib/libGameLogicPlugin.so", at 0x7fd85464e151, in mbzirc::GameLogicPluginPrivate::VisualAt(unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const
[ign gazebo-1] #8    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd830203c95, in ignition::rendering::v6::Ogre2Camera::VisualAt(ignition::math::v6::Vector2<int> const&)
[ign gazebo-1] #7    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd8302029f3, in ignition::rendering::v6::Ogre2Camera::SetSelectionBuffer()
[ign gazebo-1] #6    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd8302a3a6f, in ignition::rendering::v6::Ogre2SelectionBuffer::Ogre2SelectionBuffer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<ignition::rendering::v6::Ogre2Scene>, unsigned int, unsigned int)
[ign gazebo-1] #5    Object "/usr/lib/x86_64-linux-gnu/ign-rendering-6/engine-plugins/libignition-rendering-ogre2.so", at 0x7fd8302a2827, in ignition::rendering::v6::Ogre2SelectionBuffer::CreateRTTBuffer()
[ign gazebo-1] #4    Object "/lib/x86_64-linux-gnu/libOgreMain.so.2.2.6", at 0x7fd8148b019f, in Ogre::TextureGpu::setResolution(unsigned int, unsigned int, unsigned int)
[ign gazebo-1] #3    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd8849c6fd5, in __assert_fail
[ign gazebo-1] #2    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd8849b5728, in 
[ign gazebo-1] #1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd8849b5858, in abort
[ign gazebo-1] #0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fd8849d600b, in gsignal
[ign gazebo-1] Aborted (Signal sent by tkill() 2335156 1000)
[ign gazebo-1] [GUI] [Wrn] [Application.cc:753] [QT] QFileSystemWatcher::removePaths: list is empty
[ign gazebo-1] [GUI] [Wrn] [Application.cc:753] [QT] QFileSystemWatcher::removePaths: list is empty
[ign gazebo-1] [GUI] [Wrn] [Application.cc:753] [QT] QObject::startTimer: Timers can only be used with threads started with QThread
[ign gazebo-1] [Msg] Target report in stream: v[GUI] [Dbg] [SignalHandler.cc:141] Received signal[2].
[ign gazebo-1] [GUI] [Dbg] [Gui.cc:331] Shutting down ign-gazebo-gui
[ign gazebo-1] [GUI] [Dbg] [Application.cc:134] Terminating application.
[ign gazebo-1] [GUI] [Msg] Loading plugin [ignition-rendering-ogre2]
[ign gazebo-1] [GUI] [Dbg] [MinimalScene.cc:583] Destroy scene [scene]
[INFO] [ign gazebo-1]: process has finished cleanly [pid 2335137]
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[parameter_bridge-2] [INFO] [1660640878.099121936] [rclcpp]: signal_handler(signal_value=2)
[ERROR] [parameter_bridge-2]: process[parameter_bridge-2] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[INFO] [parameter_bridge-2]: sending signal 'SIGTERM' to process[parameter_bridge-2]
[INFO] [parameter_bridge-2]: process has finished cleanly [pid 2335139]
Package: libignition-rendering6-dev
Versions: 
6.5.1-1~focal (/var/lib/apt/lists/packages.osrfoundation.org_gazebo_ubuntu-stable_dists_focal_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/packages.osrfoundation.org_gazebo_ubuntu-stable_dists_focal_main_binary-amd64_Packages
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212
 Description Language: 
                 File: /var/lib/apt/lists/packages.ros.org_ros2_ubuntu_dists_focal_main_binary-amd64_Packages
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212
 Description Language: 
                 File: /var/lib/dpkg/status
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212

6.4.0-1~focal (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/packages.osrfoundation.org_gazebo_ubuntu-stable_dists_focal_main_binary-amd64_Packages
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212
 Description Language: 
                 File: /var/lib/apt/lists/packages.ros.org_ros2_ubuntu_dists_focal_main_binary-amd64_Packages
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212
 Description Language: 
                 File: /var/lib/dpkg/status
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212

6.3.1-1~focal (/var/lib/apt/lists/packages.ros.org_ros2_ubuntu_dists_focal_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/packages.osrfoundation.org_gazebo_ubuntu-stable_dists_focal_main_binary-amd64_Packages
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212
 Description Language: 
                 File: /var/lib/apt/lists/packages.ros.org_ros2_ubuntu_dists_focal_main_binary-amd64_Packages
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212
 Description Language: 
                 File: /var/lib/dpkg/status
                  MD5: 407e5ec2f0cfd9c4691129defe9d0212

Reverse Depends: 
  libignition-gazebo6-dev,libignition-rendering6-dev 6.5.0
  libignition-gazebo6-dev,libignition-rendering6-dev
  ignition-fortress,libignition-rendering6-dev 6.3.1
Dependencies: 
6.5.1-1~focal - libignition-rendering6-core-dev (5 6.5.1-1~focal) libignition-rendering6-ogre1-dev (5 6.5.1-1~focal) libignition-rendering6-ogre2-dev (5 6.5.1-1~focal) libignition-rendering6 (5 6.5.1-1~focal) 
6.4.0-1~focal - libignition-rendering6-core-dev (5 6.4.0-1~focal) libignition-rendering6-ogre1-dev (5 6.4.0-1~focal) libignition-rendering6-ogre2-dev (5 6.4.0-1~focal) libignition-rendering6 (5 6.4.0-1~focal) 
6.3.1-1~focal - libignition-rendering6-core-dev (5 6.3.1-1~focal) libignition-rendering6-ogre1-dev (5 6.3.1-1~focal) libignition-rendering6-ogre2-dev (5 6.3.1-1~focal) libignition-rendering6 (5 6.3.1-1~focal) 
Provides: 
6.5.1-1~focal - 
6.4.0-1~focal - 
6.3.1-1~focal - 
Reverse Provides:
iche033 commented 2 years ago

Can you also check: libignition-rendering6-ogre2-dev, e.g. post the output of

dpkg -l | grep libignition-rendering6-ogre2-dev

In your mbzirc_ws, you can also double check and verify that it's linking against the correct ign-rendering library

ldd `find install/ | grep GameLogic` | grep rendering6

The process we have been using for testing switching streams when reporting target is described in #195. Let me know if you see anything different that we're doing from your use case.

jiazk1226 commented 2 years ago

Thank you, this solved my problem! I input dpkg -l | grep libignition-rendering6-ogre2-dev in the terminal and find the version of libignition-rendering6-ogre2-dev is 6.4.1. Then I update it and everything was done. Thank you again!

iche033 commented 2 years ago

great to hear that!

iche033 commented 2 years ago

@chalseokim looking closely at your backtrace, it seems to be related to a recent change added for logging target report images. To be safe, I disabled it in https://github.com/osrf/mbzirc/pull/214.

dongk-97 commented 2 years ago

We have checked the version of the ignition rendering and it is 6.5.1. Also, we checked that the linking is correct as below.

dpkg -l | grep libignition-rendering6-ogre2-dev
ii  libignition-rendering6-ogre2-dev:amd64              6.5.1-1~focal                         amd64        Ignition rendering classes and functions for robot apps - Development files

We found that the phase transition works fine when we use vga camera and the shutting down issue occurs when the endpoint camera is an rgbd.

Are we not allowed to stream using an rgbd or is this a bug? If not, do we have a different dependency issue?

Thank you.

iche033 commented 2 years ago

Are we not allowed to stream using an rgbd or is this a bug? If not, do we have a different dependency issue?

Found that it's a bug. Do you need to use rgbd camera for reporting targets or can you workaround the issue? In any case, I have created a PR to fix the issue in https://github.com/osrf/mbzirc/pull/216 first.