| | NXT Inventor's Guide Book Signing in Austin, TX
|
|
On Saturday, April 19th, I'm having a book signing at a Barnes & Noble in Austin, Texas for my book The Unofficial LEGO MINDSTORMS NXT Inventor's Guide (No Starch Press, 2007). The signing will begin at 2PM, and I'll be bringing two robots with me (...) (17 years ago, 11-Apr-08, to lugnet.robotics, lugnet.robotics.nxt, lugnet.events, lugnet.loc.us.tx, FTX)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) Hi Roger, yes, Java can do the job, but normally I prefer pbLua for all my NXT projects. It is completely operating system independant, you need a terminal only... From time to time, I like to play with NXC, which is available for most os'es (...) (17 years ago, 6-Apr-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) Hi Christian, If you need 2 dimensional arrays and use OSX, Java is a possible answer. You can download it from http: lejos.sourceforge.net. It supports up to 8 dimensional arrays, the Java math library, multi threading, communications via (...) (17 years ago, 5-Apr-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) Well, don't add the functionality on my account - I've redone my program a bit and now it doesn't need multi-dimensional arrays, and I think it's better this way anyways. Thanks for your help. Trevyn (17 years ago, 2-Apr-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) OK, I'll publicly make my demand louder. OSX is a great enviroment for educators... oh heck with it, I want it for me, not my students :) (17 years ago, 2-Apr-08, to lugnet.robotics.nxt)
|
|
| | RE: Two dimensional arrays in NXC
|
|
Yes. It is currently a Windows only package. There's some, but not a lot, of demand for Mac version. -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Christian Mock Sent: Monday, March 31, 2008 (...) (17 years ago, 1-Apr-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) RobotC is for MS Windows only, isn't it ? Please let me know, if an OSX version is available. Thanks Christian (17 years ago, 31-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Two dimensional arrays in NXC
|
|
(...) The stock firmware supports multi-dimensional arrays but there is a bug in the replace opcode which makes it impossible to replace an element in an array with more than one dimension. In NXC, due to the way the opcodes work in the standard (...) (17 years ago, 31-Mar-08, to lugnet.robotics.nxt)
|
|
| | RE: Two dimensional arrays in NXC
|
|
As an alternative, you might want to look at the ROBOTC solution. It fully supports two dimensional arrays. You can download a 30-day evaluation version from www.robotc.net. It's best to use the pre-release version (1.22 or higher) if you'll be (...) (17 years ago, 30-Mar-08, to lugnet.robotics.nxt)
|
|
| | Two dimensional arrays in NXC
|
|
Hello, I'm trying to use two dimensional arrays in NXC, like this: int onedarray[4]; int twodarray[4][4]; task main() { onedarray[2] = 1; twodarray[2][2] = 1; } I read that the stock firmware doesn't support them, so I got John Hansen's enhanced (...) (17 years ago, 29-Mar-08, to lugnet.robotics.nxt)
|
|
| | light active mode vs inactive mode
|
|
I am attempting to turn the reflective light on and off periodically. It works fine in RobotC. However, in Robolab, once it is turned off (via the robolab light sensor initialization - set the light on to "false"), it won't turn on again during (...) (17 years ago, 16-Mar-08, to lugnet.robotics.nxt)
|
|
| | Using PF modes with mindsensors NRLink device
|
|
Hi all, I am trying to use the different PF modes (PWM for instance) with my mindsensors NRLink. I tried adding new macros to PF.txt file without any sucess. This is the file I used. I updated this macro file in my NRLink with NXT-G and afterwars I (...) (17 years ago, 14-Mar-08, to lugnet.robotics.nxt, lugnet.robotics)
|
|
| | motor port splitter?
|
|
Looks like only Mindsensor provides port splitter for nxt motors. Unfortunately, this splitter will not allow independent control. I had this application which requires ita port to be attached to one NXT motor, and one RCX lamp (while the other two (...) (17 years ago, 10-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Nxtcom error #89
|
|
Here is a shameless plug for Java .... The Lejos_NXT software system (aka NXJ) runs its defrag program every time a file is deleted from the file system. And the start up menu also shows on the LCD the amount of free flash (which,of course, is (...) (17 years ago, 9-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: step-by-step tutorial leJOS and Eclipse
|
|
Hey, Due to a complete redesign of the website, the tutorial URL was changed to: (URL) (17 years ago, 9-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Nxtcom error #89
|
|
(...) Unfortunately, the standard firmware does not expose the ability to iterate through the files in the file system. You can do that with the enhanced NBC/NXC firmware, but even then the information you can get about a file is just its name and (...) (17 years ago, 7-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Nxtcom error #89
|
|
(...) Thanks, John -- this agrees with what Dave found as well. Makes sense. (...) Thanks again. What would be really neat is a utility that can draw a memory map, showing what is stored where. I haven't seen such a thing since my Apple II days, but (...) (17 years ago, 6-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Nxtcom error #89
|
|
(...) According to the LEGO Mindstorms NXT Communication protocol.pdf that is part of the Bluetooth Developer Kit, your error code (89) means "No linear space". That means all the remaining space on your NXT is fragmented so there is not enough (...) (17 years ago, 6-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Nxtcom error #89
|
|
OK, for the archives: I got an answer from Dave Baum (author of nxtcom). He says that error #89 indicates memory fragmentation -- even though my NXT had plenty of free RAM in total, there was no single contiguous block big enough to hold the new (...) (17 years ago, 6-Mar-08, to lugnet.robotics.nxt)
|
|
| | Re: Nxtcom error #89
|
|
To follow up my own post: I've since verified that I have 45K free on the NXT, and the file I'm installing is under 13K. I've also restarted both my Mac and my NXT, and still get that mysterious error 89. After more experimentation, it does appear (...) (17 years ago, 5-Mar-08, to lugnet.robotics.nxt)
|