
Public Member Functions | |
| def | __init__ |
| def | get_remapping |
| def | run |
| def | translate_userdata_to_worldstate |
| def | translate_worldstate_to_userdata |
Public Attributes | |
| state | |
A special Action to wrap a SMACH state. Subclass this class to make a SMACH state available to RGOAP planning.
Definition at line 65 of file smach_bridge.py.
| def rgoap_smach.smach_bridge.SMACHStateWrapperAction.__init__ | ( | self, | |
| state, | |||
| preconditions, | |||
| effects, | |||
| kwargs | |||
| ) |
Definition at line 77 of file smach_bridge.py.
Override this to set a remapping. Actually planned for future use
Definition at line 81 of file smach_bridge.py.
| def rgoap_smach.smach_bridge.SMACHStateWrapperAction.run | ( | self, | |
| next_worldstate | |||
| ) |
Definition at line 95 of file smach_bridge.py.
| def rgoap_smach.smach_bridge.SMACHStateWrapperAction.translate_userdata_to_worldstate | ( | self, | |
| userdata, | |||
| next_worldstate | |||
| ) |
Override to make the state's output available to the worldstate.
Definition at line 90 of file smach_bridge.py.
| def rgoap_smach.smach_bridge.SMACHStateWrapperAction.translate_worldstate_to_userdata | ( | self, | |
| next_worldstate, | |||
| userdata | |||
| ) |
Override to make worldstate data available to the state.
Definition at line 86 of file smach_bridge.py.
Definition at line 77 of file smach_bridge.py.