| | Re: TIME STAMP for a LNP distributed robot
|
|
Thanks Mark for your idea, it's better to have a different global time than the one of the kernel. Best Regards, CarlosLuis Rendon M. "Mark Riley" <markril@hotmail.com> wrote in message news:HEIyDt.16s5@lugnet.com... (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: TIME STAMP for a LNP distributed robot
|
|
BTW, make sure you include: #include <time.h> Otherwise, get_system_up_time() will only return 16 bits! Mark (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: TIME STAMP for a LNP distributed robot
|
|
Hi, The sys_time variable is the basic timekeeper for BrickOS. It is a 32-bit integer that is incremented every millisecond by the kernel. In older versions of the kernel you could access the variable directly, however, in 0.2.6.10 and later you (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | TIME STAMP for a LNP distributed robot
|
|
Hi, I'd like to make a basic implementation of a time stamp on a distributed schame, using Lamport's algorithm. It states basically that when a node receives a message, it get the time stamp that's contained on it, and compares with it's own, if the (...) (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: brickos-0.2.6.10 .text is not within region ram
|
|
(...) Dear Mark I will check the demo programs and more stuff. If i'm not wrong it looks to me that now we have 16K for the kernel ( c000-b000) = 4Kb more. If i got the results, i'm coming back to the forum. best regards Bernhard (22 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: math.h
|
|
Oh note : you need to compile with -lfloat your kernel if you want to include it into kernel just add -lfloat to $LIBS in the Makefile.kernel nanobapt (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | math.h
|
|
Hello all, I've written some math usefull library ! here is my work. It's not really optimized and I'm afraid cause I see the memory place down ... If someone want help me ... Have fun nanobapt /*test.c*/ #include <math.h> #include <conio.h> int (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Upgrade RCX?
|
|
(...) take a look at Robobricks (URL) also playing around with such an idea, but smaller (most devices should fit in a 2*4 brick) and faster (115 kBaud bus). My first notes can be seen here (URL) regards, Stef Mientki (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.java, lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
|
| | Re: brickos-0.2.6.10 .text is not within region ram
|
|
Hi Bernhard, Apparently the kernel is getting too big! By defining CONF_DSENSOR_MUX, enough extra code was generated to make the kernel exceed 12K. If you go to Makefile.user in the main BrickOS directory, change the following lines: # Base (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|
|
| | brickos-0.2.6.10 .text is not within region ram
|
|
I changed in /boot/config.h the //#define CONF_DSENSOR_MUX //!< sensor multiplexor TO #define CONF_DSENSOR_MUX //!< sensor multiplexor Enviroment: Latest Version: Cygwin 1.3.22-1 WIN2000 brickos-0.2.6.10 + gcc-2.95.2 + binutils-2.10.1 + Hitachi (...) (22 years ago, 6-May-03, to lugnet.robotics.rcx.legos)
|