| | Two NXT Back2Back
|
|
Hello Community, can direct connection of two NXTs (port4) with normal Lego-cables damage any parts or drivers ? Normally I use a special cable (Pins 3,5,6) to use the RS485 communication to another NXT, but some guys told me, they have used the (...) (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: RotateMotorEx hangs
|
|
"... Maybe I could check that the power level is not equal to zero as well..." Good idea. Will be included in the coming release? --Elizabeth -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of (...) (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: File Error - what does it exactly mean?
|
|
(...) I would guess that 99% of the time that you get a File Error abend in an NXT program it is because of trying to access an element beyond the end of the array. I'm glad you were able to figure the problem out quickly. It would be nice if the (...) (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response
|
|
(...) Thanks for the recommendation John, I think we met in '99 at Mindfest at MIT, but I'm sure you met way too many to remember. I'm a long-time user of NQC and I evaluated NXC right after I got the NXT, along with RobotC. I've been focusing on (...) (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: File Error - what does it exactly mean?
|
|
(...) I have to answer myself after analyzing the reason. The error occured when trying to access elements of array outside of the initialized range. Glad to have resolved it. (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)
|
|
| | File Error - what does it exactly mean?
|
|
Hello, I have an NBC program which compiles fine and the previous versions of it were working as expected. After some minor modifications, the program is interrupted in the middle with a message "File Error!" shown on the LCD for a short momemnt and (...) (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: Wishlist for next pbLua Beta
|
|
(...) My thought would be to aim for a filesystem designed for flash use, like yaffs ( (URL) ). That particular filesystem is licensed under GPL and might be uncomfortably large too, I'm not sure, but it's structured more appropriately than FAT. I (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response
|
|
(...) You might want to consider using NXC and the standard NXT firmware. Here's some code John Barnes wrote in NXC for reading sensor values via the NRLink: int count; int sensorval; int i; int temp; byte toggle=0; byte csum; byte RCXcmnd[]; /*[0] (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: RotateMotorEx hangs
|
|
(...) When you call RotateMotorXXX here is the code that is executed: subroutine __RotateMotor0 brtst EQ, __rotate_Done0, __rotate_angle0 sign __rotate_thePower0, __rotate_angle0 abs __rotate_theAngle0, __rotate_angle0 mul __rotate_thePower0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | RotateMotorEx hangs
|
|
This is actually the topic about interrupting RotateMotor(). I resend with a more appropriate topic. --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Thursday, August (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: Idea on how to interrupt RotateMotor?
|
|
Look at the following sample code: ===...=== int shut =0; task x1() { TextOut(0, LCD_LINE3, "Waiting until it sees dark!..."); until (Sensor(IN_1)<40); shut=1; Off(OUT_AC); } task x2() { RotateMotorEx(OUT_AC, 75, 360, 0, FALSE, TRUE); TextOut(0, (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Idea on how to interrupt RotateMotor?
|
|
Since there is no event in nxc. Is there anyway to interrupt this call via a Off(OUT_AC) in another task? RotateMotor(OUT_AC, 20, 800); I could have used a time Wait after onFwd. However, This will not allow me to get a more previous degree turning. (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response w/ RobotC
|
|
(...) I downloaded the SDK from (URL) but can't find any reference to the message format. Perhaps this is the wrong SDK? I've looked in all the doc .pdf files and skimmed everything else. I sure am having a hard time locating things. (...) So what (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: NRLink reading RCX response w/ RobotC
|
|
(...) I couldn't find it either, but its out there somewhere. (...) Agreed. It started as a internal debugging tool and was left visible for the small handful of power users who write their own I2C device drivers. (...) Agreed. I went back and (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: NRLink reading RCX response w/ RobotC
|
|
(...) Searching for "robotc i2c" returns 3 message in the forums: "Interfacing with Lego Sensors" "Help with US sensor!!" "RobotC I2C Help" Only the third message describes "Test I2C Messaging". It's very specific to the message thread and in it you (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
|
|
| | RE: NRLink reading RCX response w/ RobotC
|
|
There are three steps to reading an I2C message from a sensor. 1. Send a message to the I2C sensor to initiate the read. Look at the program "NXT HiTechnic Accelerometer" in the RobotC sample programs folder for an example that you can clone. (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: pbLua Beta 13c first impressions
|
|
Walt, Thanks for mentioning my pbLua installation instructions (that are available also in my "Advanced NXT - The Da Vinci Inventions Book" alongside with a lot of samples for pbLua programs, by the way ;-) ). Keep in mind, though, that they have (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Re: pbLua Beta 13c first impressions
|
|
(...) Walt, thanks for having a look at pbLua and giving it a try. Most importantly, thanks for providing feedback in a forum where we can all learn from what you have done... (...) Soon. It's next on the list of things to do. (...) pbLua has all (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | Eclipse and LEJOS OSEK
|
|
Hi If you were looking for a nice IDE for LEJOS OSEK application development, why wouldn't you use Eclipse? I tested it and it works pretty well! (URL) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|
|
| | pbLua Beta 13c first impressions
|
|
pbLua beta 13c Ralph Hempel has given us pbLua which is a terrific free tool for programming the NXT. As a novice programmer, I had a bit of trouble getting it to work so I want to pass along my notes to other novices who might be interested. Feel (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
|