Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
ArucoGenerateTagsLinear Class Reference

This class is non threaded. More...

#include <ArucoGenerateTags.hpp>

Public Member Functions

void Start ()
 Single threaded, runs in main loop.
 
void SetNumTagsToGenerate (const int nNumTags)
 Mutator for the Num Tags To Generate private member. Given number must not exceed the dictionary type limit.
 
void AddTagDictionaryType (const cv::aruco::PredefinedDictionaryType eDictionary)
 Mutator for the Tag Dictionary Type private member.
 

Private Attributes

int m_nNumTagsToGenerate = 0
 
std::vector< cv::aruco::PredefinedDictionaryTypem_vDictionaries
 

Detailed Description

This class is non threaded.

Author
ClayJay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2023-07-27

Member Function Documentation

◆ Start()

void ArucoGenerateTagsLinear::Start ( )
inline

Single threaded, runs in main loop.

Author
ClayJay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2023-07-25
164 {
165 while (m_vDictionaries.size() > 0)
166 {
167 // Get dictionary enum from back of dictionary vector.
168 cv::aruco::PredefinedDictionaryType cvDictType = m_vDictionaries.back();
169 m_vDictionaries.pop_back();
170
171 // Loop through and generate each of the tags.
172 for (int i = 0; i < m_nNumTagsToGenerate; ++i)
173 GenerateOpenCVArucoMarker(cvDictType, i);
174 }
175 }
void GenerateOpenCVArucoMarker(cv::aruco::PredefinedDictionaryType eDictionary, unsigned short sMarker)
Generate an ArUco Tag.
Definition TagGenerator.hpp:25
PredefinedDictionaryType
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetNumTagsToGenerate()

void ArucoGenerateTagsLinear::SetNumTagsToGenerate ( const int  nNumTags)
inline

Mutator for the Num Tags To Generate private member. Given number must not exceed the dictionary type limit.

Parameters
nNumTags- The number of tags to generate.
Author
ClayJay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2023-07-23
186{ m_nNumTagsToGenerate = nNumTags; }
Here is the caller graph for this function:

◆ AddTagDictionaryType()

void ArucoGenerateTagsLinear::AddTagDictionaryType ( const cv::aruco::PredefinedDictionaryType  eDictionary)
inline

Mutator for the Tag Dictionary Type private member.

Parameters
eDictionary- The dictionary type to use for generation.
Author
ClayJay3 (clayt.nosp@m.onra.nosp@m.ycowe.nosp@m.n@gm.nosp@m.ail.c.nosp@m.om)
Date
2023-07-23
196{ m_vDictionaries.emplace_back(eDictionary); }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: