Changes for page LEGO Mindstorms with leJOS and SCCharts
Last modified by Alexander Schulz-Rosengarten on 2023/09/11 16:17
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -20,8 +20,6 @@ 20 20 21 21 The further installation is explained in detail at [[http:~~/~~/www.lejos.org/nxt/nxj/tutorial/Preliminaries/GettingStarted.htm>>url:http://www.lejos.org/nxt/nxj/tutorial/Preliminaries/GettingStarted.htm||shape="rect"]]. 22 22 23 -Do not forget to flash the download leJOS firmware to the Mindstorms brick as explained in the tutorial! 24 - 25 25 === Known issues === 26 26 27 27 ==== Linux ==== ... ... @@ -94,7 +94,7 @@ 94 94 95 95 Change the contents of the model file to the following code and save it. 96 96 97 -{{code l anguage="sct" theme="Eclipse"title="Floodlight.sct"}}95 +{{code title="Floodlight.sct" theme="Eclipse" language="sct"}} 98 98 scchart Flashlight { 99 99 100 100 @Wrapper TouchSensor, S4 ... ... @@ -166,46 +166,9 @@ 166 166 )))|((( 167 167 Go to the project properties and switch to Java 7 (Right Click on project > Properties > Java Compiler > Compiler compliance level) 168 168 ))) 169 -|(% colspan="1" %)(% colspan="1" %) 170 -((( 171 -Uploading to the brick does not respond 172 -)))|(% colspan="1" %)(% colspan="1" %) 173 -((( 174 - 175 -)))|(% colspan="1" %)(% colspan="1" %) 176 -((( 177 -You compile a file successfully and when uploading the result, the connected brick is found. Anyway the upload does not terminate and does not react. 178 -)))|(% colspan="1" %)(% colspan="1" %) 179 -((( 180 -Flash the brick with the current leJOS firmware. If the brick is recognized correctly and the attempt to upload a compiled file fails then the firmware on the brick might be outdated. 181 -))) 182 -|(% colspan="1" %)(% colspan="1" %) 183 -((( 184 -Compilation and uploading works from command line but not when using KIELER 185 -)))|(% colspan="1" %)(% colspan="1" %) 186 -((( 187 -This Java instance does not support a 32-bit JVM. Please install the desired version. 188 -)))|(% colspan="1" %)(% colspan="1" %) 189 -((( 190 -You can compile and upload code to the brick using the command line tools but when using KIELER an error message apprears because Java does not support 32-bit JVM. 191 -)))|(% colspan="1" %)(% colspan="1" %) 192 -((( 193 -Set the LEJOS_NXT_JAVA_HOME environment variable, such that it points to an 32-bit JDK and is visible for GUI applications (or at least KIELER). The process to do so differs on every OS. As alternative, execute KIELER from terminal. 194 -))) 195 -|(% colspan="1" %)(% colspan="1" %) 196 -((( 197 -Brick does nothing after program finished and prints "Program exit" 198 -)))|(% colspan="1" %)(% colspan="1" %) 199 -((( 200 - 201 -)))|(% colspan="1" %)(% colspan="1" %) 202 -((( 203 -A program was uploaded and finished without errors. Afterwards the brick prints "Program exit" but does not open the main menu. 204 -)))|(% colspan="1" %)(% colspan="1" %) 205 -((( 206 -This is normal behaviour if uploading a program in debug mode instead run mode (//Debug As// instead //Run As// in Eclipse). To get back to the main menu, press the ENTER and ESCAPE button of the brick at the same time. 207 -))) 208 208 209 209 210 210 170 +---- 171 + 211 211
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -15 5322301 +14516331 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/15 532230/LEGO Mindstorms with leJOS and SCCharts1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/14516331/LEGO Mindstorms with leJOS and SCCharts