+ Reply to Thread
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: BotOS - A open project!

  1. #1
    Wire Sofaking Tasuit's Avatar
    Join Date
    Jan 2009
    Location
    Sønderjylland, Denmark
    Posts
    582
    Blog Entries
    9

    Lightbulb BotOS - A open project!

    Hey Guys!
    Well, i had the 'Ran out of ideas!' Thread running.
    And that inspired me to do so research on Robots, Drones and Some other stuff.
    Well, i was looking for some kind of 'Subroutining'([ame=http://en.wikipedia.org/wiki/Subroutine]Subroutine - Wikipedia, the free encyclopedia[/ame]) in the E2 for long.
    i knew that the CPU had that system also, but i never really found it for the E2.
    Well luckily we have this guy called Lying(Lyinginbedmon) in this forums!
    and he had just wrote a tutorial about his drones.
    well, the tutorial did not help me, but i saw that he used a subroutine in one of the code blocks!
    i thought "this cant be" and went into gmod and created a chip with some subroutine, it worked!.
    So now i can finally realize some of the dreams i've been wanting to do.
    One of them is this!.

    Basic info!
    Name: BotOS
    version: 0
    Purpose: Supporting different Modules, it will be able to make many kinds of bots.
    How to: Using alot of E2 functions, we will be able to code modules.
    These modules can then be added to the Mainframe or the 'Core' OS.
    The OS then converts the data, and BINGO, you go it!:P
    Reaction,Looks: A basic IC, With a data socket, supporting different modules. The design will vary
    Control: You will be able to hook up a console screen to an output, and see most of the things its doing, otherwise, its near to fully automatic.

    Advanced Info

    As i mentioned, it uses different modules that you can connect, so the bot design can vary alot from what you want it to be.
    Want an applyforce bot? well, just plug the ApplyForce module in! and the bot will now use that!
    You cant directly choose what the bot will use, that is where the AI part comes in.
    you see, if the bot can choose between using wheels and applyforce, it will choose the most efficient way! Smart, ey?

    You can add extra inputs/outputs
    extra variables (up to 8 extra variables without modifying the code)
    Extra subroutines (unlimited)
    and most of all: it will be a customizable minion.
    You can add a brain!
    A update chip!
    The newest in hover techonology!
    ANYTHING!
    the only thing that limits you! is your creativity! (and then of course, the version of the OS)


    The OS will be very basic the first few days, and the programming will first really begin in 1½ week (going to sweden next week).
    Thats why i put it in here, you can post suggestions, addons, or even your own modules in here (hence the 'A open project!' in the title).
    So, if you want to be a part of this, Post what you think!


    (I will add more info on the way if needed, tell me if you need some more info, or if you dont understand it, hope you enjoy!)

    *UPDATE*
    I started working on the Startup of the OS, and im posting the code so you people can see im actually doing something.
    Dont expect anything awesome from me before i come home from the sweden trip.
    Code:
    @name BotOS Build 0001
    @inputs IOBus GBus:wirelink
    @outputs Bus1
    @persist A B C D
    @trigger all
    #Basic Data Allocation for screen#
    # GBus = Screen
    # IOBus = First Module
    # Bus1 = IOBus Output
    ######################
    GBus:writeCell(2042,9)
    GBus:writeString("Build 0001",20,0)
    ######################
    ######################
    #Here comes the first subroutine#
    if (IOBus) {SetVariableProgram=1}
    if (SetVariableProgram) {
        GBus:writeString("Writing Variables",0,1)
        A = 0
        B = 0
        C = 0
        D = 0
        if (IOBus==1 & SetVariableProgram==1) {Bus1=1, GBus:writeString("Done, Waiting for Respond",0,2)}
        if (Bus1==1 & IOBus==0) {SetVariableProgram=0, GBus:writeCell(2041,1), Bus = 0}
    }
    Last edited by Tasuit; 06-23-2009 at 11:46 AM. Reason: Update

    Creator of the Unofficial servers

  2. #2
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Default Re: BotOS - A open project!

    Hrmm. So you want us to make a Scripted Shell capable of controlling drones?

  3. #3
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: BotOS - A open project!

    E2 doesn't support subroutines... ?

  4. #4
    Wiremod Helper Lyinginbedmon's Avatar
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,659

    Default Re: BotOS - A open project!

    Well if we assumed a model OS for controlling any drone it's given, not only does complexity skyrocket but we'd need some kind of standardised control system for each and every drone to be compatible with the OS.

    Most likely it's an OS within a specific bot that has a control system that can be altered with different chips. Kinda like how the Cronus drone can have module chips wired in for it to walk, dance, and lift dozens of props to hurl at it's enemies.

    And E2 does support subroutines, it's just a lot of people don't tend to realise that because so few use flipswitch variables :P
    Last edited by Lyinginbedmon; 06-22-2009 at 03:16 PM.

  5. #5
    Wire Sofaking Officer Tibbles's Avatar
    Join Date
    Aug 2008
    Location
    Barnus Philbert Boulevard
    Posts
    867

    Default Re: BotOS - A open project!

    Well Syranide, I guess not officially, E2 doesn't have subroutines but can't they be emulated with multiple timers and such?

    And, Lyin. You have too much time on your hands :P. Great work though.

  6. #6
    Wirererer woo482's Avatar
    Join Date
    Jul 2008
    Posts
    283

    Default Re: BotOS - A open project!

    he's not asking you to build it he's asking for you to build Modules we're doing the os/
    core our self
    EDIT: wow I think i posted this a bit too late lol

  7. #7
    Wire Sofaking Tasuit's Avatar
    Join Date
    Jan 2009
    Location
    Sønderjylland, Denmark
    Posts
    582
    Blog Entries
    9

    Default Re: BotOS - A open project!

    Well
    I know we dont have Subroutines, but you can KIND OF, emulate it using If statements inside if statments, and then give that a variable name..
    Uhm, well im not making a system capable of being a fully worked OS where you just give it a chip and it analyses it. But like Lying said, this is more like: i'm giving you the Brain, now you gotta build the face. Uhm, yea i dont really see any better way to explain you this, it will be alot easier when i get some real E2 for you guys, but so far, we only have the basics, we are only at alpha stage :P.

    Creator of the Unofficial servers

  8. #8
    Wirererer woo482's Avatar
    Join Date
    Jul 2008
    Posts
    283

    Default Re: BotOS - A open project!

    I would also like to note we now have a fully working I/O controller I just finished it.

  9. #9
    Wiremod Helper Lyinginbedmon's Avatar
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,659

    Default Re: BotOS - A open project!

    Quote Originally Posted by woo482 View Post
    I would also like to note we now have a fully working I/O controller I just finished it.
    ...could you post it?

    We can't really interact or work co-operatively if we don't know what eachother has done and how.

  10. #10
    Wirererer woo482's Avatar
    Join Date
    Jul 2008
    Posts
    283

    Default Re: BotOS - A open project!

    Yes I know I'll post it later, there's still a few things that need changing and possibly adding some more inputs since there is only 4 at the moment but it's only a few lines of code to add them.

+ Reply to Thread
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Olympus Technologies open testing
    By Lyinginbedmon in forum Installation and Malfunctions Support
    Replies: 75
    Last Post: 02-19-2010, 04:12 AM
  2. Replies: 2
    Last Post: 03-29-2009, 11:14 AM
  3. Easiest way to make a Fort with Buttons to open door on both sides
    By Kamrua in forum Installation and Malfunctions Support
    Replies: 21
    Last Post: 01-02-2009, 10:17 AM
  4. Replies: 3
    Last Post: 08-23-2008, 07:13 PM
  5. SVN: Error: Can't Open 'C:/WINNIT/TEMP/report.tmp' Access denied.
    By turck3 in forum Installation and Malfunctions Support
    Replies: 1
    Last Post: 07-26-2007, 03:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots