<
From version < 34.1 >
edited by aas2
on 2016/02/23 13:34
To version < 37.1 >
edited by aas2
on 2016/11/25 16:26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -12,6 +12,12 @@
12 12  
13 13  Several open-source, third-party replacements for the offical Lego firmware have been developed. These support many well known programming languages, such as Java, C/C++, Python, Lua, etc. In the following we will use KIELER SCCharts to program Mindstorms running the Lego Java Operating System ([[leJOS>>url:http://www.lejos.org/||shape="rect"]]). Therefore we will first install leJOS NXJ and flash its firmware. Afterwards we will create a simple SCCharts project in KIELER that we will compile and deploy to the NXT brick.
14 14  
15 +If you want to learn the SCCharts langugage first, you can follow these links:
16 +
17 +* [[Introduction to SCCharts>>doc:SCCharts]]
18 +* [[The Textual SCCharts Language SCT>>doc:Textual SCCharts Language SCT]]
19 +* [[SCCharts Examples>>doc:Examples]]
20 +
15 15  ----
16 16  
17 17  == Download and install leJOS ==
... ... @@ -71,6 +71,8 @@
71 71  
72 72  If you have an **NXT** **brick**, install the **leJOS NXJ** Plug-in. If you have an **EV3 brick**, install the **leJOS EV3** plugin.
73 73  
80 +**Tip:** To speed up the installation, uncheck the option "Contact all update sites during install to find required software". This will reduce the installation time from drastically (around 30 seconds instead 10 minutes).
81 +
74 74  [[image:attach:lejos_eclipse_plugin.png]]
75 75  
76 76  After the installation, the plugin requires a **little configuration**. Go to //Window > Preferences > leJOS NXJ// (//Window > Preferences > leJOS EV3 //respectively) and enter the base directory of your **leJOS** **installation** in the **NXJ_HOME field**.
... ... @@ -138,6 +138,7 @@
138 138  
139 139  For motors / actuators the port has to be one of A, B, C, D.
140 140  
149 +(% class="wrapped" %)
141 141  |=(((
142 142  Snippet Name and Parameters
143 143  )))|=(((
... ... @@ -158,7 +158,7 @@
158 158  **Clock,** milliseconds
159 159  )))|(% colspan="1" %)(% colspan="1" %)
160 160  (((
161 -Sets a variable to true if the time in milliseconds passed
170 +Sets a variable to true for one tick if the time in milliseconds passed since the last time it was set to true.
162 162  )))|(% colspan="1" %)(% colspan="1" %)
163 163  (((
164 164  input
... ... @@ -608,6 +608,7 @@
608 608  
609 609  The following presents typical issues and how to solve them.
610 610  
620 +(% class="wrapped" %)
611 611  |=(((
612 612  Issue
613 613  )))|=(((
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -18776104
1 +20153916
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/18776104/LEGO Mindstorms with leJOS and SCCharts
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/20153916/LEGO Mindstorms with leJOS and SCCharts