[Discourse.ros.org] [General] Rosservice_echo.py a wannabe tool to imitate rostopic echo with services

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [General] Rosservice_echo.py a wannabe tool to imitate rostopic echo with services

Mikael Arguedas via ros-users


Hey everyone,

Trying to make the best use of my jetlag I was playing around and made:

[rosservice_echo](https://github.com/uts-magic-lab/rosservice_echo)

As the README says:

> Just like rostopic echo /your_topic but with services.
>
> Well, similarly.
>
> You need to run it as root from a machine that is either doing the service calls or exposing the server. That's because it internally uses scapy to sniff network packets.

It looks something like:

    rosrun rosservice_echo rosservice_echo.py /rosout/get_loggers
    [roscpp/GetLoggersRequest]:

    [roscpp/GetLoggersResponse]:
    loggers:
      -
        name: ros
        level: info
      -
        name: ros.roscpp
        level: info
      -
        name: ros.roscpp.roscpp_internal
        level: info
      -
        name: ros.roscpp.superdebug
        level: warn
    ---

Maybe someone else is interested. It may be a baby step in order to have rosservice bag tool someday. Or just a fun toy project to discover [scapy](http://www.secdev.org/projects/scapy/).





---
[Visit Topic](https://discourse.ros.org/t/rosservice-echo-py-a-wannabe-tool-to-imitate-rostopic-echo-with-services/3256/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>