pyros-dev / pyros

Python interfacing for multiprocess software - A Python blanket for ROS to hide inside
BSD 3-Clause "New" or "Revised" License
25 stars 4 forks source link

Callback on events #88

Open asmodehn opened 8 years ago

asmodehn commented 8 years ago

The goal here is to trigger a callback whenever something happen on one environment.

Example : Rostful <-> Pyros <-> ROS

Currently Rostful requests are forwarde to pyros and then to ROS.

But it would be useful if a change in ROS could trigger a change in Rostful. This would be useful in dynamically building url routes.

This is probably related to https://github.com/asmodehn/pyros/issues/67 and also to the feature of having ROS side able to be a client of a Web service, through Pyros (and maybe Rostful).

asmodehn commented 7 years ago

Just a quick update here, the current thinking is to have the client (rostful) establish a "hook" the first time it (discover and?) connect to pyros. Any further changes to the result will produce the new message that will be sent back to the client.