Classes | Variables
receiver Namespace Reference

Classes

class  IPSReceiver
 

Variables

 anonymous
 
 disable_signals
 
 ips = IPSReceiver()
 
 True
 

Detailed Description

Use this node to establish a connection with the metraTec IPS receiver or USB stick. You have to pass the USB port the
stick is connected to or the IP address of the regular receiver as a command line argument or as a private parameter
when you are using a launch file.

Running from command line:
    $ rosrun indoor_positioning receiver.py <TYPE> <REQUIRED> <OPTIONAL>
    For example:
    $ rosrun indoor_positioning receiver.py usb /dev/ttyUSB0
    $ rosrun indoor_positioning receiver.py tcp 192.168.2.223

Subscribed topics:
    - ips/receiver/send (std_msgs/String):
        Message to be sent over the TCP or serial connection to the IPS receiver or USB stick

Published topics:
    - ips/receiver/raw (indoor_positioning/StringStamped):
        Raw messages received from the receiver or USB stick

Parameters:
    - ~type (string, default='tcp'):
        'tcp' for TCP receiver or 'usb' for metraTec USB stick
    - ~host (string, default='192.168.2.223):
        IP address of the connected receiver
    - ~port (with type='tcp': int, default=10001; with type='usb': string, default='/dev/ttyUSB0):
        Port for the TCP connection if '~type' parameter is set to 'tcp', otherwise specifies the USB port of the stick
    - ~baudrate (int, default=115200):
        Baudrate to use for serial communication with USB receiver

Variable Documentation

receiver.anonymous

Definition at line 100 of file receiver.py.

receiver.disable_signals

Definition at line 100 of file receiver.py.

receiver.ips = IPSReceiver()

Definition at line 102 of file receiver.py.

receiver.True

Definition at line 100 of file receiver.py.



indoor_positioning
Author(s): Christian Arndt
autogenerated on Mon Jun 10 2019 13:33:13