| | Re: code
|
|
yego, The wait_event function takes an event function as the first parameter, not a sensor number. You need something like (forgive any errors - I don't have LegOS available at work) int rotation_event_3(wakeup_t data) { if (SENSOR_3 == data) return (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | code
|
|
Hi, I'm a newbie to c++ and legOS. Here is my code. Do you know what is wrong with it cause I don't. Thanks /* s.c*/ #include <unistd.h> #include <dmotor.h> #include <dsensor.h> int main(int argc, char **argv) { /* turn it on */ (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: The Making of "Creative Projects with LEGO Mindstorms"
|
|
Cool site, Ben. Looking forward to your book! -- Bob Fay rfay@we.mediaone.net (URL) Erwin" <ben@alum.mit.edu> wrote in message news:GAsADu.56u@lugnet.com... (...) itself (...) (24 years ago, 26-Mar-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
|
|
| | The Making of "Creative Projects with LEGO Mindstorms"
|
|
(URL) week I had the opportunity to watch my book get printed. The book itself is about the process of making a robot -- so here is a website about the process of making the book -- which itself is very robotic! -Ben (24 years ago, 26-Mar-01, to lugnet.books, lugnet.robotics, lugnet.robotics.rcx)
|
|
| | Re: The sound of train
|
|
Do you have any NQC code? Zhengrong (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx, lugnet.trains)
|
|
| | Re: Library use in LegOS
|
|
Jakob "Fepp" Engblom <fepp@ieee.org> wrote in message news:GAr7Gr.2v3@lugnet.com... (...) handled (...) Each program gets it's own copy (...) Hmmmm. Not sure. Wish I knew more about compiler internals... (...) have (...) It's all custom written - (...) (24 years ago, 26-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: cannot download RCX Code
|
|
(...) You might try disableing the FIFO (if it has one) in the serial port configuration. Depending on what other applications use the serial port, you will probably want to re-enable the FIFO when using those applications. Mike (24 years ago, 25-Mar-01, to lugnet.robotics.rcx)
|
|
| | Re: legOS papers?
|
|
(...) I could do with some technical references for my bibiliography, and so after much searching[1], I can reveal that that AUC is Aalborg University, Denmark. Furthermore, most of the authors can be found in the Computer Science department: (URL) (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: Linking failure when 'making' an lx file
|
|
(...) Syntax error: you are missing a parenthesis at the start, right after the if. But gcc should give a fat error at the ">" sign I believe. if( COND ) STATEMENT; if( (ul_var1 - ul_var2) > sizeof(uchar)) STATEMENT; (...) It is miraculous that the (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: Memory Usage
|
|
(...) Having written a few embedded-systems compilers, I must say that using floating point on an 8-bit chip like the H8 is generally considered crazy. The values eat memory, and the libraries drawn in can get really large (at least for a production (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|