Changeset 72 in pacpussensors for trunk/Sick/SickLMSSensor.cpp


Ignore:
Timestamp:
Dec 4, 2014, 1:02:02 PM (10 years ago)
Author:
DHERBOMEZ Gérald
Message:
  • Correction of a little bug in gps component (property recording bad)
  • Improvement of sick lms151 component
  • Correction of bug in sick LDRMS : buffer overflow in a memcpy
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Sick/SickLMSSensor.cpp

    r71 r72  
    321321    message->splitMessage = new std::vector<std::string>();
    322322
    323     for(int i; i < message->msgSize; ++i){
     323    for(int i=0; i < message->msgSize; ++i){
    324324        std::string* str = new std::string();
    325325        while(message->body[i] != ' ' && i < message->msgSize){
Note: See TracChangeset for help on using the changeset viewer.