> For the complete documentation index, see [llms.txt](https://carec.gitbook.io/carec-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://carec.gitbook.io/carec-docs/documentation/simulation/manual-driving-and-input-simulation.md).

# Manual Driving and Input Simulation

Manual control is the first mobility mode to validate because it establishes the command, controller, odometry, timeout, and stop chain used by later autonomy.

{% stepper %}
{% step %}

### Start the smoke world

Launch the headless or desktop reference world with simulated time, the wheelchair model, controllers, sensors, diagnostics, and safety supervisor.
{% endstep %}

{% step %}

### Confirm the no-motion state

Before sending commands, verify controllers are active, command output is zero, emergency stop is released only by the defined procedure, and no previous command is replayed.
{% endstep %}

{% step %}

### Exercise each direction

Command low-speed forward, reverse, left turn, right turn, and stop. Compare command, wheel state, odometry, and safety output.
{% endstep %}

{% step %}

### Test command loss and takeover

Stop the input publisher and confirm the timeout commands zero. During an autonomous goal, assert manual takeover and confirm navigation authority is cancelled.
{% endstep %}
{% endstepper %}

## Input arbitration checks

* Only one source owns motion authority at a time.
* Emergency stop overrides every source.
* Manual takeover has a bounded, logged response.
* Voice or caregiver commands request motion through the same safety gate; they do not bypass it.
* Loss of a remote or networked input returns to a locally safe state.
* Input source, mode, decision, and rejection reason are observable.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://carec.gitbook.io/carec-docs/documentation/simulation/manual-driving-and-input-simulation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
