22#include "rclcpp/rclcpp.hpp"
26namespace introspection
33 transitionMsg.index = transition.
index;
37 transitionMsg.source_state_name = transition.
sourceState->demangledStateName;
45 transitionMsg.event.event_type = transition.
eventInfo->getEventTypeName();
46 transitionMsg.event.event_source = transition.
eventInfo->getEventSourceName();
47 transitionMsg.event.event_object_tag = transition.
eventInfo->getOrthogonalName();
48 transitionMsg.event.label = transition.
eventInfo->label;
51 transitionMsg.history_node = transition.
historyNode;
57 transitionMsg.destiny_state_name = transition.
destinyState->parentState_->demangledStateName;
61 transitionMsg.destiny_state_name =
"";
66 transitionMsg.destiny_state_name = transition.
destinyState->demangledStateName;
rclcpp::Node::SharedPtr globalNh_
void transitionInfoToMsg(const SmaccTransitionInfo &transition, smacc2_msgs::msg::SmaccTransition &transitionMsg)
std::shared_ptr< const SmaccStateInfo > destinyState
std::shared_ptr< SmaccEventInfo > eventInfo
std::string transitionTag
std::shared_ptr< const SmaccStateInfo > sourceState
std::string transitionType