Changeset 111 in pacpussensors for trunk/VelodyneComponent/VelodyneComponent.cpp
- Timestamp:
- Dec 15, 2015, 1:19:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VelodyneComponent/VelodyneComponent.cpp
r99 r111 104 104 LOG_ERROR("cannot connect SIGNAL(readyRead()) to SLOT(readPendingDatagrams())"); 105 105 } 106 106 /* 107 107 mShMem = new ShMem(kVelodyneSharedMemoryName.c_str(), sizeof(VelodynePolarData) ); 108 108 if (!mShMem) { 109 109 LOG_FATAL("cannot create Velodyne shared memory"); 110 110 return; 111 } 111 }*/ // deprecated 112 112 } 113 113 … … 156 156 mVelodyneSphericDataFile.close(); 157 157 } 158 158 /* 159 159 if (mShMem) { 160 160 delete mShMem; 161 161 mShMem = NULL; 162 } 162 } */ // deprecated 163 163 } 164 164 … … 395 395 void VelodyneComponent::exposeData() 396 396 { 397 mShMem->write(mFullBuffer, sizeof(VelodynePolarData) ); 398 } 397 // mShMem->write(mFullBuffer, sizeof(VelodynePolarData) ); // deprecated 398 399 // TODO ADD OUTPUT 400 }
Note:
See TracChangeset
for help on using the changeset viewer.