Git Product home page Git Product logo

Comments (4)

ZhenshengLee avatar ZhenshengLee commented on July 30, 2024 1

I will find some time to create a simple enough example to demo this.

from smacc2.

pabloinigoblasco avatar pabloinigoblasco commented on July 30, 2024

What I think you want to do should work.
However I do not know the internal details of your client behaviors and they could be the reason why that is not working.
Could you please create some executable example we could replicate to identify your issue?

I think what you need to know is the following:
Smacc Events must affects to any level in the current state hierarchy (to MsGuardianAutoMode and also to StStandby ). That means that you could use a client behavior in StStandby that post events that triggers the MsGuardianAutoMode transition table.

from smacc2.

ZhenshengLee avatar ZhenshengLee commented on July 30, 2024

I think what I think you want to do should work.

I agree, but it did not work

However I do not know the internal details of your client behaviors

The Cb is alwary receive a topic and if the msg.data == 1, it post a event.

That means that you could use a client behavior in StStandby that post events that triggers the MsGuardianAutoMode transition table.

What I want is to use only a Cb in MsGuardianAutoMode and post events that triggers the transition table in all leaf states of MsGuardianAutoMode including StStandby.

But I found that I have to put Cb, that is configure_orthogonal<OrHmi, CbHmi>(); in all leaf states of MsGuardianAutoMode, other than MsGuardianAutoMode, and leave the only transition table, that is Transition<EvDriveModeOff<CbHmi, OrHmi>, StManual, SUCCESS>, in the MsGuardianAutoMode.

from smacc2.

brettpac avatar brettpac commented on July 30, 2024

Hello @ZhenshengLee, I'm closing this issue for the time being, but I'm happy to reopen it at some point in the future if we can recreate the issue. Thank you.

from smacc2.

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.