Changes for page LEGO Mindstorms with leJOS and SCCharts
Last modified by Alexander Schulz-Rosengarten on 2023/09/11 16:17
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
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. rvh1 +XWiki.aas2 - Content
-
... ... @@ -77,6 +77,8 @@ 77 77 78 78 If you have an **NXT** **brick**, install the **leJOS NXJ** Plug-in. If you have an **EV3 brick**, install the **leJOS EV3** plugin. 79 79 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 + 80 80 [[image:attach:lejos_eclipse_plugin.png]] 81 81 82 82 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**. ... ... @@ -125,7 +125,7 @@ 125 125 126 126 **Note:** The Floodlight of the EV3 has a pretty high latency when switching between on and off. 127 127 128 -**Note: **To view ftl files with highlighting, you may want to install the //FreeMarker IDE// feature from the JBoss Tools. However, this is not necessary to work with KIELER. JBoss Tools is available in the Eclipse Market Place and via update site. The update site for EclipseLuna isupdates/stable/luna/>>url:http://download.jboss.org/jbosstools/updates/stable/luna/||shape="rect"]]130 +**Note: **To view ftl files with highlighting, you may want to install the //FreeMarker IDE// feature from the JBoss Tools. However, this is not necessary to work with KIELER. JBoss Tools is available in the Eclipse Market Place and via update site. The update site for stable releases is [[http:~~/~~/download.jboss.org/jbosstools/neon/stable/updates/ >>url:http://download.jboss.org/jbosstools/neon/stable/updates/||shape="rect"]]. Note that only the //FreeMarker IDE// feature is required (Abridged JBoss Tools > FreeMarker IDE).** 129 129 ** 130 130 131 131 === Launch the project: === ... ... @@ -214,7 +214,7 @@ 214 214 int 215 215 )))|(% colspan="1" %)(% colspan="1" %) 216 216 ((( 217 - 219 +\\ 218 218 )))|(% colspan="1" %)(% colspan="1" %) 219 219 ((( 220 220 timing.ftl ... ... @@ -221,7 +221,7 @@ 221 221 ))) 222 222 |(% colspan="1" %)(% colspan="1" %) 223 223 ((( 224 -**TickDuration,** targetInMilliseconds 226 +**TickLoopDuration,** targetInMilliseconds 225 225 )))|(% colspan="1" %)(% colspan="1" %) 226 226 ((( 227 227 Delays the execution until the tick loop takes at least as long as the given target duration. ... ... @@ -242,6 +242,27 @@ 242 242 ))) 243 243 |(% colspan="1" %)(% colspan="1" %) 244 244 ((( 247 +**TickWakeUp** 248 +)))|(% colspan="1" %)(% colspan="1" %) 249 +((( 250 +Sets the input variable to the current system time. The model can add to this variable to get a new value. This is the next system time it will be called. 251 + 252 +This means the next tick function call is delayed until the wake up time has been reached. 253 +)))|(% colspan="1" %)(% colspan="1" %) 254 +((( 255 +input 256 +)))|(% colspan="1" %)(% colspan="1" %) 257 +((( 258 +int 259 +)))|(% colspan="1" %)(% colspan="1" %) 260 +((( 261 +Should be used on the very last input variable in the model, such that waiting and settings the system time is the last action done, before the tick function call. 262 +)))|(% colspan="1" %)(% colspan="1" %) 263 +((( 264 +timing.ftl 265 +))) 266 +|(% colspan="1" %)(% colspan="1" %) 267 +((( 245 245 **Sleep** 246 246 )))|(% colspan="1" %)(% colspan="1" %) 247 247 ((( ... ... @@ -254,7 +254,7 @@ 254 254 int 255 255 )))|(% colspan="1" %)(% colspan="1" %) 256 256 ((( 257 - 280 +\\ 258 258 )))|(% colspan="1" %)(% colspan="1" %) 259 259 ((( 260 260 timing.ftl ... ... @@ -292,7 +292,7 @@ 292 292 string 293 293 )))|(% colspan="1" %)(% colspan="1" %) 294 294 ((( 295 - 318 +\\ 296 296 )))|(% colspan="1" %)(% colspan="1" %) 297 297 ((( 298 298 print.ftl ... ... @@ -330,7 +330,7 @@ 330 330 bool 331 331 )))|(% colspan="1" %)(% colspan="1" %) 332 332 ((( 333 - 356 +\\ 334 334 )))|(% colspan="1" %)(% colspan="1" %) 335 335 ((( 336 336 touch_and_buttons.ftl ... ... @@ -391,7 +391,7 @@ 391 391 bool 392 392 )))|(% colspan="1" %)(% colspan="1" %) 393 393 ((( 394 - 417 +\\ 395 395 )))|(% colspan="1" %)(% colspan="1" %) 396 396 ((( 397 397 light.ftl ... ... @@ -410,7 +410,7 @@ 410 410 bool 411 411 )))|(% colspan="1" %)(% colspan="1" %) 412 412 ((( 413 - 436 +\\ 414 414 )))|(% colspan="1" %)(% colspan="1" %) 415 415 ((( 416 416 light.ftl ... ... @@ -450,7 +450,7 @@ 450 450 bool 451 451 )))|(% colspan="1" %)(% colspan="1" %) 452 452 ((( 453 - 476 +\\ 454 454 )))|(% colspan="1" %)(% colspan="1" %) 455 455 ((( 456 456 motor.ftl ... ... @@ -469,7 +469,7 @@ 469 469 int 470 470 )))|(% colspan="1" %)(% colspan="1" %) 471 471 ((( 472 - 495 +\\ 473 473 )))|(% colspan="1" %)(% colspan="1" %) 474 474 ((( 475 475 motor.ftl ... ... @@ -549,7 +549,7 @@ 549 549 int 550 550 )))|(% colspan="1" %)(% colspan="1" %) 551 551 ((( 552 - 575 +\\ 553 553 )))|(% colspan="1" %)(% colspan="1" %) 554 554 ((( 555 555 ultrasonic.ftl ... ... @@ -597,7 +597,7 @@ 597 597 gyro.ftl 598 598 ))) 599 599 600 - 623 +\\ 601 601 602 602 ---- 603 603 ... ... @@ -641,7 +641,7 @@ 641 641 Uploading to the brick does not respond 642 642 )))|(% colspan="1" %)(% colspan="1" %) 643 643 ((( 644 - 667 +\\ 645 645 )))|(% colspan="1" %)(% colspan="1" %) 646 646 ((( 647 647 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. ... ... @@ -667,7 +667,7 @@ 667 667 Brick does nothing after program finished and prints "Program exit" 668 668 )))|(% colspan="1" %)(% colspan="1" %) 669 669 ((( 670 - 693 +\\ 671 671 )))|(% colspan="1" %)(% colspan="1" %) 672 672 ((( 673 673 A program was uploaded and finished without errors. Afterwards the brick prints "Program exit" but does not open the main menu. ... ... @@ -676,8 +676,8 @@ 676 676 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. 677 677 ))) 678 678 679 - 702 +\\ 680 680 681 - 704 +\\ 682 682 683 683 input
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -2 01539141 +33259848 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/2 0153914/LEGO Mindstorms with leJOS and SCCharts1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33259848/LEGO Mindstorms with leJOS and SCCharts