| | RE: determine the degree of turning by using ultrasonic sensor
|
|
Found it... RotateMotor(OUT_C, 100, turn); x = MotorRotationCount(OUT_C); --E -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Elizabeth Mabrey Sent: Tuesday, May 22, 2007 12:57 PM To: (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | determine the degree of turning by using ultrasonic sensor
|
|
Is it quick way to determining the # of degree or some value which will help to calculate the distance travelled. more or less like the x= rotation-click.. Is it a way to read how much the motor has turned from a certain point. - Reset motor/sensor (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | Introduction of LEJOS OSEK
|
|
Hello everyone and special thanks to LEJOS developers, I would like to introduce a new project that is standing on the shoulders of giants. LEJOS OSEK (URL) is an open source firmware for LEGO Mindstorms NXT. LEJOS OSEK consists of I/O driver of (...) (18 years ago, 22-May-07, to lugnet.robotics.nxt)
|
|
| | 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 (...) (18 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: (...) (18 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 (18 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 (18 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 (...) (18 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 (...) (18 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 (...) (18 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. (...) (18 years ago, 21-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|
|
| | Re: Windows Vista Mindstorms Compatibility
|
|
Great! But now I've run into another problem. My USB tower is not detected. It is installed, I can see it under the Control Panel, but none of the programs can find it. I've tried plugging it into different USB ports, I've tried the new setup (...) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | 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); (...) (18 years ago, 20-May-07, to lugnet.robotics.nxt)
|
|
| | RE: Windows Vista Mindstorms Compatibility
|
|
Hi, BrixCC works fine under Vista here, just change the shortcut to "Run as Administrator" (under the "Advanced" button). Regards, Marco -----Original Message----- From: linmix [mailto:linmix@gmail.com] Sent: zondag 20 mei 2007 16:32 To: (...) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | Windows Vista Mindstorms Compatibility
|
|
I have just bought a laptop with Windows Vista (it's the only OS you can get on a laptop around here) and of course I have immediately tried to install my LEGO software . Here's a short report of the different apps I've tried to install and the (...) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | RE: NXT Programming with C Question
|
|
(...) Ralph and Brian have provided good input that parallels my experience. Here's a little more information. If you have access to the IAR tools you can compile the NXT firmware available in the NXT SDK from LEGO "out of the box". I believe there (...) (18 years ago, 20-May-07, to lugnet.robotics.nxt.nxthacking)
|
|
| | Pictures from Robot Sumo at Orlando, LIC
|
|
There was a Under 14 Light Weight Class Robot Sumo and a Tag Team event at the Orlando LIC -- see KK Quah's web-site, TLCK ((URL) for details. It happened May 19, 2007. Here are my pictures from the event: (URL) (18 years ago, 20-May-07, to lugnet.robotics)
|
|
| | Re: new xy-plotter
|
|
(...) Page is updated : (URL) (18 years ago, 19-May-07, to lugnet.robotics)
|
|
| | 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 (...) (18 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 (...) (18 years ago, 19-May-07, to lugnet.robotics.nxt, lugnet.robotics.nxt.nxthacking)
|