Robotics StackExchange | Archived questions

ROS node and abseil

I am running a node that was orignally written with abseil for logging. Now i call rospy.spin() inside the app.run(main) function from abseil. This leads to the logging message of abseil not being printed out anymore. Is there a solution for this?

Asked by Peter1 on 2019-08-08 03:55:09 UTC

Comments

rospy.spin() is blocking. I.e., you don't get past that execution point anymore after you've reached it once. Might that be the problem? Have you read this wiki page and tried the while not rospy.is_shutdown(): approach?

It might help if you'd provide the respective parts of your source code by editing your question.

Asked by mgruhler on 2019-10-02 05:55:02 UTC

Answers