Hot answers tagged

3

NXT-G is based on LabView. If you don't like LabView, you won't like NXT-G. Good news though. Lego just debuted Mindstorms EV3. It uses a language based on ICON. Something you may be more interested in. It should be available this winter. http://mindstorms.lego.com/en-us/News/ReadMore/Default.aspx?id=476243 Also, while browsing questions on this site, I ...


3

Your question is not clear. "Is this byte array converted from hex?" If you know what the values are, you should know how you got them. 128 is not a hex number, it is the same as a hex 80, also written as 0x80. It indicates a 'Direct command, reply not required' as a serial to NXT stream. 15 = 0x0F = LSWRITE. It does not make sense to decode any more, as ...


3

Sure it can. The NXT provides a bluetooth serial port, so you don't actually have to do anything with bluetooth in Qt. All of the Bluetooth stuff will be handled by your OS. Instead, to communicate to the NXT from Qt, you will need to open the serial port for reading and writing, then send commands to the NXT over this connection. You can find out more ...


3

Just to be clear, my answers assume you are asking about NXT, not the more recent EV3. Also I couldn't find information on how RobotC works on NXT – if it loads native code straight to memory or generates RXE files to run on the NXT VM – so I'll cover both scenarios. According to the NXT Hardware Developer Kit, the NXT brick's main processor is connected to ...


2

Here is a useful thesis that might help: http://dspace.mit.edu/bitstream/handle/1721.1/69500/775672333.pdf And this paper discusses some of the control problems, including the drift compensation problem that you're having: http://www.raysforexcellence.se/wp-content/uploads/2013/01/Dennis-Jin-Development-of-a-stable-control-system-for-a-segway.pdf As a kind ...


2

There have been some projects that allow you to run NXT programs on a computer, like this one: http://ocaml-mindstorm.forge.ocamlcore.org/ However, this is done by downloading and running a different program on the NXT, which acts as a communications bridge -- passing control to and from the main computer. There are probably other libraries that use this ...


2

A lot of the different options with regards to language are listed on the NXT wiki page http://en.wikipedia.org/wiki/Lego_Mindstorms_NXT_2.0. NXT-G NXT-G is the programming software included in the standard base kit. It is based on LabVIEW graphical programming. It features an interactive drag-and-drop environment. LabVIEW Toolkit[edit] NXT-G is powered by ...


1

Since you are using an Arduino a .NET app isn't going to be much help unless you can get the source code and use that as a reference. .NET can be used on Arduinos but you are probably going to get stuck, because there will be less examples. (The source code will probably be in either C# or VB and if you can read Arduino C you can read them) "Do the ...


1

Well, when you change the value of PWM to 0 in an instant, it will definitely shut the servo down, but it will happen in such a sudden fashion that it could break the servo. I am also partaking in this event as well at my school and we are also had the same problem. We even tried setting the value of PWM to 0 in the end, but it broke two of our servos due to ...


1

I have seen this behaviour using the NxtMMX with the EV3 (while writing the driver for ev3dev). I am fairly certain that this is the speed regulation PID overshooting and then slowing down. In NXC you can use MMX_SetPerformanceParameters to change the PID parameters and possibly get rid of the overshoot.


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