← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 9176.b · 生成模型:GPT-6

有限状态机显式表示行为阶段

理解等级:中级

FSM用有限离散状态选择当前控制策略,并以观测事件决定下一状态。状态可对应趋光、避障、沿墙和停止;实现可以有多种形式,不必固定为单个全局变量和一串if,但必须有一致状态与转换语义。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      A simple yet powerful tool to facilitate switching between different behaviors is a so-called finite state machine (FSM). In an FSM, each state is associated with a specific controller. In practice, an FSM consists of a global variable that stores the current state and a series of “if” statements that contain the code that is associated with each unique state. For example, an FSM to

    参考来源

    - 位置:《Introduction to Autonomous Robots Mechanisms, Sensors, Actuators, and Algorithms (Nikolaus Correll, Bradley Hayes etc.)》第11章《任务执行》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Introduction to Autonomous Robots Mechanisms, Sensors, Actuators, and Algorithms (Nikolaus Correll, Bradley Hayes etc.)/_epub-src/OEBPS/xhtml/chapter_11.xhtml) - 结论依据:摘录中关于有限状态机显式表示行为阶段的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:A simple yet powerful tool to facilitate switching between different behaviors is a so-called finite state machine (FSM). In an FSM, each state is associated with a specific controller. In practice, an FSM consists of a global variable that stores the current state and a series of “if” statements that contain the code that is associated with each unique state. For example, an FSM to