openag_brain icon indicating copy to clipboard operation
openag_brain copied to clipboard

The get_topic_data function in nodes/api.py isn't general nor robust.

Open goruck opened this issue 7 years ago • 0 comments

The get_topic_data function in nodes/api.py does not work except for some specific topics and will hang if a topic isn't publishing messages. I rewrote it to be general and with better error handling. See PR #339 for those code changes.

Note that this api is very useful if a user wants a current message from a topic since the data comes directly from ROS and not from CouchDB. Its also faster since getting a current view from CouchDB is very slow.

goruck avatar Oct 29 '17 14:10 goruck