Code Monkey home page Code Monkey logo

Comments (4)

tthiery avatar tthiery commented on June 18, 2024 1

Interesting

  • Focus on Routines (e.g. RangeCalibrations) similar in vision than the Functions namespace here.
  • Also focus on Technic Motors
  • Implements a hub to device message forwarding similar where nathankellenicki/node-poweredup is heading to.
  • Mixes device and ports
  • Also uses convenience interfaces on technic hub (like PortA/PortB)
  • Implements named commands on (e.g.) motor as an extension

Do not copy/regress

  • Uses Time based awaits to allow device to process message instead of awaiting response (e.g. for SetSingleInputMode)
  • Partial Message parsing

Lesson Learnt to consider

  • Hub owns a Queue for messages
  • Uses CW and CCW abbreviation... SharpBrick.PowerdUP only uses +/- without defining them
  • Guarding by capabilities of the device (e.g. input/output mode, combined modes support, etc)
  • Init BLE connection by known hub ids
  • Support multiple device connections at once (does SharpBrick.PoweredUp?)
  • Usage of netstandard2.0. SharpBrick.PoweredUp uses netstandard2.1 which essentially blocks adoptation by .NET Framework (forever) and UWP (till .NET 5 is out).

from powered-up.

tthiery avatar tthiery commented on June 18, 2024 1

@Vouzamo I took the liberty to analyze to analyze your library Vouzamo/Lego. Very interesting read. Many similar decisions and some interesting outcomes.

from powered-up.

Vouzamo avatar Vouzamo commented on June 18, 2024 1

This is great. I haven't been able to commit much time at all for the past few weeks but keen to contribute anything I can as my availability improves in the coming weeks.

Given that you have already surpassed the capabilities in my repo and addressed some of the deficiencies, I will treat it as a deprecated library / personal project and link to yours once I have time to update it.

Further development and enhancements can be to yours to avoid fragmentation / duplication etc. Let me know how you prefer contributions to work? PRs from feature branches or fork and PR from forked repo etc.

from powered-up.

tthiery avatar tthiery commented on June 18, 2024 1

@Vouzamo See https://github.com/sharpbrick/powered-up/blob/master/CONTRIBUTING.md

If you find something missing in the guide, just open an issue. Since open source and hobby projects like this live from collaboration and everyone's benefit, my goal will be to release Pull Requests quickly after merge. So as soon as there are contributions, I will keep the releases small and on the master branch.

from powered-up.

Related Issues (20)

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.