ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

JaLo's profile - activity

2020-10-22 06:47:07 -0500 received badge  Famous Question (source)
2020-04-27 21:42:20 -0500 received badge  Famous Question (source)
2020-04-27 21:42:20 -0500 received badge  Notable Question (source)
2020-04-27 21:42:20 -0500 received badge  Popular Question (source)
2019-07-24 02:44:39 -0500 received badge  Notable Question (source)
2019-07-24 02:44:39 -0500 received badge  Popular Question (source)
2018-10-04 07:12:30 -0500 asked a question error when running rostest.rosrun

error when running rostest.rosrun I am following this tutorial for trying to implement unit tests on my project. However

2016-10-26 07:27:37 -0500 asked a question How to set shutdown flag to False once it is True

I am running a Python script using IPython, in which I am initializing a ROS node and afterwards subscribing to a topic. When the execution is stopped (Ctrl + C on IPython), the process seems not to be killed (It seems to me that the node hangs from IPython father process), and thus the shutdwon flag keeps True.

The problem comes when I want to run again the script within the same IPython session, as the shutdown flag is set to True and the main functions e.g. rospy.spin() can not be correctly run.

My question is if there is any way to set this flag to False prior to run the code again, as I would like to not close and reopen IPython every time I want to test the script.