Skip to content

Tiny cleanup to make buildable from fresh clone #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)

add_definitions(-std=c++11)
add_definitions(-std=c++14)

set(CXX_FLAGS "-Wall")
set(CMAKE_CXX_FLAGS, "${CXX_FLAGS}")
Expand All @@ -15,7 +15,7 @@ add_definitions(${PCL_DEFINITIONS})
list(REMOVE_ITEM PCL_LIBRARIES "vtkproj4")


add_executable (environment src/environment.cpp src/render/render.cpp src/processPointClouds.cpp)
add_executable (environment environment.cpp render/render.cpp processPointClouds.cpp)
target_link_libraries (environment ${PCL_LIBRARIES})


Expand Down
4 changes: 2 additions & 2 deletions environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ int main (int argc, char** argv)

ProcessPointClouds<pcl::PointXYZI> pointProcessorI;

std::vector<boost::filesystem::path> stream = pointProcessorI.streamPcd("/home/workspace/SFND_Lidar_Obstacle_Detection/src/sensors/data/pcd/data_1");
std::vector<boost::filesystem::path> stream = pointProcessorI.streamPcd("../sensors/data/pcd/data_1");
auto streamIterator = stream.begin();

pcl::PointCloud<pcl::PointXYZI>::Ptr inputCloudI;
Expand Down Expand Up @@ -319,4 +319,4 @@ int main (int argc, char** argv)
viewer->spinOnce ();
}
*/
}
}