|
Boost Users : |
Subject: Re: [Boost-users] [statechart] state_machinesend_event assertion fails
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2013-06-14 07:35:52
Hi Dustin
> boost::statechart::result Container::react(const e_still&)
> {
> Â Â post_event(i_still_action());
> Â Â post_event(i_still_moving());
> Â Â return discard_event();
> }
>
>
> I am unsure if these reactions are the cause of the assertion failure,
but given that the error message says "Container" is the InitialState, I
have to assume so. Â Given that, I don't see how either Container or
GripperPosition are inactive and don't know how to interpret this
error. Â Â I'd appreciate some guidance.
Your react function looks fine. Do you by any chance directly or indirectly
call state_machine::process_event from inside the state-machine (e.g. in-
state reaction, transition, entry action, exit action, etc.)?
Thanks,
Andreas
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net