Changes for page Dependencies and Compilation
Last modified by Soeren Domroes on 2025/01/30 12:18
From version 6.1
edited by stu120505
on 2020/04/03 00:54
on 2020/04/03 00:54
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +PP18.Pinball Project - Winter Term 201920.Project Documentation.WebHome - Content
-
... ... @@ -2,7 +2,7 @@ 2 2 3 3 The source code lies and building happens inside the folder called {{code language="none"}}pinballProject{{/code}}. For a fresh build, you need a not too old version of {{code language="none"}}make{{/code}}, a C++ compiler (we only tested {{code language="none"}}g++{{/code}}), an internet connection (for downloading the Kieler Compiler), the libraries {{code language="none"}}wiringPi{{/code}} and {{code language="none"}}opencv{{/code}} as well as the command-line tools [[mega-cmd>>url:https://mega.nz/cmd||shape="rect"]] and {{code language="none"}}python2{{/code}}. The tool for mega.nz (and also {{code language="none"}}python2{{/code}}) can be omitted (see below on how to compile without them), everything else except for {{code language="none"}}opencv{{/code}} comes pre-installed with Raspbian. For {{code language="none"}}opencv{{/code}} you need a 4.x version, 4.2.0 ought to work for example. Make sure to enable the option that the entries for {{code language="none"}}pkg-config{{/code}} get configured. It can be built from source on the Raspberry Pi in a few hours, make sure not to use too many threads for compilation because of limited RAM, also perhaps increase the swap. 4 4 5 -With all the pre -requisits met, you can use the {{code language="none"}}Makefile{{/code}} to build everything.5 +With all the prerequisites met, you can use the {{code language="none"}}Makefile{{/code}} to build everything. 6 6 7 7 (% class="wrapped" %) 8 8 |=((( ... ... @@ -92,7 +92,9 @@ 92 92 during manual gameplay which is then uploaded to mega.nz with a new numerical file-name. 93 93 ))) 94 94 |((( 95 -{{code language="none"}}make get{{/code}} 95 +{{code language="none"}} 96 +make get 97 +{{/code}} 96 96 )))|((( 97 97 Executes a python script that can (interactively) get a recorded video from the mega.nz folder. 98 98 Intended for getting video input files transferred to a different machine (not the Pi) for testing the image detection. ... ... @@ -134,7 +134,7 @@ 134 134 ! 135 135 ))) 136 136 137 -For instructions on how to use the {{code language="none"}}./calibrate{{/code}}, see [[doc:World Coordinate System]]. 139 +For instructions on how to use the {{code language="none"}}./calibrate{{/code}}, see [[doc:PP18.Pinball Project - Winter Term 201920.Project Documentation.World Coordinate System.WebHome]]. 138 138 139 139 Working without mega.nz (and python): On the pi, you need to create a file called {{code language="none"}}_pi_logged_in{{/code}} (e.g. with {{code language="none"}}touch _pi_logged_in{{/code}}) before calling {{code language="none"}}make{{/code}} for the first time. On a different machine, you don’t need to do this. You cannot use {{code language="none"}}make capture{{/code}} or {{code language="none"}}make get{{/code}} without these command-line tools. 140 140
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -73072 9351 +73072735 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/PP18/pages/73072 935/Dependencies and Compilation1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/PP18/pages/73072735/Dependencies and Compilation