Code Monkey home page Code Monkey logo

libsumo.net's Introduction

libsumo.net

Here the first full working .Net Parrot Jumping Sumo library in C#.

Feature

  • Full working integration of video in WPF application (Ready to be used with OpenCV)
  • Keyboard piloting class
  • Postures, Animations, Jumps implemented
  • Events (Rssi, PostureState, Battery Level...)
  • Set Volume and AudioTheme
  • Add MultipleDrones Support
  • Audio Improvment
  • Add Race Support
  • Nuget package available

This work was Inspired by https://github.com/iloreen/libsumo, https://github.com/robotika/lamia and https://github.com/frankibem/sumo-control Excellent Work!

Nuget Packages used :

  • log4net
  • Newtonsoft.Json
  • OpenCvSharp3

SumoApplication Feature:

  • Arrows key : Piloting Sumo
  • Animation {1} {2} {3} : (Tap, Ondulation, SlowShake)
  • Postures {F1} : Normal mode {F2} : Kicker {F3} : Auto-Balance
  • {SPACE} {W} {S} : Quick Turn ±180°
  • {A}, {D} : Quick Turn ±90°
  • {ESC} : Disconnect

alt text

Have fun !

libsumo.net's People

Contributors

coyoteprod avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libsumo.net's Issues

Video Streaming not working

Hi,

I got the code running, but video streaming is not working. I'm trying to understand the code and also changing some stuff, but I'm wondering if you looked into streaming?

Greetings
Mathias

Problem with video stream

Hi again,

I checked out the new Version but I always get the stream disconnected. See log:

28.05.2018 18:06:49 Info : Add Capabilities: Jump
28.05.2018 18:06:49 Info : Starting Controller
28.05.2018 18:06:49 Info : Add Capabilities: Jump
Sumo 192.168.2.1 is available
28.05.2018 18:06:52 Info : Connecting to Jumping sumo...
28.05.2018 18:06:52 Info : Connected to drone - Handshake completed with { "status": 0, "c2d_port": 54321, "arstream_fragment_size": 65000, "arstream_fragment_maximum_number": 4, "arstream_max_ack_interval": -1, "c2d_update_port": 51, "c2d_user_port": 21 }
28.05.2018 18:06:52 Info : [SumoSender] Thread Started
28.05.2018 18:06:52 Info : [SumoReceiver] Thread Started
28.05.2018 18:06:52 Info : Date updated to: 2018-05-28
28.05.2018 18:06:52 Info : Time updated to: T180652+0000
28.05.2018 18:06:52 Info : Keyboard Hook installed
28.05.2018 18:06:52 Info : [SumoDisplay] Thread Started
28.05.2018 18:06:52 Info : Piloting Thread Started
28.05.2018 18:06:52 Info : Keyboard Thread Started
28.05.2018 18:06:52 Warn : State of jump load changed: unloaded (1)
28.05.2018 18:06:52 Error : State about the jump motor problem: none (0)
28.05.2018 18:06:52 Info : Media streaming state is: started(1)
28.05.2018 18:06:52 Info : Media streaming state is: stopped(0)
28.05.2018 18:06:52 Info : Drone Name: JumpingSumo-w176542
28.05.2018 18:06:52 Info : Wifi Type:auto_2_4ghz Band:_2_4ghz Channel:2
28.05.2018 18:06:52 Error : [SumoReceiver] socket.recv() timed out with message : Die angegebene Umwandlung ist ungültig.
28.05.2018 18:06:52 Info : [SumoReceiver] Thread Stopped
28.05.2018 18:08:07 Info : Remove Capabilities: Jump

The stream gets killed immediatly, because of a conversion error it seams.
Any ideas?

Thanks and regards
Mathias

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.