eros: code_sourcery_arm_gnueabi | eros_apr | eros_apr_util | eros_boost | eros_build | eros_bzip2 | eros_cpp_tutorials | eros_gdbserver | eros_license | eros_log4cxx | eros_msg_latency | eros_nodelet_latency | eros_opencv | eros_platforms | eros_python_tools | eros_qt_tutorials | eros_rpc_latency | eros_toolchains | eros_zlib | roscpplight

Package Summary

Generates statistical data providing a benchmark for rpc messaging latencies.

Overview

This package includes two separate tests. Both tests effectively timestamp an rpc service message, sends to a server, which again timestamps the respons and sends it back. Upon receipt, latencies are calculated. The only difference between the two tests are the storage type - either integers or floats. This is important as on some embedded boards, float types can have some problems and also show a marked slowdown depending on whether it is software emulated or not.

Usage

Integral

roscd eros_rpc_latency/bin
./server
./client // in a separate terminal

Latencies will be printed every second, and upon termination of the client (ctrl-c), the average latency will be printed to standard output.

Float

roscd eros_rpc_latency/bin
./float_server
./float_client // in a separate terminal

Wiki: eros_rpc_latency (last edited 2010-10-06 08:03:55 by DanielStonier)