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 / 2577
2576  |  2578
Subject: 
latest legOS strangeness
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 16 May 2002 05:00:34 GMT
Viewed: 
2290 times
  
I checked out the head of the CVS tree last night and was trying out some of
the new stuff.  I noticed something quite odd and wanted to see if anyone has
any ideas.

When I run programs, and the motors aren't turned on they make a stange
clicking noise.  This happens in a program that never even access the motors.
I've tested this is different motors and they all do it.

Seems stranges and I'm worried about possible dammage.

somethings which is probably unrelated, but I tried playing with the lego
remote, very cool.  But I noticed that after running the motors it shorts them
so the brakes are on, and it stays this way until the RCX is turned off.  Is
this a good behavior, doesn't shorting the motors drain the batteries?

thanks,

mark



Message has 3 Replies:
  Re: latest legOS strangeness
 
(...) To ansswer my own question. The problem was caused by memory corruption. In this case the memory corruption was caused by downloading a very large program in slot 1, and a small program in slot 7. The loading of the program in slot 1 seems to (...) (22 years ago, 16-May-02, to lugnet.robotics.rcx.legos)
  Re: latest legOS strangeness
 
(...) Nope, shorting the motors has no effect on the batteries actually.. when you spin the motor, it acts like a generator... by shorting out the motor you are actually using the motors own reverse emf (electromotive force) to brake system. I (...) (22 years ago, 16-May-02, to lugnet.robotics.rcx.legos)
  Re: latest legOS strangeness
 
I was torn between 'float' and 'brake' when implementing the remote control handler. I eventually opted for 'brake' since that is how the Lego RCX firmware does it. With regard to the strange motor behavior. I too noticed this while debugging the (...) (22 years ago, 16-May-02, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:



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

Custom Search

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