Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
kkufieta committed Jan 8, 2024
1 parent 7adf590 commit e6f1cd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion viam-cartographer/src/carto_facade/carto_facade.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class CartoFacade {
std::mutex viam_response_mutex;
cartographer::transform::Rigid3d latest_global_pose =
cartographer::transform::Rigid3d();
// The latest_pointcloud_map variable is used enable GetPointCloudMap to
// The latest_pointcloud_map variable is used to enable GetPointCloudMap to
// send the most recent map out while cartographer works on creating an
// optimized map. It is only updated right before the optimization is
// started.
Expand Down
9 changes: 0 additions & 9 deletions viam-cartographer/src/carto_facade/map_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ class MapBuilder {
bool SaveMapToFile(bool include_unfinished_submaps,
const std::string filename_with_timestamp);

// SaveMapToStream converted the saved pbstream to a stream and deletes the
// file.
std::string ConvertSavedMapToStream(
const std::string filename_with_timestamp, std::string *buffer);

// TryFileClose attempts to close an opened ifstream, returning an error
// string if it fails.
std::string TryFileClose(std::ifstream &file, std::string filename);

void StartTrajectoryBuilder(bool use_imu_data);

// GetGlobalPose returns the local pose based on the provided a local pose.
Expand Down

0 comments on commit e6f1cd9

Please sign in to comment.