************************ Core API State Templates ************************ CallbacksState ============== The :doc:`CallbacksState <../API/Templates/CallbacksState.tpl.py>` template is used for creating lambda function callbacks and is specified as follows: .. program-output:: rosrun smacha help CallbacksState -n ConditionalOutcomeState ======================= The :doc:`ConditionalOutcomeState <../API/Templates/ConditionalOutcomeState.tpl.py>` template is used for conditionally selecting an outcome and is specified as follows: .. program-output:: rosrun smacha help ConditionalOutcomeState -n DeleteFileState =============== The :doc:`DeleteFileState <../API/Templates/DeleteFileState.tpl.py>` template is used deleting files from the file system and is specified as follows: .. program-output:: rosrun smacha help DeleteFileState -n PrintUserdataState ================== The :doc:`PrintUserdataState <../API/Templates/PrintUserdataState.tpl.py>` template is used for printing userdata entries to standard output and is specified as follows: .. program-output:: rosrun smacha help PrintUserdataState -n RandomOutcomeState ================== The :doc:`RandomOutcomeState <../API/Templates/RandomOutcomeState.tpl.py>` template is used for selecting a random outcome from a specified list of outcomes and is specified as follows: .. program-output:: rosrun smacha help RandomOutcomeState -n WriteCSVFileState ================= The :doc:`WriteCSVFileState <../API/Templates/WriteCSVFileState.tpl.py>` template is used for writing `CSV files `_ to the file system and is specified as follows: .. program-output:: rosrun smacha help WriteCSVFileState -n