> For the complete documentation index, see [llms.txt](https://docs.cartographer3d.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cartographer3d.com/cartographer-probe/features/touch.md).

# Touch

Cartographer can make use of the eddy current to repeatably measure the distance from the bed to the probe. By observing this, we are able to stop as soon as the nozzle touches the bed, as the distance will stop decreasing.

## Touch homing

Use `CARTOGRAPHER_TOUCH_HOME` in your start print to home your printer using Survey Touch. Make sure your nozzle is below 150 degrees and make sure your bed is level.

## Measuring touch accuracy

We can check the accuracy of the touch by running `CARTOGRAPHER_TOUCH_ACCURACY`.\
This will run a few touches and output some statistics, like seen below.

> touch accuracy results: maximum -0.063035, minimum -0.065535, range 0.002500, average -0.064035, median -0.063660, standard deviation 0.000848 median absolute deviation 0.000625

## Bed mesh calibrate

{% hint style="danger" %}
Touch Mesh not currently implemented
{% endhint %}

We support touching the bed to calibrate a bed mesh. This can be useful especially to discover probe bias or problem sections of the bed. We can compare the touched mesh to the one generated by scan.

{% hint style="info" %}
Remember to adjust probe count. Executing 400 touches takes a long time.
{% endhint %}

Run `BED_MESH_CALIBRATE METHOD=touch PROBE_COUNT=5,5`

Cartographer will automatically adjust the mesh boundaries based on your configuration, to ensure your nozzle and probe are not off the bed.

> Updating MESH\_MIN from config value (13.0, 11.0) to (13.0, 28.74)\
> Updating MESH\_MAX from config value (215.0, 206.0) to (214.72, 206.0)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cartographer3d.com/cartographer-probe/features/touch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
