Changeset 99 in pacpussensors for trunk/VelodyneComponent/VelodyneComponent.cpp


Ignore:
Timestamp:
Oct 15, 2015, 2:47:01 PM (9 years ago)
Author:
nguyenhu
Message:

compilation under linux with 0.2.X framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VelodyneComponent/VelodyneComponent.cpp

    r66 r99  
    55//  author:     Gerald Dherbomez
    66//              Copyright Heudiasyc UMR UTC/CNRS 6599
    7 // 
     7//
    88//  version:    $Id: $
    99//
     
    2020
    2121#include <QtEndian>
    22 #include <QUdpSocket>
     22#include <QtNetwork/QUdpSocket>
    2323#include <string>
    2424
     
    4949{
    5050    LOG_TRACE("constructor(" << name << ")");
    51    
    52     ComponentManager * mgr = ComponentManager::getInstance();
    53     LOG_DEBUG("manager = " << mgr);
     51
     52    //ComponentManager * mgr = ComponentManager::getInstance();
     53    //LOG_DEBUG("manager = " << mgr);
    5454
    5555    setRecording (true);
     
    8686/// TODO: doc
    8787void VelodyneComponent::run()
    88 { 
     88{
    8989    initialize();
    9090    exec(); // launch the exec loop, blocking until receiving exit() signal ...
     
    197197//////////////////////////////////////////////////////////////////////////
    198198/// new data coming from Velodyne sensor
    199 void VelodyneComponent::readPendingDatagrams() 
     199void VelodyneComponent::readPendingDatagrams()
    200200{
    201201    // get a timestamp
     
    338338            //*/
    339339                        }
    340                        
     340
    341341            mVelodyneData->range = mBlockIndex+(lastBlockIndex - 1);
    342342            LOG_DEBUG("range = " << mVelodyneData->range);
Note: See TracChangeset for help on using the changeset viewer.