Is it posible to access ROS data directly from a susbcriber class using a NON-ROS python class?
Is it posible to access ROS data directly from a susbcriber class using a NON-ROS python class, this means creating a class with get methods in the ROS class and trying to call that method class from a normal python class. I have tried that and I can access the methods but the values come with cero
Asked by jimenisimo on 2017-07-18 03:45:21 UTC
Comments
Do you mean you want to have a ROS subscriber inside a class that was not fully developed for ROS? Do you a have some code as example?
Asked by marcoarruda on 2017-07-18 07:54:41 UTC
Yes I want to run a subscriber and then access the values that the subscriber is reading... from a class that is not developed for ROS (by calling methods). this can easily be done by saving the data in a data base after reading from the subscriber, but this wouldn't be livestream.
Asked by jimenisimo on 2017-07-24 17:25:42 UTC
You might need to implement a bridge between these two classes using something like zeromq or http requests. If the two classes are initialized within same python process, then I think it might be possible to do some python magic to make a borg style Classes and access data.
Asked by naveedhd on 2017-08-02 10:28:41 UTC