Questions tagged [nxt]

The NXT tag should be used when asking question about programming in the NXT 1.0 or 2.0 environment, or about programming the NXT 1.0/2.0 controller using other methods than the language/environment provided by LEGO.

NXT is the previous version of the LEGO Mindstorms robotics kit. NXT includes the microcontroller and the software to program it.

The NXT software was developed for LEGO by National Instruments (makers of LabView) and is a graphical, drag-and-drop programming environment.

NXT environment allows interaction with a wide range of sensors available for the controller as well as interacting with up to 3 motors per controller.

143 questions
72
votes
2 answers

Combine Gyroscope and Accelerometer Data

I am building a balancing robot using the Lego Mindstorm's NXT system. I am using two sensors from HiTechnic, the first being an Accelerometer and the second being a Gyroscope. I've successfully filtered out noise from both sensors and derived…
Dylan Vester
  • 2,614
  • 4
  • 28
  • 38
32
votes
7 answers

Lego Mindstorms Programming - which language/IDE do you use/recommend?

I'm new to it and currently using the visual flow-chart like language that the Lego Mindstorms IDE uses. I'm impressed with how readable the diagramming language is but missing the flexiblity of actual code. I'm imagining complicated projects I want…
CodeAndCats
  • 6,372
  • 7
  • 38
  • 57
27
votes
9 answers

Is Lego MindStorms a good choice for basic robotics development?

I would like to learn how to write software for controlling robots. Is Lego MindStorms a good choice for this? Are there better alternatives? I'd prefer MindStorms, but after reading a couple of articles I get the impression that Lego has stopped…
Arnold Zokas
  • 7,741
  • 6
  • 45
  • 75
24
votes
6 answers

C# library for Lego Mindstorm NXT

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…
MicTech
  • 36,117
  • 14
  • 58
  • 79
12
votes
2 answers

Bluetooth-connection between Android and Lego Mindstorm NXT

Does anybody know, how to build a bluetooth connection between Android and LEGO-Mindstorm-NXT? The connection between two NXTs works fine. But the other Connection-type likes not so easy. I am working with the LeJOS Firmware 0.85 and the Android SDK…
joen
  • 624
  • 2
  • 5
  • 13
12
votes
4 answers

How do I design and implement a programming language?

This question is related to This question on Aardvark This question on here The past couple of years I've been thinking about things I like and don't like about languages I use. I always wanted to write my own language, but never did so. I also…
Pepijn
  • 3,909
  • 4
  • 30
  • 60
9
votes
4 answers

C++ OOP Library for Programming the Lego NXT

A while back, I got a LEGO Mindstorms NXT set for Christmas, and now I would like to program it in C++. I have looked around, here and other places, and could not find a cross-platform, open source, OOP C++ library that "felt right", including…
Austin Hyde
  • 23,947
  • 28
  • 88
  • 124
8
votes
2 answers

Explicitly set docstring of a method

I help to maintain a package for python called nxt-python. It uses metaclasses to define the methods of a control object. Here's the method that defines the available functions: class _Meta(type): 'Metaclass which adds one method for each…
Eric Pauley
  • 1,531
  • 1
  • 17
  • 29
8
votes
4 answers

What is the difference between the Lego Mindstorms 1.0 and 2.0

I am thinking about buying a mindstorms kit (I don't currently own one but I have used 1.0 at university) and I am a bit unsure as to the benefits of 2.0 over 1.0. I have seen other posts on the subject all saying generally 2.0 is better but I have…
Gavimoss
  • 365
  • 2
  • 4
  • 20
6
votes
4 answers

Compass: from 359 to 0 degrees

I am trying to move a robot using a compass. We use the compass to make the robot move in straight line, it uses 2 wheels and they move a bit different. So we set a value between 0 and 359 as direction, and then check the current direction,…
Dr Sokoban
  • 1,510
  • 3
  • 17
  • 30
6
votes
2 answers

LEGO NXT Brick using NBC

I am new to NBC programming and am trying to program my Lego NXT Brick to search for and follow a line of black electrical tape that I have on the floor (I have the light sensor in the front and pointing straight down at the ground). As of right…
Bryan
  • 2,659
  • 8
  • 46
  • 84
5
votes
1 answer

Bluetooth Ping Latency

I am currently working on a project involving a Lego Mindstorms kit. The brick is the NXT and I was curious about the bluetooth ping rates. I ran a test of 100 pings on it and got some interesting results. The latencies seemed to fall into bands. I…
Dale Myers
  • 2,532
  • 2
  • 24
  • 45
5
votes
1 answer

CoreBluetooth Pairing To Lego NXT

I am trying to use Apple's CoreBluetooth framework to connect an iPhone or iPod Touch to a Lego NXT. However, it does not seem like there is any documentation from Apple about this framework at all. Does anyone know how to use it? What the available…
MZimmerman6
  • 7,808
  • 9
  • 36
  • 69
5
votes
2 answers

How To Save Content of GTKTextBuffer to a File

I'm writing on Ubuntu 12.04 in Anjuta with C and GTK a program. It's a graphical interface for the nbc (Lego NXT Compiler). I have a GTKTextView. Now I want to save the content of the textview to a file, which could be chosen by a GTKFileChooser.…
user1464420
  • 69
  • 1
  • 4
4
votes
3 answers

What are my language choices for lego NXT?

It is unclear from wikipedia etc (without installing a bunch of crap and testing) which languages I can use to write programs which can be copied and run standalone on the NXT brick. What languages are currently supported? I'd probably want to go…
grasevski
  • 2,429
  • 1
  • 19
  • 21
1
2 3
9 10