background preloader

Play light-Bot

Play light-Bot
Related:  Computer Programming Principles

Google Wall Following Robot « MobotSoft In this simple example we will develop a simulation of a mobile robot that follows the wall to its right. Starting MobotSim Open MobotSim or press the “New” button to start a new project if it is already open. Build a suitable environment You can copy the one from the picture or design your own. Reading sensors Let’s start to write the code that run the simulation. The following instruction triggers a sensor to take a reading and stores the distance value (in meters) in the variable s: s = MeasureRange(0,4,0) The first parameter is the number of robot, the second parameter is the number of sensor and the third parameter is 0 when you don’t want to implement any kind of Certainty Grid method. According to the environment of the picture, we can place the robot 0 at, for example, coordinates X=13, Y=12.5 and orientation angle=0º by mean of this instruction: SetMobotPosition(0, 13, 12.5, 0) Sub Main SetMobotPosition(0,13,12.5,0) s = MeasureRange(0,4,0) End Sub Programming the Wall Follower algorithm About - GENERATIVE GESTALTUNG MobotSoft Learnable Programming Here's a trick question: How do we get people to understand programming? Khan Academy recently launched an online environment for learning to program. It offers a set of tutorials based on the JavaScript and Processing languages, and features a "live coding" environment, where the program's output updates as the programmer types. Because my work was cited as an inspiration for the Khan system, I felt I should respond with two thoughts about learning: Programming is a way of thinking, not a rote skill. Thus, the goals of a programming system should be: to support and encourage powerful ways of thinkingto enable programmers to see and understand the execution of their programs A live-coding Processing environment addresses neither of these goals. Alan Perlis wrote, "To understand a program, you must become both the machine and the program." How do we get people to understand programming? We change programming. Contents A programming system has two parts. The language should provide: Wait.

RoboSumo - Robot programming simulation game RoboSumo is a 3D computer simulation of Robot Sumo. Robot sumo is played by two robots, trying to force their opponent off the playing area. This "sport" is really a king-of-the-hill game played by robots on an elevated platform. In addition to standard robot sumo, RoboSumo includes the use of missiles (optional), which can be used to blast the opponent off the playing area. RoboSumo allows you to program and customize your robot by selecting from multiple body styles, wheel styles, and flag colors. If you don't want to program your robot, you can configure the robot to use remote control, so you can control your robot manually, using the arrow keys, and the space key to fire a missile. Click Here to download the full version of RoboSumo (5.57 MB)March 21, 2005: Added missiles (optional)March 26, 2005: Added Rnd() and Int() functions Screenshots: The RoboSumo IDE with a simple robot program loaded. Here two sumo-bots are competing. This shows a robot firing missiles at it's opponent.

Danc's Miraculously Flexible Game Prototyping Tiles RPGs love PlanetCute So do platformers... One of the commenters on the SpaceCute posts wondered what would happen if you visited one of those delightful spa-like planetoids that decorate our little galaxy of cuteness. Well, now you know. These are Lowest Common Denominator graphics. Some of the fault lies with the existing graphics, be they free sets scrounged from the internet or leftovers from a previous project. 3D graphics are notoriously difficult to convert between formats, are optimized for use on a specific platform and often present a confusing technological challenges to student developers. Even 2D graphics are tricky. The PlanetCute set attempts to wiggle past many of those problems. Building blocks, not tilesets: Instead of having complex tilesets, each block stacks nicely with pretty much any other block. This set is also quite amendable to original games. Why does the world need nice graphics for prototyping? Many developers are driven to improve their graphics.

5.1 Wall follower Algorithm for Maze Robot Maillardet's Automaton at The Franklin Institute In November of 1928, a truck pulled up to The Franklin Institute science museum in Philadelphia and unloaded the pieces of an interesting, complex, but totally ruined brass machine. Donated by the estate of John Penn Brock, a wealthy Philadelphian, the machine was studied and the museum began to realize the treasure it had been given. This Automaton, known as the "Draughtsman-Writer" was built by Henri Maillardet, a Swiss mechanician of the 18th century who worked in London producing clocks and other mechanisms. It is believed that Maillardet built this extraordinary Automaton around 1800 and it has the largest "memory" of any such machine ever constructed—four drawings and three poems (two in French and one in English). Automata, such as Maillardet's Automaton, demonstrated mankind's efforts to imitate life by mechanical means—and are fascinating examples of the intersection of art and science. Mechanics of Memory During the 18th century, people were in a state of wonder over mechanism.

Razor Robotics - Robot Guides for Beginners, Educational Resources, Careers Advice and much more! John Conway's Game of Life The Game The Game of Life is not your typical computer game. It is a 'cellular automaton', and was invented by Cambridge mathematician John Conway. This game became widely known when it was mentioned in an article published by Scientific American in 1970. The Simulation The Rules For a space that is 'populated': Each cell with one or no neighbors dies, as if by solitude. Each cell with four or more neighbors dies, as if by overpopulation. Each cell with two or three neighbors survives. For a space that is 'empty' or 'unpopulated' Each cell with three neighbors becomes populated. The Controls Choose a figure from the pull-down menu or make one yourself by clicking on the cells with a mouse. Java version This page initially contained a Java applet and a Java application you can download. Game of Life Java applet Life is a bit - Edwin Martin <>