Ignore:
Timestamp:
Feb 15, 2017, 2:41:36 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

improved vprnobject added to vrpnclient

Location:
trunk/lib/FlairSensorActuator/src/unexported
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/unexported/VrpnClient_impl.h

    r136 r140  
    5151                  flair::core::SerialPort *serialport, uint16_t us_period);
    5252  ~VrpnClient_impl();
    53   void AddTrackable(flair::sensor::VrpnObject *obj);    // normal
    54   void RemoveTrackable(flair::sensor::VrpnObject *obj); // normal
     53  void AddTrackable(VrpnObject_impl *obj);    // normal
    5554  void AddTrackable(VrpnObject_impl *obj, uint8_t id);  // xbee
    56   void RemoveTrackable(VrpnObject_impl *obj);           // xbee
     55  void RemoveTrackable(VrpnObject_impl *obj);           // normal+xbee
    5756  void ComputeRotations(flair::core::Vector3D &point);
    5857  void ComputeRotations(flair::core::Quaternion &quat);
     
    6766  flair::core::Mutex *mutex;
    6867  uint16_t us_period;
    69   std::vector<flair::sensor::VrpnObject *> trackables;
     68  std::vector<VrpnObject_impl *> trackables;
    7069  typedef struct xbee_object {
    7170    VrpnObject_impl *vrpnobject;
  • trunk/lib/FlairSensorActuator/src/unexported/VrpnObject_impl.h

    r135 r140  
    5050  ~VrpnObject_impl(void);
    5151
    52   void mainloop(void);
    5352  void GetQuaternion(flair::core::Quaternion &quaternion);
    5453  void GetPosition(flair::core::Vector3D &point);
Note: See TracChangeset for help on using the changeset viewer.