Rqtclose - Odin
import rospy from python_qt_binding.QtCore import QTimer class OdinRqtPlugin: def (self, context): self._node = rospy.init_node('odin_rqt', anonymous=True) self._timer = QTimer() self._timer.timeout.connect(self._spin_ros) self._timer.start(10) # Process ROS events every 10ms
#!/bin/bash # odin – correct wrapper for rqt rqt_pid="" function cleanup if [[ -n "$rqt_pid" ]]; then kill -TERM "$rqt_pid" wait "$rqt_pid" echo "odin rqtclose: clean exit" fi odin rqtclose
<node name="odin_gui" pkg="odin_viz" type="odin_rqt.py" /> Check odin_rqt.py for any custom signal handling. Specifically, search for: import rospy from python_qt_binding