Skip to content

Commit

Permalink
Update C++ example include paths
Browse files Browse the repository at this point in the history
  • Loading branch information
victorreijgwart committed Dec 6, 2024
1 parent 9a0d64b commit 87df8e9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/cpp/io/load_map_from_file.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <wavemap/io/file_conversions.h>
#include <wavemap/io/map/file_conversions.h>

int main(int, char**) {
// Create a smart pointer that will own the loaded map
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/io/load_map_from_stream.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <strstream>

#include <wavemap/io/stream_conversions.h>
#include <wavemap/io/map/stream_conversions.h>

int main(int, char**) {
// Create a smart pointer that will own the loaded map
Expand Down
7 changes: 4 additions & 3 deletions examples/cpp/io/save_map_to_file.cc
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#include <wavemap/io/file_conversions.h>
#include <wavemap/core/map/hashed_chunked_wavelet_octree.h>
#include <wavemap/io/map/file_conversions.h>

int main(int, char**) {
// Create an empty map for illustration purposes
wavemap::HashedWaveletOctreeConfig config;
wavemap::HashedWaveletOctree map(config);
wavemap::HashedChunkedWaveletOctreeConfig config;
wavemap::HashedChunkedWaveletOctree map(config);

// Save the map
const bool success = wavemap::io::mapToFile(map, "/path/to/your/map.wvmp");
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/io/save_map_to_stream.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <strstream>

#include <wavemap/io/stream_conversions.h>
#include <wavemap/io/map/stream_conversions.h>

int main(int, char**) {
// Create an empty map for illustration purposes
Expand Down
2 changes: 1 addition & 1 deletion examples/cpp/planning/occupancy_to_esdf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <wavemap/core/map/hashed_wavelet_octree.h>
#include <wavemap/core/map/map_base.h>
#include <wavemap/core/utils/sdf/quasi_euclidean_sdf_generator.h>
#include <wavemap/io/file_conversions.h>
#include <wavemap/io/map/file_conversions.h>

using namespace wavemap; // NOLINT
int main(int argc, char** argv) {
Expand Down

0 comments on commit 87df8e9

Please sign in to comment.