hello Mryellow, when i fork your code I notice that your vision keeps the serialization, so I guess you want to save the map data, but you don`t finish that. Here is my program, hope that could be useful:^)
main_lv.cpp
#include <fstream>
ros::spin();
//add this four line between ros::spin(); and return
std::ofstream ofs( "store.dat" );
boost::archive::text_oarchive ar(ofs);
ar & lv;
ofs.close();
return 0;
your code helps me a lot, thankyou!
hello Mryellow, when i fork your code I notice that your vision keeps the serialization, so I guess you want to save the map data, but you don`t finish that. Here is my program, hope that could be useful:^)
main_lv.cpp
your code helps me a lot, thankyou!