RateMyPlacement and RateMyApprenticeship are now Higherin: Learn More

Higherin

Odin Rqtclose -

#!/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

rqt --force-discover --close-with-master The --close-with-master flag ensures rqt exits if the ROS master dies, preventing hangs. Outdated python-qt-binding or ros-kinetic-rqt-gui (or Melodic/Noetic) can cause shutdown deadlocks. Update: odin rqtclose

def _spin_ros(self): rospy.rostime.wallsleep(0) # Allow ROS callbacks If it closes cleanly, the problem is in your Odin wrapper

rosrun rqt_gui rqt_gui Then close it. If it closes cleanly, the problem is in your Odin wrapper. If rqt itself crashes, you have a system-level ROS issue. If you use a launch file (e.g., odin_gui.launch ), look for: If it closes cleanly

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

Join Now

Join the Higherin Community

Save Time

Easily add jobs from Higherin or external platforms to keep everything organised.

Personalised Alerts

Get tailored job recommendations and updates straight to your inbox.

Exclusive Features

Access tools like application tracking, deadline reminders, and saved searches.

Stay Ahead

Be the first to know about the latest opportunities and deadlines.

Completely Free

Create an account and unlock powerful features at no cost.