Changeset 19890
- Timestamp:
- 04/02/07 09:32:39 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/gadgeteer/drivers/Intersense/IntersenseAPI/IntersenseAPIStandalone.cpp
r19729 r19890 41 41 mActive = true; 42 42 } 43 44 ISD_GetTrackerConfig(mHandle, &mInfo, true); 43 45 } 44 46 return mActive; juggler/trunk/modules/gadgeteer/drivers/Intersense/IntersenseAPI/IntersenseAPIStandalone.h
r19729 r19890 214 214 } 215 215 216 /** 217 * Returns an identifier (ISD_SYSTEM_MODEL) describing the type of system. 218 */ 219 int getSystemModel() const 220 { 221 return mInfo.TrackerModel; 222 } 223 224 /** 225 * Returns an identifier (ISD_SYSTEM_TYPE) describing 3DOF or 6DOF. 226 */ 227 int getSystemType() const 228 { 229 return mInfo.TrackerType; 230 } 231 232 /** 233 * Returns an identifier (ISD_INTERFACE_TYPE) describing the communication 234 * interface. 235 */ 236 int getInterfaceType() const 237 { 238 return mInfo.Interface; 239 } 240 216 241 // 217 242 //////////// … … 316 341 { 317 342 return mData.Station[i].Orientation[3]; 343 } 344 345 /** 346 * Gets the time stamp of the i'th receiver. 347 */ 348 float timeStamp(const unsigned int i) const 349 { 350 return mData.Station[i].TimeStamp; 318 351 } 319 352 … … 339 372 ISD_STATION_INFO_TYPE mConfigData[ISD_MAX_STATIONS]; 340 373 ISD_TRACKER_DATA_TYPE mData; 374 ISD_TRACKER_INFO_TYPE mInfo; 341 375 }; 342 376
