diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/sm_panda_moveit2z_cb_inventory.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/sm_panda_moveit2z_cb_inventory.hpp index 2bf5bce2..e56c5757 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/sm_panda_moveit2z_cb_inventory.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/sm_panda_moveit2z_cb_inventory.hpp @@ -41,6 +41,7 @@ using namespace cl_moveit2z; using namespace cl_keyboard; + namespace sm_panda_moveit2z_cb_inventory { @@ -71,7 +72,9 @@ struct StUndoLastTrajectory; //-------------------------------------------------------------------- //STATE_MACHINE + struct SmPandaMoveit2zCbInventory : public smacc2::SmaccStateMachineBase + { using SmaccStateMachineBase::SmaccStateMachineBase; @@ -85,6 +88,7 @@ struct SmPandaMoveit2zCbInventory : public smacc2::SmaccStateMachineBase>>>>>> humble #include "states/st_move_joints_2.hpp" #include "states/st_move_joints_3.hpp" #include "states/st_detach_object.hpp" diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_acquire_sensors.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_acquire_sensors.hpp index f7451b4c..c0791a35 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_acquire_sensors.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_acquire_sensors.hpp @@ -48,9 +48,11 @@ struct StAcquireSensors : smacc2::SmaccState, OrArm>, StMoveKnownState1, SUCCESS>, Transition, StMoveKnownState1, NEXT> + > reactions; diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_end_effector_rotate.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_end_effector_rotate.hpp index 61b5d2e8..6c0acfa0 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_end_effector_rotate.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_end_effector_rotate.hpp @@ -44,12 +44,14 @@ struct StEndEffectorRotate : smacc2::SmaccState, StMoveKnownState1, SUCCESS>, Transition, StEndEffectorRotate, SUCCESS>, Transition, StMoveEndEffector, PREVIOUS>, Transition, StMoveKnownState1, NEXT> + > reactions; @@ -59,8 +61,10 @@ struct StEndEffectorRotate : smacc2::SmaccState(deltaRadians, tipLink); configure_orthogonal(); } diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_end_effector.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_end_effector.hpp index af65b949..4ffc383a 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_end_effector.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_end_effector.hpp @@ -46,7 +46,9 @@ struct StMoveEndEffector : smacc2::SmaccState, StEndEffectorRotate, SUCCESS>, Transition, StMoveEndEffector, ABORT>, + Transition, StMoveJoints1, PREVIOUS>, + Transition, StEndEffectorRotate, NEXT> > reactions; diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_1.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_1.hpp index 4b9a83e3..7f2f78b6 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_1.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_1.hpp @@ -42,11 +42,13 @@ struct StMoveJoints1 : smacc2::SmaccState, StPause3, SUCCESS>, Transition, StMoveJoints1, ABORT>, Transition, StPause3, NEXT> + > reactions; diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_2.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_2.hpp index 3f0ee6b2..a8a982f0 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_2.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_2.hpp @@ -42,11 +42,13 @@ struct StMoveJoints2 : smacc2::SmaccState, StPause4, SUCCESS>, Transition, StMoveJoints2, ABORT>, Transition, StPause4, NEXT> + > reactions; diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_3.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_3.hpp index db7981bf..4de73896 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_3.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_joints_3.hpp @@ -42,11 +42,13 @@ struct StMoveJoints3 : smacc2::SmaccState, StPause5, SUCCESS>, Transition, StMoveJoints3, ABORT>, Transition, StPause5, NEXT> + > reactions; diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_known_state_1.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_known_state_1.hpp index 4cbb37c2..8e2b12dc 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_known_state_1.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_move_known_state_1.hpp @@ -43,9 +43,11 @@ struct StMoveKnownState1 : smacc2::SmaccState, StPause2, SUCCESS>, Transition, StPause2, NEXT> + > reactions; diff --git a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_pouring_motion.hpp b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_pouring_motion.hpp index 136cc717..d113be48 100644 --- a/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_pouring_motion.hpp +++ b/smacc2_sm_reference_library/sm_panda_moveit2z_cb_inventory/include/sm_panda_moveit2z_cb_inventory/states/st_pouring_motion.hpp @@ -46,7 +46,9 @@ struct StPouringMotion : smacc2::SmaccState, StMoveLastTrajectoryInitialState, SUCCESS>, Transition, StMoveLastTrajectoryInitialState, ABORT>, + Transition, StMoveKnownState1, PREVIOUS>, + Transition, StMoveLastTrajectoryInitialState, NEXT> > reactions;