Morretes em imagem panorâmica

Sobre mim...

Rodrigo Gonçalves de Oliveira (aka MDK), nascido em 1985 na cidade de Curitiba, sendo que atualmente moro em Manaus.

Formado em Ciência da Computação, pela Universidade Federal do Paraná, onde curso o Mestrado em Informática na área de Robótica e Sistemas Operacionais de Tempo Real.

Atualmente trabalhando no INdT (Instituto Nokia de Tecnologia), atuando desenvolvedor de software C/C++.

Meu curriículo (CV) pt|en. Contato pelo IRC (freenode): rodrigo_golive. Algumas outras formas de me contactar:

E-Mail Picasa LinkedIn Facebook YouTube Google+ SoundCloud

Últimos comentários


KWarBots - Colors, Collision Detection and More
0 Trackbacks
Avaliação do Usuário: / 0
PiorMelhor 
Projects - KWarBots
Escrito por MDK   
Ter, 17 de Agosto de 2010 15:31
Avatar

This is a new video for my KDE game project, KWarBots. Here you can see some game objects/items with colors (the color can be changed on the map file, so it's customizable when creating the map).

There the robot collides on this simple maze and always choose the left path to follow. It's sufficient to demonstrate it for now.

If you are curious about the code to control the robot, it's time to see this small piece of the robot code, used on this video:

#!/usr/bin/env kross

import sys
import Robot

def main():
 if (Robot.isMoving() == False):
 Robot.moveForward();

 if (Robot.collided() == True):
 Robot.turnLeft();

Yes, it's just it! And finally, the video:


 
You may send a trackback for this article by using the following Trackback link
No trackbacks

Comentar


Código de segurança
Atualizar