Git Product home page Git Product logo

trik-sharp's Introduction

Trik-Sharp

Library for Robotics programming in F#

Trik-Sharp is designed with strong attempt to cope with Rx and TRIK-controller. It provides general methods for working with sensors (IR, Gyroscope, Accelerometer, Light and Noise sensors, Encoders etc.) along with output devices (Servomotors and general power motors, Led stripe and On-board light bulb).

Trik-Sharp can also be freely used without Reactive Extensions due to providing not event-based sensors communication.

Main development language is F# but trik-sharp isn't just F# faced library. All components as well can be effectively used in C# in a natural not disruptive way

##Build tips

You can use library and make robots either with MacOS, Linux or Windows

  • Use Xamarin Studio/Monodevelop or Visual Studio
  • F# 3.0 / F# 3.1
  • .NET/Mono 4.0 framework (is set already in build options)
  • Enable NuGet package restore

##Deploy & Run

###Copying files

For file transferring with Wi-Fi connected TRIK-controller you may use

  • SCP console tool
  • WinSCP if you use Windows

###Deploying for the first time

  • Set up ssh tunnel with controller board (linux ssh tool or Putty can be used)
  • Copy to a robot all files in a folder you got from build
  • Make sure folder contains Trik.Core.dll and libconWrap.so. If it does not then copy these assembly too
  • Copy to a robot Fsharp.Core.dll which can be find GAC

###Running

After you end up with file moving. You can run your application (e.g test.exe) with Mono environment

root@trikboard:~/home/root/test/# mono test.exe

###Future development

For future deployment you only need to move new versions of your program. All external components will remain the same.

You can also make .sh script file with your program to make it accessible from On-board file explorer. So you no longer need connected laptop to run your app

root@trikboard:~/home/root/test/# echo '#!/bin/sh
> mono test.exe' > test.sh 
root@trikboard:~/home/root/test/# chmod +x test.sh

trik-sharp's People

Contributors

kashmervil avatar melentyev avatar romanbelkov avatar iakov 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.