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 / 1956
1955  |  1957
Subject: 
Re: Is this an error in legOS 0.2.5?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 30 Jul 2001 11:14:26 GMT
Viewed: 
1483 times
  
Or would it be usefull to stop legOS and do a shut-down / power off if • ultra-low
battery is found? May be with some SOS-noise?


Would that really make sense?

Since changing batteries destroys all memory, the program will not survive
despite advance warning about the impending doom of battery low.  In effect,
changing the batteries is equivalent to the batteries going dead.

For a rechargeable device, warnings make sense to make people conserve power
and retain their information. For battery-change devices with no backup, it
doesn't really matter.

Only if the LEGO brick is controlling a dangerous process that runs regardless
of the power of the LEGO brick does a controlled battery-low shutdown make
sense.  In this case, some callback function should be called that would try to
bring the system to a safe state before shutting off the brick.

For other systems, the utility of the LEGO brick is going down with the
battery, so the battery-low indicator should be enough.  If it lights up, go
change the battery so your car/crane/whatever can be up to speed again.

/jakob



Message has 1 Reply:
  Re: Is this an error in legOS 0.2.5?
 
(...) Hmmm, yes, you are right. In fact it woudn't make sense. My actual robot uses a little neural net and if battery goes low, the actual data will be sent to the PC to be saved. For this, it would be nice if the RCX makes some noise, I grab it, (...) (23 years ago, 31-Jul-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Is this an error in legOS 0.2.5?
 
So in the original firmware, the system is shut down if ultra-low battery is detected. If we don't want tot do that, we could change the ">" in the 2nd compare to a "<" to get some hysteresis. Or would it be usefull to stop legOS and do a shut-down (...) (23 years ago, 29-Jul-01, to lugnet.robotics.rcx.legos)

6 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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