Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Search the Community

Showing results for tags 'program'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Location


Interests

Found 4 results

  1. wanou067

    Need a time function program

    Hello, (I don't speak english very well, sorry in advance for errors) I need a program to controll an iron with the in-game time. But i d'ont know how to ask to the computer the in-game time, someone can build a simple program to turn on redstone signal at 6AM, and turn it off at 8PM ? I need the program will be easy to understand, and esay ton configure, annotations are good for this Thank you in advance, bye !
  2. Railgun1

    Drone Dog sitting

    Hello everyone ! I would like a program that could allow a drone to walk my dog autonomously around a building for example, but i not being good at coding on opencomputer, I ask your help Thanks you for you help ^^ i wait you ^^
  3. ComputerEric

    Drone Controll Bios

    Ok!!! Hello! So... I was going along. Coding more for the OpenComputer RFTools Dialing Program when I found out about DRONES! I immediately went and checked them out, and found out there "Basically the microcontrollers of robots." Witch I was sorta sad that you cant have a hard drive on them and so forth, Plus you only have a limited space in the bios that the drone runs on. Anyway, I wanted to find a way to run all the stuff remotely so the drone wouldn't have to do any of the processing. Like a separate computer would tell the drone what to do over a wireless network, but because I wanted it to work at whatever distance I then just used linked cards. This is the bios I use to run the drone: local d = component.proxy(component.list("drone")()) local t = component.proxy(component.list("tunnel")()) while true do local evt,_,sender,_,_,name,cmd,a,b,c = computer.pullSignal() if evt == "modem_message" and name == d.name() then if cmd == "gst" then t.send(d.name(),"gst",d.getStatusText()) end if cmd == "sst" then t.send(d.name(),"sst",d.setStatusText(a)) end if cmd == "mov" then d.move(a,b,c) end if cmd == "gos" then t.send(d.name(),"gos",d.getOffset()) end if cmd == "gve" then t.send(d.name(),"gv",d.getVelocity()) end if cmd == "gmv" then t.send(d.name(),"gmv",d.getMaxVelocity()) end if cmd == "gac" then t.send(d.name(),"ga",d.getAcceleration()) end if cmd == "sac" then d.setAcceleration(a) end if cmd == "glc" then t.send(d.name(),"glc",d.getLightColor()) end if cmd == "slc" then d.setLightColor(a) end if cmd == "dct" then local b, s = d.detect(a) t.send(d.name(),"dct",b,s) end if cmd == "cmp" then t.send(d.name(),"c",d.compare(a)) end end end LINK TO PASTEBIN: https://pastebin.com/cfgsdmQJ So you would run and create the programs on a separate computer or tablet. This made it much easier for me to code it plus I get to use all my APIs! Here is the start of a drone control program: local t = require("component").tunnel --or modem if thats what you use local event = require("event") function doDrone(dronename,dronecommand,arg1,arg2,arg3) t.send(dronename,dronecommand,arg1,arg2,arg3) _, _, _, _, _, name, command, respond1, respond2 = event.pull("modem_message") return {name, command, respond1, respond2} end doDrone("DAVE","mov",0,3,0) --this would make it move up there blocks! All the commands, like "mov", and what arguments they need, and how they respond are in the drone control bios above! (One above the one above, so like two above) I plan on adding support for all the drop components like navigation and such, Or you could do that yourself!
  4. ComputerEric

    Drone Controll Bios

    Ok!!! Hello! So... I was going along. Coding more for the OpenComputer RFTools Dialing Program when I found out about DRONES! I immediately went and checked them out, and found out there "Basically the microcontrollers of robots." Witch I was sorta sad that you cant have a hard drive on them and so forth, Plus you only have a limited space in the bios that the drone runs on. Anyway, I wanted to find a way to run all the stuff remotely so the drone wouldn't have to do any of the processing. Like a separate computer would tell the drone what to do over a wireless network, but because I wanted it to work at whatever distance I then just used linked cards. This is the bios I use to run the drone: local d = component.proxy(component.list("drone")()) local t = component.proxy(component.list("tunnel")()) while true do local evt,_,sender,_,_,name,cmd,a,b,c = computer.pullSignal() if evt == "modem_message" and name == d.name() then if cmd == "gst" then t.send(d.name(),"gst",d.getStatusText()) end if cmd == "sst" then t.send(d.name(),"sst",d.setStatusText(a)) end if cmd == "mov" then d.move(a,b,c) end if cmd == "gos" then t.send(d.name(),"gos",d.getOffset()) end if cmd == "gve" then t.send(d.name(),"gv",d.getVelocity()) end if cmd == "gmv" then t.send(d.name(),"gmv",d.getMaxVelocity()) end if cmd == "gac" then t.send(d.name(),"ga",d.getAcceleration()) end if cmd == "sac" then d.setAcceleration(a) end if cmd == "glc" then t.send(d.name(),"glc",d.getLightColor()) end if cmd == "slc" then d.setLightColor(a) end if cmd == "dct" then local b, s = d.detect(a) t.send(d.name(),"dct",b,s) end if cmd == "cmp" then t.send(d.name(),"c",d.compare(a)) end end end LINK TO PASTEBIN: https://pastebin.com/cfgsdmQJ So you would run and create the programs on a separate computer or tablet. This made it much easier for me to code it plus I get to use all my APIs! Here is the start of a drone control program: local t = require("component").tunnel --or modem if thats what you use local event = require("event") function doDrone(dronename,dronecommand,arg1,arg2,arg3) t.send(dronename,dronecommand,arg1,arg2,arg3) _, _, _, _, _, name, command, respond1, respond2 = event.pull("modem_message") return {name, command, respond1, respond2} end doDrone("DAVE","mov",0,3,0) --this would make it move up there blocks! All the commands, like "mov", and what arguments they need, and how they respond are in the drone control bios above! (One above the one above, so like two above) I plan on adding support for all the drop components like navigation and such, Or you could do that yourself!
×

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.