Is it possible to publish msg in rospy.on_shutdown
I want to publish message while roscore is closing. I tried to use rospy.on_shutdown but it didn't work. In wiki it says "Messages are not guaranteed to be published." for on_shutdown. I am coding with python. How can i do that?