| 274 | } |
| 275 | |
| 276 | void writeCSVCamera(shared_ptr<std::ofstream> file, ros::Time stamp) { |
| 277 | std::stringstream ss; |
| 278 | ss << stamp.toNSec() << "," << stamp.toNSec() << ".png"; |
| 279 | |
| 280 | *file << ss.str() << endl; |
| 281 | } |
| 282 | |
| 283 | void writeCSVImu(shared_ptr<std::ofstream> file, sensor_msgs::Imu::ConstPtr imu) { |
| 284 | std::ostringstream ss; |