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 / * (-5)
Subject: 
Re: BrickOS Patches and Development
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 17 May 2012 21:36:46 GMT
Viewed: 
29087 times
  
Matthew Sheets wrote:
The Bibo Patch Rollup Collection posted to SourceForge at
http://sourceforge.net/tracker/?func=detail&aid=2773502&group_id=58151&atid=486699
has been updated.

Excellent, Matthew. Many thanks for keeping the project alive and moving
forward.

I've uploaded a little patch with the edge counting (which I needed once
upon a time when I tried to build a plotter without any rotation sensors)
re-implemented in a more sensible way. Here:
https://sourceforge.net/tracker/?func=detail&aid=3527703&group_id=58151&atid=486699

I'm currently working on figuring out all the little quirks of the power
functions protocol (such as what happens with the toggle bit state for
commands where the toggle bit is ignored). Once I have it fully working,
I'll release a patch with power functions control based on Bob Kojima's
code but updated to match the latest PF specification.

Cheers,
//Carl


Subject: 
Re: BrickOS Patches and Development
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 15 Nov 2011 02:10:38 GMT
Viewed: 
32960 times
  
The Bibo Patch Rollup Collection posted to SourceForge at
http://sourceforge.net/tracker/?func=detail&aid=2773502&group_id=58151&atid=486699
has been updated.

New for this update are patches 43 and 44

43: Per the report from SourceForge user bollinge, Cygwin no longer has a
problem building printf.c.  A Cygwin-specific conditional in
lib/c/Makefile.sub was removed.

44: Kernel size optimization - The values for BASE1 and BASE2 have been
declared as constants; however, calculating these values dynamically enables
greater ease of flexibility in handling changes to the kernel image size.
This is change is based on SourceForge tracker 1120793, but this
implementation is different from what was proposed in that tracker and does
not add a dependency on Perl like that tracker implementation would.  This
particular update closes the last currently outstanding patch (apart from
the "(Unofficial) Bibo Release" patch) listed in SourceForge, though I still
have note of a few various and sundry updates posted elsewhere.


Thanks,
Matthew


Subject: 
Lego USB Tower and the Linux Driver
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 10 Sep 2010 01:02:07 GMT
Viewed: 
27452 times
  
An earlier thread [ http://news.lugnet.com/robotics/rcx/legos/?n=4012 ]
touched on changing the baud rate of the USB IR tower.  Based on what
information I have been able to find, it appears that at one time the Lego
USB driver for Linux did include the ability to change the baud rate and
other parameters  (similar to the capabilities available under Windows).

Apparently, though, there was an unresolved issue related to the licensing
of a vendreq.h file from Lego.  This file supported some of the
configuration abilities, but not all of them.  Unfortunately, though, when
vendreq.h was pulled out, it appears no distinction was made between the
configuration capabilities that depended on vendreq.h and those that did
not, and virtually all USB IR tower configuration capabilities were removed.
Or at least, based on what information is still out there that I can find,
that appears to be the story.  Don't hold me to it.  ;-)

Anyway, I have gone through the LegoUSB driver source files and separated
the functionality that uses vendreq.h from the functionality that does not
use vendreq.h.  The good news is, setting the baud rate and carrier
frequency are among the configuration capabilities that do not use
vendreq.h.  The flip side is that this was written for an earlier version of
Linux.

I have uploaded these files to
http://sourceforge.net/tracker/?func=detail&aid=3063120&group_id=36720&atid=417706

Any Linux driver expertise out there?


Subject: 
Re: Kernel freeze when attempting to use rotation sensor
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 17 Jul 2010 01:21:16 GMT
Viewed: 
35252 times
  
Greetings,

I would suggest comparing this code with other programs that make use of
rotation sensors, such as the following:
* LDCC - http://news.lugnet.com/org/ca/rtltoronto/?n=14996
In particular, dccdemo.c uses a rotation sensor as part of a DCC throttle.

* Power Functions - http://news.lugnet.com/general/?n=54443&t=i&v=a
Follow this thread all the way down to the bottom to [
http://www.bong69.com/pages/software.php ].  The code file pf.c uses
rotation sensors.

Perhaps you might see something based on the usage of rotation sensors in
these code files?


Hope this helps,
Matthew


Subject: 
Re: BrickOS Patches and Development
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 17 Jul 2010 01:10:10 GMT
Viewed: 
37408 times
  
Re: Power Functions:
There is an older thread on the topic of Power Functions at [
http://news.lugnet.com/general/?n=54443&t=i&v=a ] which includes links to
some BrickOS-based code for Power Functions.  Be sure to follow the thread
to the end, as some of the links mentioned earlier on no longer work.  The
current working link is [ http://www.bong69.com/pages/software.php ] (scroll
to the bottom of that page).  Note that this code also disables/enables
interrupts.


Re: Interrupts
The LDCC patch, which Mark Riley wrote to output DCC waveforms over the
motor outputs, also disables interrupts, as DCC requires very precise
timings.  Since creating the rollup release noted earlier [
http://news.lugnet.com/robotics/rcx/legos/?n=4057 ], which is itself based
on Jochen's Bibo release, I haven't tried running LDCC without disabling the
interrupts, but based on Jochen's description, I'll have to give that a try.

As a side note, LDCC has also been integrated into pbForth [
http://news.lugnet.com/robotics/rcx/?n=2297 ].

LDCC Links
* http://news.lugnet.com/org/ca/rtltoronto/?n=14996
* http://home.surewest.net/markril/lego/dcc/


Cheers,
Matthew



Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  Brief | Compact

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