To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 24144 (-10)
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
Thanks for your help everyone. As predicted, it was simply that I was defining my variables in the program, and it hadn't occurred to me that they were already persistant and I was actually resetting them myself. Can there ever be a better answer (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
(...) Here's a very simple NQC example using the standard LEGO firmware. #pragma noinit int a; task main() { a++; } This simple NQC program will increment global variable zero by one each time it is run. You can turn off the RCX and turn it back on (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
(...) Global variables in the standard LEGO firmware(s) are persistent (i.e., their values are not lost when you turn off the RCX). You describe turning the RCX off and on using the "start/stop" button. I am guessing that you mean the red button (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: An Idea for new Mindstorms - event potential?
 
(...) I'm not knocking the fly, I'm saying that landing on the ceiling is a very difficult problem to solve by realtime calculated piloting (even using a desktop PC). But it needs very little calculation at all if the problem is almost entirely (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: An Idea for new Mindstorms - event potential?
 
Citando Steve Baker <sjbaker1@airmail.net>: Justin wrote: > A fly can land on the ceiling not > because it is smart (it isn't), but because it's body is built such that the > laws of physics themselves automate a process that would be prohibitively (...) (21 years ago, 28-Jun-05, to lugnet.robotics)
 
  Re: An Idea for new Mindstorms - event potential?
 
Justin wrote: > A fly can land on the ceiling not (...) Don't be too hard on the fly's brain. A housefly has about a third of a million neurons. If you think of a neuron as being about the power of a transistor - then there is a computer that's more (...) (21 years ago, 29-Jun-05, to lugnet.robotics)
 
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
(...) Have a look to David Schilling's great presentation: (URL) (21 years ago, 28-Jun-05, to lugnet.robotics)
 
  Re: Does any RCX firmware allow a variable to survice shutdown?
 
On Tue, June 28, 2005 6:38 am, Justin said: (...) I know this is possible with BrickOS. However, it may even be possible with the NQC. I've seen where people use the same value across different programs. You just need to make sure you store the (...) (21 years ago, 28-Jun-05, to lugnet.robotics)
 
  Re: An Idea for new Mindstorms - event potential?
 
While I think mindstorms needs to be computer-programmable out of the box (ie no corner cutting by making the PC interface a seperate acessory), I'm intrigued by the concept of fixed programs as a robotics challenge - for many kinds of robot, far (...) (21 years ago, 28-Jun-05, to lugnet.robotics)
 
  Does any RCX firmware allow a variable to survice shutdown?
 
I'd like my robot to be able to store a variable, such that when I turn the RCX off, then back on again, with the start/stop button, the value of the variable is retained, not wiped. Is there a third-party firmware or something that allows you to (...) (21 years ago, 28-Jun-05, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

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