mindstorms

How to import from custom Python modules on new Lego Mindstorms Robot Inventor

不问归期 提交于 2021-01-21 10:46:28
问题 I have been using the new LEGO® MINDSTORMS® Robot Inventor. When creating a new "Project", the said project seems to contain a single file. However, at the start of every sample code file, one can see that the mindstorm modules are imported, like so: from mindstorms import MSHub, Motor, MotorPair, ColorSensor, DistanceSensor, App from mindstorms.control import wait_for_seconds, wait_until, Timer from mindstorms.operator import greater_than, greater_than_or_equal_to, less_than, less_than_or

How to import from custom Python modules on new Lego Mindstorms Robot Inventor

强颜欢笑 提交于 2021-01-21 10:46:12
问题 I have been using the new LEGO® MINDSTORMS® Robot Inventor. When creating a new "Project", the said project seems to contain a single file. However, at the start of every sample code file, one can see that the mindstorm modules are imported, like so: from mindstorms import MSHub, Motor, MotorPair, ColorSensor, DistanceSensor, App from mindstorms.control import wait_for_seconds, wait_until, Timer from mindstorms.operator import greater_than, greater_than_or_equal_to, less_than, less_than_or

C# library for Lego Mindstorm NXT [closed]

穿精又带淫゛_ 提交于 2019-12-31 08:25:50
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date? NXT.NET for LEGO Mindstorms last update 18.04.2008 http://nxtnet.codeplex.com/ MindSqualls last update 05.06.2007 http://www.mindsqualls.net/ Lego .NET last update 07.04.2005 http://www.dcl.hpi.uni-potsdam.de/research/lego.NET/weblog/ I know

C# library for Lego Mindstorm NXT [closed]

微笑、不失礼 提交于 2019-12-31 08:25:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date? NXT.NET for LEGO Mindstorms last update 18.04.2008 http://nxtnet.codeplex.com/ MindSqualls last update 05.06.2007 http://www.mindsqualls.net/ Lego .NET last update 07.04.2005 http://www.dcl.hpi.uni-potsdam.de/research/lego.NET/weblog/ I know

Can I distribute a JDK with my application?

我怕爱的太早我们不能终老 提交于 2019-12-22 05:54:28
问题 I am working on an application called Enchanting. The application, based on Scratch, emits Java source code and compiles it for uploading onto LEGO Mindstorms NXT Robots. While the application is very early, users have a hard time installing it. Right now Windows users have to: download and install a Java Developer Kit download and install LeJOS (a java library for the NXT) possibly tweak environment variables then they can download, install, and run Enchanting itself If I could provide an

OS X Bluetooth programming

╄→尐↘猪︶ㄣ 提交于 2019-12-07 20:32:13
问题 I want to create OS X app to work with Lego Mindstorms NXT 2.0 via Bluetooth. I tried to make it with Objective C and Python, but there are some problems with both. About Objective C: I only found this documentation. There is told about configuration with plist-file, but example of such plist file is not provided, only some data on figure. Where to get it? Maybe I'm doing something wrong? Also, there are some references to /Developer directory, which does not exist. About Python: I found nxt

Lego Mindstorm NXT 2.0: “Error: NXT Bluetooth passkey confirmation failed”

不羁岁月 提交于 2019-12-07 18:48:23
问题 Running Windows 7 and the Lego Mindstorms NXT 2.0 IDE. The Windows bluetooth manager shows the NXT is connected and the NXT shows up in the Windows list of bluetooth devices. When I try to connect from the Lego IDE, however, I get a message that says "Error: NXT Bluetooth passkey confirmation failed". I entered the pairing key on the NXT and within Windows with no problems. The problem is when I am in the IDE trying to connect to the NXT. Any suggestions? Update - January 8, 2010 I have it

Lego Mindstorm NXT 2.0: “Error: NXT Bluetooth passkey confirmation failed”

只愿长相守 提交于 2019-12-06 13:20:23
Running Windows 7 and the Lego Mindstorms NXT 2.0 IDE. The Windows bluetooth manager shows the NXT is connected and the NXT shows up in the Windows list of bluetooth devices. When I try to connect from the Lego IDE, however, I get a message that says "Error: NXT Bluetooth passkey confirmation failed". I entered the pairing key on the NXT and within Windows with no problems. The problem is when I am in the IDE trying to connect to the NXT. Any suggestions? Update - January 8, 2010 I have it working on one computer. It's a desktop PC running Windows 7 Ultimate 32-bit. Same BT adapter, I just

Can I distribute a JDK with my application?

≡放荡痞女 提交于 2019-12-05 10:08:49
I am working on an application called Enchanting . The application, based on Scratch , emits Java source code and compiles it for uploading onto LEGO Mindstorms NXT Robots. While the application is very early, users have a hard time installing it. Right now Windows users have to: download and install a Java Developer Kit download and install LeJOS (a java library for the NXT) possibly tweak environment variables then they can download, install, and run Enchanting itself If I could provide an installer that would include the JDK, and LeJOS, I could figure out the environment variables at run

C# library for Lego Mindstorm NXT [closed]

♀尐吖头ヾ 提交于 2019-12-02 16:19:24
Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date? NXT.NET for LEGO Mindstorms last update 18.04.2008 http://nxtnet.codeplex.com/ MindSqualls last update 05.06.2007 http://www.mindsqualls.net/ Lego .NET last update 07.04.2005 http://www.dcl.hpi.uni-potsdam.de/research/lego.NET/weblog/ I know, there is MS Robotic studio, but my question is not about that. As far as I can tell, There is no source code available for NXT.NET for LEGO Mindstorms despite the project being hosted on codeplex. The library is not really complete yet - and it would seem that development has stalled.