Skip to content

Commit

Permalink
Undo some other misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Oct 25, 2023
1 parent c61914c commit 4702eb5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.16)
project(mrover VERSION 2024.0.0 LANGUAGES CXX)

# Generate compile_commands.json for clangd
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # Generate compile_commands.json for clangd
Expand Down
2 changes: 1 addition & 1 deletion starter_project/autonomy/AutonomyStarterProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ add_executable(starter_project_perception ${STARTER_PROJECT_PERCEPTION_SOURCES})
# Ensure that our project builds after message generation
add_dependencies(starter_project_perception ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
# Link needed libraries
target_link_libraries(starter_project_perception ${catkin_LIBRARIES} opencv_core opencv_objdetect)
target_link_libraries(starter_project_perception ${catkin_LIBRARIES} ${OpenCV_LIBS})
# Include needed directories
target_include_directories(starter_project_perception PUBLIC ${catkin_INCLUDE_DIRS})

Expand Down
2 changes: 1 addition & 1 deletion starter_project/autonomy/src/perception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace mrover {
}

void Perception::findTagsInImage(cv::Mat const& image, std::vector<StarterProjectTag>& tags) { // NOLINT(*-convert-member-functions-to-static)
// hint: take a look at OpenCV's documentation for the detectMarkers function that can be called on mTagDetector
// hint: take a look at OpenCV's documentation for the detectMarkers function
// hint: you have mTagDictionary, mTagCorners, mTagIds, and mTagDetectorParams member variables already defined!
// hint: write and use the "getCenterFromTagCorners" and "getClosenessMetricFromTagCorners" functions

Expand Down
2 changes: 1 addition & 1 deletion starter_project/autonomy/src/perception.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <vector>

// OpenCV Headers, cv namespace
#include <opencv2/aruco.hpp>
#include <opencv2/core/mat.hpp>
#include <opencv2/objdetect.hpp>

// ROS Headers, ros namespace
#include <ros/node_handle.h>
Expand Down

0 comments on commit 4702eb5

Please sign in to comment.