Tag Info

Hot answers tagged

5

Yes, it is possible to pass the port number as a parameter to a sensor or motor block via data wire. It's just that it's manually selected by default. To change this, go to the port of the sensor or motor block, and select the top-most option which has the plug icon on it: It will then create a data port for which motor port you want to use: The same ...


3

The .ev3 file is actually just a zip file. You can use any zip utility to browse the contents or unzip it. It will look something like this: ├── Activity.x3a ├── ActivityAssets.laz ├── Program.ev3p ├── Project.lvprojx ├── ___CopyrightYear └── ___ProjectTitle The ___* files are just plain text files, ActivityAssets.laz is another zip file and the rest are ...


3

Sadly that's a limitation of Windows RT - there's no way you can install the EV3 software on there. Windows RT can only run apps from the Windows Store (and some specially compiled apps that MS supply such as Office RT - however I don't think the typical user can install a correctly compiled non-Store app on the Surface - as a developer you can side load ...


2

Unfortunately, there is no way to add a parameter to an existing MyBlock in both the NXT and EV3 series. You will have to create a new one with more input parameters.


2

No. Unfortunately there are no shortcuts. EV3-G can not open programs written in NXT-G. To quote Lego: 9.5 I have a LEGO MINDSTORMS NXT2.0 (8547) set; will there be an upgrade/conversion kit from NXT to LEGO MINDSTORMS EV3 (31313)? No, but LEGO MINDSTORMS EV3 offers backward compatibility to NXT. You can therefore use your NXT Intelligent Brick ...


2

No, EV3 MyBlocks cannot be recursive. If a MyBlock contains a copy of itself, then the following error will be produced upon compiling: For some reason, LEGO's programming software has become progressively less immediate about notifying you that this cannot be done. In EV3-G, it waits until compile to let you know that you can't do this. In NXT-G (the ...


2

Go to the directory (for home edition) c:\Program Files (x86)\LEGO Software\LEGO MINDSTORMS EV3 Home Edition\Resources\MyBlocks\images\ (for edu version) c:\Program Files (x86)\LEGO Software\LEGO MINDSTORMS Edu EV3\Resources\MyBlocks\images\ And create a group of 3 icons for each new icon: PolyGroup_NNN_NAME_Diagram.png [size 34x34] - visible in the ...


1

This is EV3-G code for a PID based on PID Controller for Lego Mindstorms Robots by J Sluka. It uses the steering parameter of the Move block instead of power levels of the Motor block. The interesting parts are setting the Kp, Ki, and Kd values.


1

Can I only set an [out] param once? Yes. You cannot tell it to be 2 different values at the same time. This applies to any block, not just the output block. Does setting the [out] param act like the "return" keyword? Not really. The return keyword in most (if not all) programming languages causes the function to exit, which is not the case here. ...


1

Microsoft have just announced that they are releasing an API for Windows 8.1 and Mindstorms EV3. Hopefully this will mean some apps for the two platforms will emerge sometime in the future.


1

The move steer and move tank blocks take 5kb each while the large motor block takes 4kb. If you have a long string of move blocks in your program, it will take up big chunks of memory. We've gotten around that in the past with using myblocks. Myblocks are only copied to the NXT once and called each time it is needed in the program. A pivot myblock might take ...



Only top voted, non community-wiki answers of a minimum length are eligible