To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 1076 (-20)
  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 :) (16 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 (...) (16 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 (16 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 (...) (16 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 (...) (16 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 (...) (16 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 (...) (16 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 (...) (16 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 (...) (16 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 (...) (16 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) (16 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 (...) (16 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 (...) (16 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 (...) (16 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 (...) (16 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 (...) (16 years ago, 5-Mar-08, to lugnet.robotics.nxt)
 
  Nxtcom error #89
 
I've been using the nxtcom utility to download NXC apps from my Mac. It was working fine just a few minutes ago, but all of a sudden (starting about 10 minutes ago) it's giving me a "NXT Error #89". I've searched the web and read the read-me, and (...) (16 years ago, 5-Mar-08, to lugnet.robotics.nxt)
 
  Re: new to nbc; invaders problem
 
(...) I will check into this when I get home this evening but I think your problem may be that BricxCC and NBC do not automatically download the .RIC files referenced in the program source code. Those must be downloaded manually, which you can (...) (16 years ago, 3-Mar-08, to lugnet.robotics.nxt, lugnet.robotics, FTX)
 
  new to nbc; invaders problem
 
I'm just getting started with bricxcc (and winxp on my mac), so I'm hoping there's something painfully obvious I'm missing. I've compiled and run a few simple nbc and nxc programs (mostly from John's book), but invaders.nbc isn't working for me. I (...) (16 years ago, 2-Mar-08, to lugnet.robotics.nxt, lugnet.robotics, FTX)
 
  Re: Compass sensor with NXC
 
(...) I emailed Karen with the solution to her problem. This can trip you up if you aren't careful. Drawing values to the screen can confuse you if you draw over the top of an existing number without clearing the screen first. John Hansen (16 years ago, 29-Feb-08, to lugnet.robotics.nxt)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR