Commit 4abc43c9 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Merge branch 'devel' into 'main'

new tag

See merge request !33
parents 0ce4e564 af4cade0
......@@ -154,8 +154,6 @@ license_headers:
- key: wolf-focal
paths:
- ci_deps/wolf/
except:
- master
before_script:
- *preliminaries_definition
- *install_wolf_definition
......@@ -179,8 +177,6 @@ build_and_test:bionic:
- key: apriltaglib-bionic
paths:
- ci_deps/apriltaglib/
except:
- master
before_script:
- *preliminaries_definition
- *install_wolf_definition
......@@ -208,8 +204,6 @@ build_and_test:focal:
- key: apriltaglib-focal
paths:
- ci_deps/apriltaglib/
except:
- master
before_script:
- *preliminaries_definition
- *install_wolf_definition
......
WOLF - Windowed Localization Frames | Apriltag Plugin
===================================
WOLF Apriltag Plugin
====================
For installation guide and code documentation, please visit the [documentation website](http://mobile_robotics.pages.iri.upc-csic.es/wolf_projects/wolf_lib/wolf-doc-sphinx/).
For installation guide and code documentation, please visit the [documentation website](http://www.iri.upc.edu/wolf).
......@@ -47,7 +47,7 @@ macro(wolf_report_not_found REASON_MSG)
# FindPackage() use the camelcase library name, not uppercase.
if (wolfapriltag_FIND_QUIETLY)
message(STATUS "Failed to find wolf apriltag- " ${REASON_MSG} ${ARGN})
else (wolfapriltag_FIND_REQUIRED)
elseif(wolfapriltag_FIND_REQUIRED)
message(FATAL_ERROR "Failed to find wolf apriltag - " ${REASON_MSG} ${ARGN})
else()
# Neither QUIETLY nor REQUIRED, use SEND_ERROR which emits an error
......
......@@ -17,4 +17,6 @@ rectification_matrix:
projection_matrix:
rows: 3
cols: 4
data: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0]
\ No newline at end of file
data: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0]
noise_std: [1,1]
\ No newline at end of file
......@@ -54,14 +54,14 @@ class LandmarkApriltag_class : public testing::Test{
TEST(LandmarkApriltag, getTagId)
{
Vector7d p;
Vector7d p; p << 1,2,3,0,0,0,1;
LandmarkApriltagPtr l = std::make_shared<LandmarkApriltag>(p, 5, 0.2); // pose, tag_id, tag_width
ASSERT_EQ(l->getTagId(), 5);
}
TEST(LandmarkApriltag, getTagWidth)
{
Vector7d p;
Vector7d p; p << 1,2,3,0,0,0,1;
LandmarkApriltagPtr l = std::make_shared<LandmarkApriltag>(p, 5, 0.2); // pose, tag_id, tag_width
ASSERT_EQ(l->getTagWidth(), 0.2);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment