GithubHelp home page GithubHelp logo

Comments (4)

jneuhauser avatar jneuhauser commented on July 17, 2024 1

Sorry for the late reply, I was very busy with other things....

I took a look at the implementation, which looks very clean and is exactly what I'm looking for.
I haven't tested the implementation yet unfortunately, but will do so next week and then close the issue.

Thanks for your great work, I like tbot a lot and hopefully I can contribute some time in the future.

from tbot.

Rahix avatar Rahix commented on July 17, 2024

Hi,

yeah this is a valid usecase and just like you I've hacked around it by just accessing _board in the past... But of course that's a crutch and not a nice solution.

First of all, I want to increase the scope of the issue: Similarly, with board-linux machines using board.LinuxUbootConnector one might also want to access the board machine for information. Here, no option exists at all right now.

The problem essentially exists in the Connector implementations used for target hardware. Right now, it is a wild-west mess of each one doing their own thing. I think the solution here is to create a sort of protocol (in the sense of typing.Protocol) they all adhere to.

This protocol should see each of the machines "running" on the board to have a board property by which we can reference the board machine after it was transformed. I've cobbled together such a thing in PR #66. Can you take a look if that a) fits your needs and b) looks reasonable from your point of view as well?

from tbot.

Rahix avatar Rahix commented on July 17, 2024

Okay, I've merged #66 anyway but kept this issue open so you can still report whether this is enough to accomodate your usecase. If not, I'm happy to revise the changes again.

from tbot.

jneuhauser avatar jneuhauser commented on July 17, 2024

Works like a charm. Thank you.

from tbot.

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.