Code Monkey home page Code Monkey logo

sioko's Introduction

SIOKO

🤖⚡ Kovinio roboto programinė įranga, remastered

Installation

git clone https://github.com/sarpik/sioko.git
# or:  git clone [email protected]:sarpik/sioko.git
cd sioko/

Running

Tau reikės platformio core (CLI) arba platformio IDE (extension'as VSCode'ui).

platformio run
platformio run --target upload
platformio device monitor --baud 9600

Note - platformio kartais ožuojasi ir meta error'us, nors sukompiliuoja gerai. Sutvarkymui reikia mixuot šias dvi komandas ir kartot viršutinę procedūrą iš naujo, kol pagaliau viskas pavyksta:D

rm    -rf ./.pio/build/
mkdir -p  ./.pio/build/teensy35/FrameworkArduino/

Misc

  1. Įjungus USB, port'as dažniausiai būna /dev/ttyACM0; dar gali būti /dev/ttyUSB0, arba vietoj 0 bet koks skaičius.

Licence

GPL-3.0 © 2018-present Kipras Melnikovas

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

sioko's People

Contributors

kiprasmel avatar

Stargazers

 avatar  avatar

Watchers

 avatar

sioko's Issues

Susitvarkyt su `Serial.print`ais

Bent kovos metu juos visus reikia išjungti, jog neužlaikytų roboto.

Būtų nice pasidaryt toggle'ą, kad galėtum paprastai keitinėt,
maždaug kaip global lygio DEBUG flag'as - ar įjungt, ar išjungt.

Realiai tai galim pasidaryt funkciją ir pagal global / local flag'ą tikrint, so yeah, cool, will do sometime later.

Tai arduino vis dėlto C ar C++?

Motor fn improvements

Motorai su laiku ir vairuoti robotą atskirai nutraukia ir varo pirmyn, jeigu priekis mato. Galbūt varymą į priekį reik įdėt į patį motor fn?

Fix jiggling

Might have to fix front locking "ar priekis ka nors mato"

Port SIOKO to C++

Use platformio to allow cross-platform development with various features and improvements, including C++ support!

This is only the porting part. The part 2 of this is actually re-writing some things the C++ way to either make the code simpler, more efficient, provide additional features, or all of the above.


Using /ladislas/Bare-Arduino-Project, port SIOKO to C++

  • Make compilation work w/ Makefile

    • For Linux
    • For Windows
    • For OS X (I won't be able to test it myself)
  • Make uploading work w/ Makefile


2019-09-10

Turns out this is not as easy as it seems...

Apsirašyt sensorius/pinus naudojant struktūras

Nebeužtenka 1 skaičiuko (obviously). Struktūra atrodytų maždaug taip:

enum Puse {
    kaire,
    vidurys,
    desine
};

struct Sensorius {
    int pinas;
    int kiekLaipsniuPasisukes;
    Puse puse;
    int outputKaiMato;  /** tikrinimui su digitalRead, see #11 */
};

See also: #11

Padaryt automatinius testus sensoriams

Kai apsirašysim share-able sensorių config'ą pagal #12, bus labai lengva jį share'int / exportuot etc. (jeigu reiktų quick, bet netgi geriau būtų pasidaryt šitam pačiame projekte ir tiesiog padaryt script'ukus mano normies komandos nariams, kad galėtų prasicheck'int).

Tai galėtume checkint, ar kiekvienas sensorius bent 1 kartą visus pamatė ir vėl nebematė.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.