To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *3579 (-40)
  Re: Memory, Motors and Odd Things
 
(...) Hi Steve, Are you using BrickOS 0.2.6.10? In earlier versions, it was possible for malloc() to return pointers to RAM in the range [F010,FB7F], which was shared with the motor port controller. Writing to this memory adversely affected the (...) (21 years ago, 11-Dec-03, to lugnet.robotics.rcx.legos, FTX)
 
  Re: Logging sensor data
 
(...) That's why I use brickOS nanobapt (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Memory, Motors and Odd Things
 
I ran into something odd, and I'm wondering if someone can explain it. I have a pretty large BrickOS program, (the .lx is about 9k) and it uses around 2k for variables. (I think) I've noticed when the program is running, it's not doing anything with (...) (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) No, I regret to say, you must buy it. Jerry (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) does robolab is free ? nanobapt (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) If you had not already decided to use LegOS/BrickOS you might have used Robolab, which has nice sensor data-logging utilities built-in. I show a sensor log in my project 'The LEGO Level' at (URL) It's very easy to set up. Jerry (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Linux legos install help me please
 
(...) Oups nbo sorry ... not for the moment but I can implement it !! Oh if someone know how to make work the USB tower under linux (to add this function to legnoppix) that would be fun (...) Yes that only this file ... (...) Yes put it in the (...) (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) Arg .... you don't want to use legnoppix or something like that ? I don't know how implement LNPD to cygwin or other stuff like that nanobapt (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Global Objects was Strange RCX startup issues
 
(...) Yes. (...) Yes, I took a peek at the dll code and it looks like only one packet type would have to be extended to add this additional information. When not using the program manager (i.e. linking the user program directly to BrickOS), then (...) (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Linux legos install help me please
 
Wow thanks for the speedy response nanobapt. I am going to attempt to run legnoppix as a guestthrough VMware tonight. I will keep you posted on how that goes. Whati am really interested in is the math. Nano wrote (...) 1st Are you saying that (...) (21 years ago, 10-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Global Objects was Strange RCX startup issues
 
Doh! I think I just answered the question (of course it was After hitting send) Joseph Woolley wrote: [snip] > Also, I have a question (because of my limited knowledge of how the > __ctors and __dtors are managed): Would the two *for* loops in your (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Global Objects was Strange RCX startup issues
 
Mark, This is an interesting issue. Initially, after reading your post, I was thinking that it would be easy to add this support to BrickOS. Of course, this is only partially correct. For NON Task Manager builds (therefore no Program manager), it is (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  RE: Logging sensor data
 
Win 98 and Cygwin Thanks, Allen (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) What OS do you use ? nanobapt (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  RE: Logging sensor data
 
Hi nanobapt, Thanks for your help, I was sort of thinking along these lines. I know very little about LNP so apologies if I come across as a little ignorant. Is there an LNP server I can run on my machine to collect the data sent to the RCX tower? (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) You can combine both solutions ... Storage in the RCX memory and then send it by lnp (after 10 data for example) You need to test :) nanobapt (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  RE: Logging sensor data
 
Hi nanobapt, What I tend to do is sample a sensor every say 20ms and log the data over a period of upto about 5 seconds. In your opinion what would be the best method, local storage or realtime streaming via LNP?, can LNP stream at this speed? (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Linux legos install help me please
 
(...) Hmm rellay difficult to solve .... For your mandrake : make in a term "make > error" and send me (to my personnal mail) the file call error What version of brickOS do you use ? I know that there are error with the gcc 3.X so try (like you (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Logging sensor data
 
(...) How many time do you want to log it ? you can stock it to the RAM or send it by lnp .... nanobapt (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Linux legos install help me please
 
Please help me install legos on Mandrake or help me fix my debian legos and add math.h I am a complete linux novice. 1 I have been enjoying the ease of use of Debian and the apt-get functions and friends with that distribution. For a beginner in (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Strange RCX startup issues
 
(...) This was only a problem when using certain firmware downloaders. If you use firmdl3, then you should be fine. (...) As far as I can tell, I don't think there is any provision in BrickOS to call the constructors and destructors of globals & (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Help w/install _or_ It all went so well
 
(...) You can do make fontdesign in the util directory to create fontdesign.exe I have managed to get brickos-0.2.6.10 working using gcc 3.3.1 on win98 under cygwin, though I had a few problems along the way. At this stage I have only tried a few of (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos, FTX)
 
  Strange RCX startup issues
 
Hello, using brickOS v0.2.6.10... When I declare an object of type Motor and assign it a port outside of main() the RCX does not run the program at all, I have to remove batteries and reload firmware to get it back to normal. Is this related to the (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Remote Message Buttons
 
That doesn't seem to help, doing things that way actually made the Stop and Beep buttons function as Stop and Beep. I was hoping to have all the buttons "raw" messages available to remap their functionality. I think I know how to modify the kernel (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Logging sensor data
 
Hi there, I'm quite new to the Mindstorms and LegOS/BrickOS scene but have recently begun using the kits for robotics purposes in University. They have been a revelation to me and speed up prototyping projects to no end. My question though concerns (...) (21 years ago, 9-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Remote Message Buttons
 
(...) I just use the standard IR message stuff from BrickOS. They are normal messages, so this works just fine. Here are some lines of code: (I think it's in lnp.h) #include <sys/lnp.h> ... clear_msg(); ... if (msg_received != 0) my_message_value = (...) (21 years ago, 8-Dec-03, to lugnet.robotics.rcx.legos)
 
  Remote Message Buttons
 
Hello, Anyone had problems getting the message 1,2,3 buttons working with brickOS? All other remote buttons are working. I am using v0.2.6.10. I looked through the kernel and includes, it looks like in lr_process(), the lr_keys gets checked vs. (...) (21 years ago, 8-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Yes, your summary is correct. Good luck with the rest of your project, Mark (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Mark, Thanks again thanks for the reply. Yes, my main comcern is that the OS tasks move around only after the first power off & on, no time else. And also it was just a typo, the blocks are in order I was looking at the wrong copy of my layout (...) (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) So, if I understand you correctly, your concern is that the OS tasks move around the first time you power off & on, but not anytime thereafter? Assuming this to be the case, then: 1) When you first download BrickOS, there is a large chunk of (...) (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Mark, Thanks for the reply, and sorry I forgot to include some more details I have results from 2 memory scans (the values may be a bit off from each other (i.e. starting addresses, but that is becuase they are from 2 times I ran it, and I (...) (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Hi Mike, It would be helpful to see each of the memory block dumps and some notation as to what actions you took between each dump (i.e. RCX on/off, program downloaded, etc...) Mark (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
Well, I have another problem - this time with Worst Fit. It may be becuase I have been looking at this code for so much time over the past few months, but I have encountered this problem with my implementation and my mind is boggled (as well as (...) (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Editing Makefile (adding comman line arguements)
 
(...) Ed, Thanks for the reply, I will look at that manual, I never knew to look there. I bet it will help me out. Thanks Mike (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: Editing Makefile (adding comman line arguements)
 
(...) Mike, You might start off by checking the manual for GNU Make at (URL) just look within the various makefiles within the brickOS code. Try Makefile.commom at brickOS root. Ed (21 years ago, 7-Dec-03, to lugnet.robotics.rcx.legos)
 
  Editing Makefile (adding comman line arguements)
 
I am trying to edit Makefile in the main brickos dir so that I can access the arguements on the command line when I enter "make _____" to compile the directory. I need to do so because I need to have a certain command execute when the arguements are (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Yeah, very true. Those lines where in there becuase of the error I originally had in my code, but since my code changed (and is correct) those lines are not needed). Thanks Mike (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) BTW, you can delete these two lines of intialization (i.e. lines 12 & 15 in the above function) as the intialized value gets clobbered on finding the first suitable sized block: 12) mm_best_free=ptr; 15) mm_best_free++; //this must point to (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Sure thing sorry, the problem was that I had the wrong variable in one of the if statement, I copied it over wrong from my hand-written notes I made of the Alg ===...=== void *malloc(size_t size) { size_t *ptr,*next, bestSize, *mm_best_free; (...) (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)
 
  Re: My problems with adding a Best Fit algorithm for memory management to kernel/mm.c
 
(...) Fine. Could you please post the solution? I don't like unsolved riddles :) Regards, Michael (21 years ago, 6-Dec-03, to lugnet.robotics.rcx.legos)


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

Redisplay Messages:  All | Compact

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