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 / 4061
4060  |  4062
Subject: 
Re: BrickOS Patches and Development
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 15 Jun 2010 07:35:44 GMT
Viewed: 
33203 times
  
In lugnet.robotics.rcx.legos, Carl Troein wrote:
Another thing: We should have a good asm implementation of the Power
Functions protocol. I've ordered the Emerald Night collection so soon
I'll have some power functions parts and a reason to control them
with BrickOS. Hopefully that will lead to something.

I've recently mucked about with the Power Functions protocol, and got a proof of
concept running on the RCX using brickOS. The main problem is that it's quite
timing sensitive, so this code only worked reliably with interrupts disabled
(looking at the oscilloscope).

The sample code is at http://www.algonet.se/~yann/powerfunctions.c

The timing requirements are probably more lax in reality (PF protocol spec cites
ranges like 316-526us for a 0 bit), but my code was thrown off by whole periods
(of the 38kHz modulation signal) as other interrupts occurred.



Message has 1 Reply:
  Re: BrickOS Patches and Development
 
Hello Yann, 2010/6/15 Yann Vernier <yann@algonet.se>: (...) I really would prefer to see the interrupt code running to disabling all interrupts for several milliseconds, loosing several ticks and disabling all sensors during this time. Did you apply (...) (14 years ago, 15-Jun-10, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: BrickOS Patches and Development
 
(...) Case in point: when I first started on this post some weeks(!) ago, hoenicke.ath.cx wasn't responding. (...) And it's not getting easier if we've collected different sets of patches and then make further changes based on those... So yeah, we (...) (16 years ago, 31-Mar-09, to lugnet.robotics.rcx.legos)

29 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