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 / 746 (-40)
  Re: NXC - embedded functions failed
 
(...) I think having NXC generate a compiler error is a great idea. :-) I will work that into the next beta release (b30). I just released beta 29 today. It has a number of important fixes and enhancements but I just noticed that it has a few new (...) (17 years ago, 22-May-07, to lugnet.robotics.nxt)
 
  RE: NXC - embedded functions failed
 
Hi John, Will throwing in a compilation error be a viable option? --Elizabeth -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Sunday, May 20, 2007 1:19 PM To: (...) (17 years ago, 21-May-07, to lugnet.robotics.nxt)
 
  Re: pbLua PCF8574 SOLVED !
 
(...) Let me say thanks to Dick as well. I think that the NXT firmware does what's called a repeat start in the I2C definition... Here's the part in the I2C spec that is required: (URL) And with pictures: (URL) Hope this helps... Ralph (17 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua PCF8574 SOLVED !
 
(...) Hi Dick, your answer solves my knot :D It's a NXT specific behaviour and all alternatives NXT-OSes which uses original Lego-Source-Lowlevel routines have this feature ? Thanks for your answer Bye Christian (17 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  RE: pbLua PCF8574 SOLVED ?
 
(...) This is the excepted behavior. When you want to read from I2C device, the NXT firmware first sends a write message to load the internal index "pointer" for the I2C device and then sends a read message that will read the requested number of (...) (17 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua PCF8574 SOLVED ?
 
(...) Hi, or was it a quirk at my brain to address the i2c-read-address and hope to receive usefull data ? Currently it works for me when using allways the i2c-write address... Are the any demos or samples for NXC, using the PCF8574 ? 1. setting (...) (17 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: NXC - embedded functions failed
 
(...) This is definitely a problem in NXC. The problem is that the value of arg "a" (33) to the function Max is being replaced during the second call to Max since it passes 5 into arg "a". It looks like I need to figure out a decent way to implement (...) (17 years ago, 21-May-07, to lugnet.robotics.nxt)
 
  Re: pbLua PCF8574 SOLVED
 
(...) Hi, we solved the problem... Lego-Firmware has own brain and handle read/write with own mechanisms ;-( The last read/write bit is handled automatically by lowlevel routines. Reading the same address like writing solves the problem. (...) (17 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  NXC - embedded functions failed
 
#include "NXCDefs.h" int Max(int a,int b){ if (a>b) return a; else return b; } task main(){ int Prob=0; Prob = Max(33, Max(5,15)); NumOut(5,LCD_LINE2,false,Prob); //returns 15 WRONG ---...--- Prob = Max(5,15); Prob = Max(33,Prob); (...) (17 years ago, 20-May-07, to lugnet.robotics.nxt)
 
  press button to return to pbLua-Interpreter
 
Hi Ralph, times ago, you have added the function to power off the NXT by pressing the orange button... But: what about implementing a function to break every running code and return back to interpreter ? It is very useful for debugging and (...) (17 years ago, 19-May-07, to lugnet.robotics.nxt)
 
  Re: pbLua Hardware access
 
(...) All the nice IO-Ports of the ARM-CPU, which are connected to external ports :D But now I think, we did not need it any more. You are fast enough with your development and responses. Forget Peek and Poke from good old C64 times ;-) Thanks a lot (...) (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua PCF8574
 
(...) Hi Ralph, we are using this code: collectgarbage( "setpause", 110 ); function setupI2C(port) nxt.InputSetType(port,2) nxt.InputSetDir(port,1,1) nxt.InputSetState(port,1,1) nxt.I2CTimer(3) nxt.I2CInitPins(port) end function ReadPCF(port) (...) (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua Hardware access
 
(...) There are no hidden commands, but if it's ABSOLUTELY necessary I can add peek and poke for bytes, words and longs. This may be more dangerous than it's worth :-) What hardware do you need access to? Ralph (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: pbLua PCF8574
 
(...) No ideas yet, Christian. I do have a Mindsensors kit here to look at over the weekend. Are you SURE you are sending the correct string to read the registers? Can you post the code you're using for the test here? Cheers, Ralph (17 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  pbLua Hardware access
 
Hi, is there a way to access the NXT-hardware directly with pbLua ? Are there any hidden commands to allow this ? Any idea ? Thanks in advance Bye Christian (18 years ago, 18-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  pbLua PCF8574
 
Hi, has anybody successfully tried to read ports from I2C connected PCF8574 with pbLua (Beta-8) ? Writing and setting ports is no problem, but reading ports fails. The return value is every times 0 (not NIL) Any idea ? Thanks in advance Bye (...) (18 years ago, 18-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
 
  Re: NXT pbLua Online for testing
 
(...) If you like to see how it connected and wired, vistit this URL (URL) blackbox is a Linux-System (running from CF) for NXT-BT/USB communication and CAMserv Bye Christian (18 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: internals
 
(...) If you go to (URL) click on the "NXT'reme" button, you will be able to download all sorts of official internals documentation. -- David Schilling (18 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  internals
 
I have difficulty in locating info on the internal of the nxt brick. Wonder if anyone may have reference. Thanks in advance! --Elizabeth (18 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: NXT pbLua Online for testing
 
(...) I forgot to tell you something ;-( user: nxt pass: pblua Sorry Christian (18 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: NXT pbLua Online for testing
 
(...) Additionally you can try the pbLua-PC-emulation. telnet nxt.moccy.dyndns.org Videostream of NXT/pbLua actions follow this weekend. This allows you to watch the running NXT, controled by your commands :D Enjoy and don't kill the system Bye (...) (18 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  NXT pbLua Online for testing
 
Hello World, I've connected my NXT with powerful pbLua to the internet. Now you can test pbLua without modifying your own NXT. Feel free to connect to public NXT with pbLua. Just try: telnet nxt.moccy.dyndns.org 10001 So far my batteries are full (...) (18 years ago, 18-May-07, to lugnet.robotics.nxt)
 
  Re: NBC arrays
 
Thank you for the valuable first-hand information. It is a pitty there is no byte-code instruction to copy a part of an array somewhere to a middle of another array (so that one does not have to index and replace element-by-element or allocate a new (...) (18 years ago, 13-May-07, to lugnet.robotics.nxt)
 
  NXT radar
 
I've built a 'true' NXT radar, using a 4 wire untangler to allow infinite rotation of a Sharp IR sensor from mindsensors.com. Details and images on www.nxtasy.org main page. Guy Ziv NXTasy.org (18 years ago, 12-May-07, to lugnet.robotics.nxt)  
 
  robo soccer
 
I'm not sure if this is a right forum to ask for this. I am wondering if there is anyone who may be interested in working with 10 high school kids on learning how to do robosoccer. --Elizabeth (18 years ago, 12-May-07, to lugnet.robotics.nxt)
 
  Re: pbLua Beta 8 - with pixel and battery voltage reading
 
(...) I questioned the significance of the first one too when one of the pbLua users asked for it. Then, as I was writing some docs for pbLua I realized that it would be a nice way to get screenshots of the display. It's pretty easy to read the (...) (18 years ago, 8-May-07, to lugnet.robotics.nxt)
 
  Re: pbLua Beta 8 - with pixel and battery voltage reading
 
snip (...) snip I question the significance of feature #1, but feature #2 sure is a neat trick. How do you do it? (18 years ago, 8-May-07, to lugnet.robotics.nxt)
 
  pbLua Beta 8 - with pixel and battery voltage reading
 
All, I should get a life....another pbLua Beta - number 8 - is available at: (URL) What's so special about this one? Well it's got some significant new features including: 1. The ability to read an arbitrary pixel on the display 2. The ability to (...) (18 years ago, 8-May-07, to lugnet.robotics.nxt)
 
  Re: New Beta 7 for pbLua is available
 
(...) pbLua Rocks with OSX ! Very good job Ralph! BtConsole works out of the box at OSX. Now cables are from the past :D This song is just for you! demo = {} demo.playMusic = function() vol=1 C1=261;C2=523;C3=1047;C4=2093; (...) (18 years ago, 7-May-07, to lugnet.robotics.nxt)
 
  New Beta 7 for pbLua is available
 
All, Yes, I've been busy and I have yet another Beta of pbLua available in the Download link at: (URL) What's so special about this one? Well it's got some significant new features including: 1. The ability to turn the NXT off by pressing the orange (...) (18 years ago, 7-May-07, to lugnet.robotics.nxt)
 
  Re: NBC arrays
 
(...) I misspoke here. It is not OP_REPLACE which requires that the output array be different from the input array. Using the same arrays as input and output with OP_REPLACE, in fact, is quite normal and usual. I was actually thinking of OP_ARRBUILD (...) (18 years ago, 5-May-07, to lugnet.robotics.nxt)
 
  Re: NXT Rubik's cube solver
 
Excellent work! I was very impressed! It is amazing how many of the world's amazing minds are involved in the lego hobby : ) God Bless, Nathan (URL) (18 years ago, 5-May-07, to lugnet.robotics.nxt, FTX)
 
  Re: NBC arrays
 
(...) Perhaps the executable file and bytecode reference PDF explains arrays in a way that would complement the description in the NBC manual. The firmware source code is also a good source of information about how arrays work. (...) The firmware (...) (18 years ago, 4-May-07, to lugnet.robotics.nxt)
 
  Re: NXT Rubik's cube solver
 
(...) My software runs well both on UNIX and MAC Windows emulators: I tried it successfully. Danny (18 years ago, 4-May-07, to lugnet.robotics.nxt)
 
  Re: NXT Rubik's cube solver
 
(...) Aw, it's only for Windows / PC's (18 years ago, 3-May-07, to lugnet.robotics.nxt)
 
  Re: NXT Rubik's cube solver
 
I just watched the video! Brillant!! Great write up and web page. Amazing work! (18 years ago, 4-May-07, to lugnet.robotics.nxt)
 
  Re: NXT Rubik's cube solver
 
Absolutely fantastic with a clever mechanical design. (18 years ago, 2-May-07, to lugnet.robotics.nxt)
 
  Re: NXT Rubik's cube solver
 
(...) Daniele, WOW. ummm thats all I can say. WOW. It was nice to see and read about your design, and I thought to myself; nice. THEN I saw the video, and just smiled from ear to ear. The first time I saw the one arm do the "double thwack" to seat (...) (18 years ago, 2-May-07, to lugnet.robotics.nxt)
 
  NXT Rubik's cube solver
 
Hi. It took time but it is quite done. For details: (URL) (18 years ago, 2-May-07, to lugnet.robotics.nxt) !! 
 
  New pbLua Beta 5 Available
 
All, You can download and try the latest pbLua Beta 5 with the following enhancements: Enhancements include: 1. Fixed broken I2C implementation 2. Added basic sound for tones and melodies 3. Added first attempt at high speed 485 4. Direct input of (...) (18 years ago, 2-May-07, to lugnet.robotics.nxt)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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