TCP streaming driver

The tcpstream driver is based on the serialstream driver. It reads from a socket continuously and publishes the data. Currently this is usable with the SickS3000 driver and the Nav200 driver. This driver does no interpretation of data output, merely reading it and publishing it, or, if it is sent a data command it will write whatever it recieves to the socket.

Compile-time dependencies
  • none
Provides
  • interface_opaque
Requires
  • none
Configuration requests
  • none
Configuration file options
  • ip (string)
    • Default: "10.99.10.6"
    • IP address to connect to.
  • port (integer)
    • Default: "4002"
    • TCP port to connect to.
  • buffer_size (integer)
    • The size of the buffer to be used when reading, this is the maximum that can be read in one read command
    • Default 4096
Example
driver
(
  name "sicks3000"
  provides ["laser:0"]
  requires ["opaque:0"]
)

driver
(
  name "tcpstream"
  provides ["opaque:0]
  ip "10.99.10.6"
  port "4002"
)
Author
David Olsen, Toby Collett, Inro Technologies