adf_core_python.core.agent package#
Subpackages#
- adf_core_python.core.agent.action package
- adf_core_python.core.agent.communication package
- Subpackages
- Submodules
- adf_core_python.core.agent.communication.message_manager module
MessageManagerMessageManager.MAX_MESSAGE_CLASS_COUNTMessageManager.add_heard_agent_help_message_count()MessageManager.add_message()MessageManager.add_received_message()MessageManager.coordinate_message()MessageManager.get_channel_send_message_list()MessageManager.get_channel_subscriber()MessageManager.get_heard_agent_help_message_count()MessageManager.get_is_subscribed()MessageManager.get_message_class()MessageManager.get_message_class_index()MessageManager.get_received_message_list()MessageManager.get_send_message_list()MessageManager.get_subscribed_channels()MessageManager.refresh()MessageManager.register_message_class()MessageManager.set_channel_subscriber()MessageManager.set_is_subscribed()MessageManager.set_message_coordinator()MessageManager.set_subscribed_channels()MessageManager.subscribe()
- Module contents
- adf_core_python.core.agent.config package
- adf_core_python.core.agent.develop package
- adf_core_python.core.agent.info package
- Submodules
- adf_core_python.core.agent.info.agent_info module
AgentInfoAgentInfo.get_change_set()AgentInfo.get_entity_id()AgentInfo.get_executed_action()AgentInfo.get_heard_commands()AgentInfo.get_myself()AgentInfo.get_position_entity_id()AgentInfo.get_think_time()AgentInfo.get_time()AgentInfo.record_think_start_time()AgentInfo.set_change_set()AgentInfo.set_executed_action()AgentInfo.set_heard_commands()AgentInfo.set_time()AgentInfo.some_one_on_board()
- adf_core_python.core.agent.info.scenario_info module
ModeScenarioInfoScenarioInfoKeysScenarioInfoKeys.CLEAR_REPAIR_DISTANCEScenarioInfoKeys.CLEAR_REPAIR_RADScenarioInfoKeys.CLEAR_REPAIR_RATEScenarioInfoKeys.COMMUNICATION_CHANNELS_COUNTScenarioInfoKeys.COMMUNICATION_CHANNELS_MAX_OFFICEScenarioInfoKeys.COMMUNICATION_CHANNELS_MAX_PLATOONScenarioInfoKeys.FIRE_EXTINGUISH_MAX_DISTANCEScenarioInfoKeys.FIRE_EXTINGUISH_MAX_SUMScenarioInfoKeys.FIRE_TANK_MAXIMUMScenarioInfoKeys.FIRE_TANK_REFILL_HYDRANT_RATEScenarioInfoKeys.FIRE_TANK_REFILL_RATEScenarioInfoKeys.KERNEL_AGENTS_IGNOREUNTILScenarioInfoKeys.KERNEL_AGENTS_THINK_TIMEScenarioInfoKeys.KERNEL_COMMUNICATION_MODELScenarioInfoKeys.KERNEL_HOSTScenarioInfoKeys.KERNEL_PERCEPTIONScenarioInfoKeys.KERNEL_STARTUP_CONNECT_TIMEScenarioInfoKeys.KERNEL_TIMESTEPSScenarioInfoKeys.PERCEPTION_LOS_MAX_DISTANCEScenarioInfoKeys.PERCEPTION_LOS_PRECISION_DAMAGEScenarioInfoKeys.PERCEPTION_LOS_PRECISION_HPScenarioInfoKeys.SCENARIO_AGENTS_ACScenarioInfoKeys.SCENARIO_AGENTS_ATScenarioInfoKeys.SCENARIO_AGENTS_FBScenarioInfoKeys.SCENARIO_AGENTS_FSScenarioInfoKeys.SCENARIO_AGENTS_PFScenarioInfoKeys.SCENARIO_AGENTS_POScenarioInfoKeys.VOICE_MESSAGES_SIZE
- adf_core_python.core.agent.info.world_info module
- Module contents
- adf_core_python.core.agent.module package
- adf_core_python.core.agent.platoon package
- adf_core_python.core.agent.precompute package
Submodules#
adf_core_python.core.agent.agent module#
- class adf_core_python.core.agent.agent.Agent(is_precompute: bool, name: str, is_debug: bool, team_name: str, data_storage_name: str, module_config: ModuleConfig, develop_data: DevelopData, finish_post_connect_event: Event, gateway_agent: GatewayAgent | None)#
ベースクラス:
object- get_entity_id() EntityID#
- abstractmethod get_requested_entities() list[EntityURN]#
- handle_connect_error(msg: Any) NoReturn#
- handle_connect_ok(msg: Any) None#
- handler_sense(msg: KASense) None#
- message_received(msg: Any) None#
- post_connect() None#
- send_acknowledge(request_id: int) None#
- send_clear(time: int, target: EntityID) None#
- send_clear_area(time: int, x: int = -1, y: int = -1) None#
- send_load(time: int, target: EntityID) None#
- send_move(time: int, path: list[EntityID], x: int = -1, y: int = -1) None#
- send_rescue(time: int, target: EntityID) None#
- send_rest(time: int) None#
- send_say(time_step: int, message: bytes) None#
- send_speak(time_step: int, message: bitarray, channel: int) None#
- send_subscribe(time: int, channels: list[int]) None#
- send_tell(time: int, message: bytes) None#
- send_unload(time: int) None#
- set_send_msg(connection_send_func: Callable) None#
- start_up(request_id: int) None#
- abstractmethod think() None#
- update_step_info(time: int, change_set: ChangeSet, hear: list[Command]) None#