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}
}
Bookmarks