Ignore:
Timestamp:
03/13/19 16:40:18 (3 years ago)
Author:
Sanahuja Guillaume
Message:

vrpnlite support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/VrpnClient.h

    r136 r309  
    4545  * \brief Constructor
    4646  *
    47   * Construct a VrpnClient. Connection is done by IP.
     47  * Construct a VrpnClient. Connection is done by IP to a vrpn server.
    4848  *
    4949  * \param name name
     
    5454             std::string address,  uint8_t priority);
    5555
     56  /*!
     57  * \brief Constructor
     58  *
     59  * Construct a VrpnClient. Connection is done by IP to a vrpn-lite server (see tools/VrpnLite in flair-src)
     60  *
     61  * \param name name
     62  * \param port server port
     63  * \param priority priority of the Thread
     64  */
     65  VrpnClient(std::string name,
     66             uint16_t port,  uint8_t priority);
     67             
    5668  /*!
    5769  * \brief Constructor
     
    8799  */
    88100  gui::TabWidget *GetTabWidget(void) const;
    89 
    90   /*!
    91   * \brief Is XBee used?
    92   *
    93   * \return true if connection is based on XBee modem
    94   */
    95   bool UseXbee(void) const;
     101 
     102  typedef enum { Vrpn, VrpnLite, Xbee } ConnectionType_t;
     103 
     104  ConnectionType_t ConnectionType(void) const;
    96105
    97106private:
Note: See TracChangeset for help on using the changeset viewer.