pub enum State {
WaitingOrders,
Sensing,
Planning,
Acting,
}Expand description
States of the automaton’s finite state machine.
The automaton cycles through these states as it operates:
WaitingOrders: Idle state, waiting for a goal to be setSensing: Gathering information from the environmentPlanning: Generating an action plan to achieve the goalActing: Executing the planned actions
Variants§
WaitingOrders
Waiting for orders - idle state before receiving goals
Sensing
Sensing the environment - gathering data from sensors
Planning
Planning actions - determining sequence of actions to reach goal
Acting
Acting on the plan - executing planned actions
Trait Implementations§
impl Copy for State
impl Eq for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more