Giter Club home page Giter Club logo

Comments (10)

github-actions avatar github-actions commented on September 11, 2024

Hello @QiYue-day, thank you for your interest in our work!

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

from opensourceleg.

tkevinbest avatar tkevinbest commented on September 11, 2024

Hi @QiYue-day,

Thanks for filing an issue! Were you able to resolve your problem? If not, we're happy to help. If so, can you please write up a quick blurb on this thread in case someone in the future has a similar issue?

Thanks!

from opensourceleg.

QiYue-day avatar QiYue-day commented on September 11, 2024

I haven't resolved my issue yet. However, upon closer examination of the callback function usage, I couldn't find any obvious issues with it. Even setting the callback function to False didn't prevent the state transition. I suspect it might be due to a hardware environment issue. If so, please let me know. If not, I hope you can help me resolve this problem.
Thanks!

from opensourceleg.

tkevinbest avatar tkevinbest commented on September 11, 2024

An easy test would be using the example FSM controller that ships with the repo. Does that show the same issue?

from opensourceleg.

QiYue-day avatar QiYue-day commented on September 11, 2024

yes

from opensourceleg.

tkevinbest avatar tkevinbest commented on September 11, 2024

Have you confirmed that your OSL's sensor values are reasonable? For example, validated the load cell?

from opensourceleg.

tkevinbest avatar tkevinbest commented on September 11, 2024

Hi. We found a small bug regarding units in the example script and have pushed an update. However, this bug made the switching criteria never met. Once fixed, the script operates as expected on our OSL. Printing out sensor values during the transitions would help me debug further.

from opensourceleg.

QiYue-day avatar QiYue-day commented on September 11, 2024

Yes, I solved the problem, thank you for your help!

from opensourceleg.

tkevinbest avatar tkevinbest commented on September 11, 2024

Can you share what the solution was, in case someone else runs into the same thing?

from opensourceleg.

QiYue-day avatar QiYue-day commented on September 11, 2024

Sure, I modified the callback function invocation to allow it to be called even when there's no hardware, thus achieving my goal. Of course, I don't recommend using it this way because it might lead to some issues when connecting hardware later on.

from opensourceleg.

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.