Skip to content

This is the contribution of team Extraterrestrial to the CoSpaceRescureChallenge

Notifications You must be signed in to change notification settings

flxwly/extraterrestrial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoSpaceChallenge - Extraterrestrial

A quick overview about the folders

code

libs

╠ CoSpaceFunctions.cpp & CoSpaceFunctions.hpp

╠ ColorRecognition.cpp & ColorRecognition.hpp

╠ CommonFunctions.cpp & CommonFunctions.hpp

╚ PPSettings.hpp

╠ MapData.cpp & MapData.hpp

╠ Pathfinding.cpp & Pathfinding.hpp

╠ Robbot.cpp & Robbot.hpp

╚ main.cpp


fonts

╚ arial.ttf


map_interpreter

debugging

╠ Map0.png

╚ Map1.png

╚ map_interpreter.py


extraterrestrial.dll

watch_for_update.py

code

As you can see all important program files are included in this directory. These are the files that will be compiled into a .dll file and control the robot. (I won't go into further detail on how the program exactly works.)

map_interpreter

This directory includes a python-script which will create the MapData.cpp file. This file will then contain a varity of infos about the first and second world such as "traps, walls, deposit-areas" and "points". The mapDataCPP is a normal textfile with some of the text that will later go into the MapData.cpp file.

extraterrestrial.dll

This is simply a compiled version of the c++ code from above.

watch_for_update.py

This python-script automattically compiles the code in the "code" folder. It will do so after it detected any changes in that directory. We actually never thought it would be easely possible to not use the in-build compiler from CoSpace. It turns out you can just run a simple gnu compiler command in cmd and compile a whole bunch of files into one .dll file. In addition youre not even bound to pure c. This opens many possibilities and we want to thank team Ninja for sharing their knowledge. (Link to their Project on Github)

DISCLAIMER: To run the python-scripts you need python and the libaries opencv and watchdog.

About

This is the contribution of team Extraterrestrial to the CoSpaceRescureChallenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published