Project

General

Profile

Revision c06735bb

IDc06735bb88dabe4b24ed45d57ea52b9a5329bec0

Added by Hui Jun Tay about 11 years ago

Removed headers, sonar uses custom timestamp, added code to manually update timestamp

View differences:

scout/scoutsim/src/scout.cpp
354 354
        msg.pos = sonar_position;
355 355
        msg.distance0 = d_front;
356 356
        msg.distance1 = d_back;
357
        msg.stamp = ros::Time::now();
357 358

  
358 359
        sonar_pub.publish(msg);
359 360

  

Also available in: Unified diff