Menu

#285 QView bug with querying the state of QMsm-type state machines

QP
closed
None
1
2024-08-01
2020-12-17
No

Hi,

When using QMsm state machine implementation, the QView doesn't correctly query the current state of the active object. This was tested using the latest QP bundle 6.9.1a.

One of the examples is the following:
Query-AO Obj=ao_led,State=0x08018688

where the state reported is a hex address and only when querying that address is the correct state name in the QS dictionary displayed;

Query-AO Obj=0x08018688,State=AO_LED_battery_charging

When using QHsm implementation, everything works as expected.

Discussion

  • Quantum Leaps

    Quantum Leaps - 2021-01-28
    • status: open --> closed
    • Group: QM --> QP-C-C++
     
  • Quantum Leaps

    Quantum Leaps - 2021-01-28

    Fixed in QP/C/C++ 6.9.2.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel