Re: [Botix-devel] Nesting drivers
Status: Beta
Brought to you by:
vorik2005
|
From: Ger A. <in...@ge...> - 2005-12-04 19:06:30
|
Hi! See the remarks below: Wouter Houweling schreef: >Of course everything is possible, but the main limitation here is >memory. If I would add such complex behavior to the HAL I'm afraid I >need a lot more datastructures. (links between devices, and the type of >link (input, output, multiplex, etc)) > > Okay, lets not do that then. >The relation between multiple devices should reside in the "user" code I >think, although it might be possible if we create an afsm abstraction >where every afsm has a set of devices linked to. (Remember: afsms can >coexist on the same "level") > > Affirmative! :) If nessessary, I can make a seperate (custom) driver for my elevator-sonar etc... >About the integration: I'm still not very happy by the way the hal is >linked to the physical pins at this moment. I need to figure out how to >control the pins via registers directly. > >We could use the current way (using avrlib to drive the pins) for now, >and change the way we drive pins later. Problem is: the whole project is >then only usable on avr32 for the moment. I let this decision up to >you ;-) > > Why is it only usable on avr32 if we use avrlib? I dont understand as avrlib is also for all avr devices. >- Wouter > > /me >On Fri, 2005-12-02 at 21:07 +0100, Ger Apeldoorn wrote: > > >>Hi Wouter, >> >>Can I nest drivers in the HAL? >> >>I want to make a custom driver for my sonar-tower that can make the >>tower go up, make a scan etc. >> >>However, in order to do that, I need to control the servo's and the >>sonar, and read multiple microswitches. I want to use the other drivers >>in to read and use these items. >> >>Is this possible? >> >>When will the HAL be integrated in Botix? No hurry, yesterday is soon >>enough... I'd like to start writing the drivers!! :) >> >>See you later! >> >>Gerrrrrrrrr >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>_______________________________________________ >>Botix-devel mailing list >>Bot...@li... >>https://lists.sourceforge.net/lists/listinfo/botix-devel >> >> > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Botix-devel mailing list >Bot...@li... >https://lists.sourceforge.net/lists/listinfo/botix-devel > > |