Git Product home page Git Product logo

rokot's Introduction

Rokot

Hello, you are on a Rokot Project page

This project was created for the contest Can Sat 2017 in Russia.

Documentation

The computer part is written on Python

Used Python libraries:

Numpy

PySerial

Matplotlib

Drawnow

Used Arduino IDE library:

GY-86

HMC5883L

MS5611

....

Classes:

COMport - class for receiving and primary data from COM ports

The methods of this class:

def __init __ (self, port, bitrate):
        This def initialize an instance
        : Param port: port to which you want to connect, for example, com4, tty5
        : Return self.struct

def _serialGet (self):
        This def return serial data in this moment
        : Return: str
        : Return self.struct

def serialWrite (self, file, struct):         This def write packages to file
        : Param file: file, which is to record
        : Param struct: the package that you want to record
        : Return: void

def readBytes (self, count, array = False, write = False, filename = ""):
This def read com packages and print their
        : Param count: the number of packets that need to be read
        : Param array: the output as an array
        : Param write: write to the file
        : Param filename: name of the file where to write the packets
        : Return: void

def getTupleValues (self, bytes, sep = ","):
This def return data packages in tuple-form
        : Param bytes: string in which one packet is recorded
        : Param sep: separator in a package
        : Return: tuple

def writeCoordinatesFromFile (self, fromf, to):
This def get limited packages from file, filter it and write coordinates in another file
        : Param fromf: the file where data will be taken
        : Param to: file, which will be recorded the coordinates
        : Return: void

rokot's People

Contributors

qnbhd avatar

Watchers

James Cloos avatar  avatar

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.