Changeset 19889
- Timestamp:
- 04/02/07 09:31:22 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.0/modules/gadgeteer/drivers/Intersense/IntersenseAPI/IntersenseAPIStandalone.cpp
r17118 r19889 47 47 mActive = true; 48 48 } 49 50 ISD_GetTrackerConfig(mHandle, &mInfo, true); 49 51 } 50 52 return mActive; juggler/branches/2.0/modules/gadgeteer/drivers/Intersense/IntersenseAPI/IntersenseAPIStandalone.h
r17118 r19889 220 220 } 221 221 222 /** 223 * Returns an identifier (ISD_SYSTEM_MODEL) describing the type of system. 224 */ 225 int getSystemModel() const 226 { 227 return mInfo.TrackerModel; 228 } 229 230 /** 231 * Returns an identifier (ISD_SYSTEM_TYPE) describing 3DOF or 6DOF. 232 */ 233 int getSystemType() const 234 { 235 return mInfo.TrackerType; 236 } 237 238 /** 239 * Returns an identifier (ISD_INTERFACE_TYPE) describing the communication 240 * interface. 241 */ 242 int getInterfaceType() const 243 { 244 return mInfo.Interface; 245 } 246 222 247 // 223 248 //////////// … … 322 347 { 323 348 return mData.Station[i].Orientation[3]; 349 } 350 351 /** 352 * Gets the time stamp of the i'th receiver. 353 */ 354 float timeStamp(const unsigned int i) const 355 { 356 return mData.Station[i].TimeStamp; 324 357 } 325 358 … … 345 378 ISD_STATION_INFO_TYPE mConfigData[ISD_MAX_STATIONS]; 346 379 ISD_TRACKER_DATA_TYPE mData; 380 ISD_TRACKER_INFO_TYPE mInfo; 347 381 }; 348 382
