NGCP / MAQSS

Multiple Autonomous Quadcopter Search System
2 stars 0 forks source link

Make role switching optional #40

Open LucasYoung opened 6 years ago

LucasYoung commented 6 years ago

The recently implemented feature, quick scan switching to detailed search after finishing its search partition, should be optional.

Make a new boolean variable in the InputFile that determines whether the role switch feature is active. The logic for parsing the InputFile can be seen in Resources/fileIO.cpp. This will put the InputFile varialbles into a ConfigContainer object. A pointer to this object can be found in PNav.cpp, called *configs.

Modify the role switch feature so that it only occurs if the new InputFile variable is true.

LucasYoung commented 6 years ago

By default role switching should be false

LucasYoung commented 6 years ago

View #37 to understand which parts of code were changed to implement role switching. Finishing this issue will probably entail an additional line of conditional logic, and adding another variable to the InputFile.

LucasYoung commented 6 years ago

@ohnoitsjmo Preferably finished by end of Thursday 5/10