tag:blogger.com,1999:blog-21402852.post115444290387394262..comments2015-03-03T16:03:23.348+10:00Comments on The NXT STEP is EV3 - LEGO® MINDSTORMS® Blog: NXT SDK, HDK and BDK finally released by LEGOJames Floyd Kelly (Jim)http://www.blogger.com/profile/13876934942928389738noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-21402852.post-4718878394112036632009-01-31T04:06:00.000+10:002009-01-31T04:06:00.000+10:00Hi everybody! I'm not familiarized with Lego NXT, ...Hi everybody! I'm not familiarized with Lego NXT, but I'm was reading a bit of documents. I have an issue: I need to read values from accelerometer. What I'm doing? Well, at first, I send the <B>SetInputMode</B> command to enable port 4, but I don't know which kind of <I>SensorType</I> and <I>SensorMode</I> must set to obtain the values. Then, used <B>GetInputValues</B> to obtain the values... I'm correct? I really got a response from brik, but always I have the same values (if these are the correct values), inclusive shaking the accelerometer.. what's bad?? what's missing??<BR/>thanks for your responses!!Manolohttp://www.blogger.com/profile/05233162799826119471noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-17681059981773600812007-04-16T03:48:00.000+10:002007-04-16T03:48:00.000+10:00I have a project for all of you who were wanting a...I have a project for all of you who were wanting a higher level API or just wanting some information and examples about the fantom library. I've made an interface for fantom called NXT++ and it is intended to be simple and easy to understand. I also need some developers willing to help out. Feel free to browse the code/find out more info/download at these sites:<BR/><BR/>SourceForge: http://sourceforge.net/projects/nxtpp/<BR/>Project Site: http://nxtpp.sourceforge.net/Cory Walkerhttp://www.blogger.com/profile/07395795526846866783noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1159310878917759492006-09-27T08:47:00.000+10:002006-09-27T08:47:00.000+10:00Does anyone have more information on the SetOutput...Does anyone have more information on the SetOutputMode command? I know very little about the meaning of the flags and the Lego documentation is not very elobarate. I can get the motors to turn and brake but I have no idea how to do more sophisticated stuff like synchronizing the motors for a 'tank drive'.<BR/><BR/>I'd also like to get additional information on the SetInputMode command. I know how to configure all sensors but the coolest one - the sonar. Any information would be greatly appreciated since I need it for my library.Bram Fokkehttp://lego.fokke.net/noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154624338263256462006-08-04T02:58:00.000+10:002006-08-04T02:58:00.000+10:00With regard to why the MDP doesn't have a higher-l...With regard to why the MDP doesn't have a higher-level API ready and waiting, well, keep in mind that what we (the MDP) had was a moving, undocumented target. LEGO didn't just give us all NXT sets months in advance, along with a complete SDK, and then spend those months stockpiling retail sets to embargo until some arbitrary shipping date. We did not have the just-release SDK during the MDP phase, and in fact had to tease a lot of things out by ourselves (as well as had some information provided by LEGO). And due (at least I think in part) to suggestions or comments from the MDP, things changed during the program. What you now have in your hands is the finished product (that will likely be extended by either LEGO or 3rd party folks)... that's not neccessarily what the MDP always had to work with.<BR/><BR/>Hehe. And if you think you were impatient, believe me, the MDP was ahead of the curve on that point as well. Hehe.<BR/><BR/>-- <BR/>Brian DavisBrian Davishttp://www.blogger.com/profile/13348160352741782598noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154593740127985622006-08-03T18:29:00.000+10:002006-08-03T18:29:00.000+10:00tonny, how can you make an overley layer above Fha...tonny, how can you make an overley layer above Fhantom? The basic SDK LEGO published let you get a handle on "Modules", then you can read/write from their associated memory map. However, LEGO did not publish the structure of the modules memory map, which registers are at which address, possible values for these etc. The SDK is somewhat useless without those, unless you stick to direct commands protocol, but even these can't give you all the functionality of direct memory read/write.Guy Zivhttp://www.nxtasy.orgnoreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154568872556267142006-08-03T11:34:00.000+10:002006-08-03T11:34:00.000+10:00Sorry, I sounded rude last time.I meant to be symp...Sorry, I sounded rude last time.<BR/><BR/>I meant to be sympathetic and write that: there is a lot of information to read through in order to find the few lines you are looking for.Tony Naggshttp://www.blogger.com/profile/06952505225867185961noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154565487375700812006-08-03T10:38:00.000+10:002006-08-03T10:38:00.000+10:00Thanks Tony for shining the light. (I am embarrase...Thanks Tony for shining the light. <BR/>(I am embarrased)<BR/><BR/>I must have gone thru the document a couple of times but somehow didnt read thru each command. The names SetOuputState and GetInputValues didn't ring a bell.<BR/><BR/>Thanks once again.Krishna Kumarhttp://www.blogger.com/profile/17628367335159078569noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154563824561104182006-08-03T10:10:00.000+10:002006-08-03T10:10:00.000+10:00Hi KrishnaThere is certainly a lot of information....<B>Hi Krishna</B><BR/><BR/>There is certainly a lot of information.<BR/><BR/>Appendix 2 of the Bluetooth Dev Kit, "Direct Commands" describes messages including "SetOutputState", (page 6), "SetInputType" and "GetInputValues", (both on page 7).<BR/><BR/>Regards,<BR/>TonyTony Naggshttp://www.blogger.com/profile/06952505225867185961noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154556998745091542006-08-03T08:16:00.000+10:002006-08-03T08:16:00.000+10:00Bluetooth Dev Kit does let you transfer programs, ...Bluetooth Dev Kit does let you transfer programs, but I was looking for direct commands to control the motor, and read the sensors. Either I havent digested all the information or it is missing.Krishna Kumarhttp://www.blogger.com/profile/17628367335159078569noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154539565115770542006-08-03T03:26:00.000+10:002006-08-03T03:26:00.000+10:00Gordon: Jim has a great big tag "Email:" on the ri...<B>Gordon</B>: Jim has a great big tag "Email:" on the right hand side of the NXT STEP's front page.<BR/><BR/>One of those hidden in full view things!<BR/><BR/><B>Guy</B>: I would have been very dissappointed if Lego had constrained programmers to using some pre-packaged wrappers.<BR/><BR/>If I had been accepted as an MDP I would have considered I had done a good job by encouraging & supporting Lego to publish such excellent documentation.<BR/><BR/>I certainly intend to have fun creating my own software interface layers with this info.<BR/><BR/><B>Joubarc, Christer</B>: Yes somewhere in the NXT software documentation Lego say there is a Mac Universal binary on the way. I guess the delay is to do with National Instruments development schedule.<BR/><BR/>With the Bluetooth Development Kit is should be possible for a Mac-Intel programmer to write a native app for remote control or transferring programs.<BR/><BR/><BR/>Ttfn, TonyTony Naggshttp://www.blogger.com/profile/06952505225867185961noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154534396295264092006-08-03T01:59:00.000+10:002006-08-03T01:59:00.000+10:00Thanks Krishna. Somehow I missed the document with...Thanks Krishna. Somehow I missed the document with the US info, but now I see it.<BR/><BR/>Jim, how do I email you? I can't find email addresses anywhere on this forum.<BR/><BR/>I am at gordon L buchanan @ gmail . com (no spaces).Gordon Bhttp://www.blogger.com/profile/06792625289519605781noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154510476842441252006-08-02T19:21:00.000+10:002006-08-02T19:21:00.000+10:00For Christer:Tnoy Buser posted an article on Minds...For Christer:<BR/><BR/>Tnoy Buser posted an article on <A HREF="http://www.juju.org/articles/2006/08/01/mindstorms-nxt-bluetooth-on-osx" REL="nofollow">Mindstorms NXT Bluetooth on OSX</A>.<BR/><BR/>I don't know if that's of any help since I don't have any Mac (yet) or even NXT (yet - good news on that for Europe by the way, dates have been moved from oct 15 to sep 21 for non-english versions. Go LEGO!).<BR/><BR/>And if it doesn't help; I've read that LEGO will indeed provide a universal binary - although I haven't seen any official statement or date estimate on this - hope the MDPers who run this site can ask and get a definitive answer on this ;-)Joubarcnoreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154496402867709232006-08-02T15:26:00.000+10:002006-08-02T15:26:00.000+10:00Gordon, the US commands were discussed both in lug...Gordon, the US commands were discussed both in lugnet and in nxtasy forums quite a while ago. These two sources are also worth looking at if you need information, beside thenxtstep (which is also great, thanks Jim :) )guy zivhttp://www.nxtasy.orgnoreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154476992272871062006-08-02T10:03:00.000+10:002006-08-02T10:03:00.000+10:00Gordon have you looked at the "Appendix 7-LEGO MIN...Gordon have you looked at the "Appendix 7-LEGO MINDSTORMS NXT Ultrasonic Sensor I2C communication protocol.pdf" in the hardware developer kit, it has the commands to do single shot read etc. Hope you find it useful.Krishna Kumarhttp://www.blogger.com/profile/17628367335159078569noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154476920620035732006-08-02T10:02:00.000+10:002006-08-02T10:02:00.000+10:00I agree with Jim, we need to learn to be patient; ...I agree with Jim, we need to learn to be patient; but the NXT is so awesome that we want to take it to new heights and every day of waiting makes it tough.<BR/><BR/>For me the thing that makes the wait tough is - knowing that the MDP have had access to the SDK and other information for their projects, wish all the work they did, in terms of Bluetooth applications to control the NXT be made available in the form of samples.<BR/><BR/>Reading thru the SDK documentation is tough without start up samples. Once again I know that LEGO's primary concern is to get the units out to the students; hackers and enthusiasts come second.Krishna Kumarhttp://www.blogger.com/profile/17628367335159078569noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154470389444577842006-08-02T08:13:00.000+10:002006-08-02T08:13:00.000+10:00Gordon,Shoot me an email when you can... JimGordon,<BR/><BR/>Shoot me an email when you can... <BR/><BR/>JimJim Kellyhttp://www.blogger.com/profile/13876934942928389738noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154466469730789032006-08-02T07:07:00.000+10:002006-08-02T07:07:00.000+10:00Did anyone find details on using the ultrasonic se...Did anyone find details on using the ultrasonic sensor in the documentation? I think there are ways to put the US in single ping mode and also control the time between pings but I could not find this anywhere.<BR/><BR/>Lots of good info in the motors. Now I just have to learn about PID!Gordon Bhttp://www.blogger.com/profile/06792625289519605781noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154461113829716642006-08-02T05:38:00.000+10:002006-08-02T05:38:00.000+10:00First let me correct the wrong impression - I'm HA...First let me correct the wrong impression - I'm HAPPY that LEGO released these SDKs. That's a great step forward for the NXT community.<BR/>As for the direct command set - the BDK indeed give a list of these.<BR/>As for the modules - the BDK give the list of IDs, but without the memory map of each module, Fantom is useless...<BR/>I'm sorry for being a pain, but wasn't there an MDP program? Didn't any MDP write a higher-level API, or was these SDKs not available to MDP mmbers also?Guy Zivhttp://www.nxtasy.orgnoreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154460317205211312006-08-02T05:25:00.000+10:002006-08-02T05:25:00.000+10:00To Guy:Perhaps you failed to peruse the Bluetooth ...To Guy:<BR/><BR/>Perhaps you failed to peruse the Bluetooth Developer Kit (BDK) before you posted.<BR/><BR/>For details on Modules, see p. 18 in Appendix 1 in the Bluetooth Developer Kit (BDK).<BR/><BR/>For details on Direct Commands, see Appendix 2 in the BDK.<BR/><BR/>To all:<BR/><BR/>I think LEGO has done an excellent job so far of providing potential NXT hackers with lots of information and tools to make the hacker's job easier. But half the fun of hacking is having to figure out some things on your own! Be patient, be persistent, and be clever. I'm sure there are many intelligent people out there who realize how lucky they are to have even the current documentation and are currently working on simplifying things for the rest of us.nxTeachnoreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154458562224311342006-08-02T04:56:00.000+10:002006-08-02T04:56:00.000+10:00My guess is that we haven't received everything ye...My guess is that we haven't received everything yet... let's not jump too quickly on LEGO, people.<BR/><BR/>I imagine it's got to be frustrating at LEGO most days - we (the consumers) don't ever seem to be happy... negative posts, "I don't see this... I don't see that..." <BR/><BR/>We all seem to forget this is a TOY! A very advanced toy, but it is still a toy...<BR/><BR/>How about let's give LEGO a little time... we're all complaining but the majority of people don't even have a NXT kit yet.<BR/><BR/>Sorry to be so negative in a comment, but I'm just a consumer and all I can think is how I'd feel if I were an exec at LEGO... they're proud of getting the product out the door, but all they keep hearing are complaints.<BR/><BR/>Okay... I'm done.<BR/><BR/>Gonna go get an ice cream and take some deep breaths.<BR/><BR/>JimJim Kellyhttp://www.blogger.com/profile/13876934942928389738noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154457277891190322006-08-02T04:34:00.000+10:002006-08-02T04:34:00.000+10:00I must say I am a bit disappointed.The Fantom appe...I must say I am a bit disappointed.<BR/>The Fantom appears to be a very low-level interface API. It basically allows locating an NXT then locating a "Module" inside, and read/write from "Module" I/O Map. what is this "Module"? There seems to be no documentation of the standard "Modules" in the NXT. Here's where a higher level<BR/>API should be but it will be hard making one without proper documentation!<BR/><BR/>Fantom allow also sending a direct command to the NXT. Great! From the example I now know that sending 0x03, 0x00, 0x18, 0x10, 0x00 makes a tone. What else can I send ?!?!? <BR/><BR/>In short, the Fantom API may give us the tools to interact with the NXT from a PC, but it is like having an F-16 with no "User Manual"...<BR/><BR/>The executable file specifications seems like a detailed description of the low-level program files. I hope it makes NBC more clear (NBC documentations isn't too good...),<BR/>but for the average user - it doesn't help much...<BR/><BR/>The hardware description is pretty informative, allthough I felt it keep the discussion on the "features" level and doesn't get into enough details. They do give the schematics<BR/>(this surprised me, I must admit) but reading these requires a good knowledge of electronics<BR/>and it would still be difficult to make a third-party firmware from this data. A 25 pages file doesn't describe such a complex hardware.<BR/><BR/>Also, I was expecting LEGO to give VIs (i.e Blocks) to make extensions for the NXT-G, allowing e.g. I2C communication (which will allow using many third-party sensors with NXT-G) etc.Guy Zivhttp://www.nxtasy.orgnoreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154454289843733902006-08-02T03:44:00.000+10:002006-08-02T03:44:00.000+10:00All I've been told is that those needing the patch...All I've been told is that those needing the patch for the Clicking problem need to contact LEGO support directly... they are either emailing the patch or providing a URL for access to it. I wish I knew more...<BR/><BR/>I'll ask around again.<BR/><BR/>JimJim Kellyhttp://www.blogger.com/profile/13876934942928389738noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154454203054882522006-08-02T03:43:00.000+10:002006-08-02T03:43:00.000+10:00Any word on the 1.0.3 firmware?KrisPS: First time ...Any word on the 1.0.3 firmware?<BR/><BR/>Kris<BR/><BR/>PS: First time comment poster, love this site.Krishna Kumarhttp://www.blogger.com/profile/17628367335159078569noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154453476803212022006-08-02T03:31:00.000+10:002006-08-02T03:31:00.000+10:00Right,and look at all these shiny C headers in the...Right,<BR/>and look at all these shiny C headers in the SDK!<BR/>Almost unbelievable when remembering the dark old times of RCX hacking...Matthias Paul Scholzhttp://www.blogger.com/profile/11938232149780953211noreply@blogger.comtag:blogger.com,1999:blog-21402852.post-1154451278423397922006-08-02T02:54:00.000+10:002006-08-02T02:54:00.000+10:00The wait has been worthwhile, lots of information ...The wait has been worthwhile, lots of information here!<BR/>There is even a circuit schematic of the NXT brick.<BR/><BR/>- TonyTony Naggshttp://www.blogger.com/profile/06952505225867185961noreply@blogger.com