Changeset 330 in flair-src for trunk/tools/VrpnLite/src/VrpnLite.h


Ignore:
Timestamp:
09/25/19 15:29:26 (5 years ago)
Author:
Sanahuja Guillaume
Message:

use less bandwidth in vprnlite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnLite/src/VrpnLite.h

    r308 r330  
    3030class VrpnLite: public flair::core::Thread {
    3131  public:
    32       VrpnLite(std::string clientAddress,std::string serveurAddress);
     32      VrpnLite(int vrpnLitePort,std::string vrpnServerAddress);
    3333      ~VrpnLite();
    3434
     
    3838      std::vector<flair::sensor::VrpnObject*> vrpnobjects;
    3939      flair::core::UdpSocket* dataSocket;
    40       void SendObject(const flair::sensor::VrpnObject* vrpnobject,uint8_t id) const;
    41      
     40      void SendObjects(void) const;
     41      int16_t ConvertPosition(float value) const;
     42      int16_t ConvertQuaternion(float value) const;
    4243};
    4344
Note: See TracChangeset for help on using the changeset viewer.