This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface QuandoPrecisaExecutar{ | |
public void executar(Robo eeew); | |
} | |
class Robo{ | |
Vetor position; | |
Vetor direction; | |
Robo(double x, double y){ | |
position = new Vetor(x, y); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Robo{ | |
Vetor position; | |
Vetor direction; | |
Robo(double x, double y){ | |
position = new Vetor(x, y); | |
direction = fromTheta(Math.PI/4); | |
} | |
public void mover(double passos){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (Really Simple) PID Class by Ivan Seidel | |
// GitHub.com/ivanseidel | |
// Use as you want. Leave credits | |
class PID{ | |
public: | |
double error; | |
double sample; | |
double lastSample; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Vivo Routers use as default, a 4 digit Hexadecimal password (like 'A8DB', '123F'...) | |
This is a simple script to try lots of them, and find out the right one. | |
Developed by ivanseidel, github.com/ivanseidel | |
*/ | |
var request = require('request'); | |
var async = require('async'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GeddyJs belongsToMany helper module | |
* Ivan Seidel Gomes ([email protected]) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Nossas Bibliotecas | |
#include "Thread.h" | |
#include "ThreadController.h" | |
#include "LinkedList.h" | |
#include "Gaussian.h" | |
#include "GaussianAverage.h" | |
// Bibliotecas externas | |
#include "TimerOne.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2014 Ivan Seidel | |
Light controll for animations and transitions | |
When animating 'fromElement' to 'toElement', with options: | |
$.transition(toElement, fromElement, options); | |
$.transition(toElement, options); | |
$.transition(toElement); |
NewerOlder