# Calibration

the calibration process is by default done after the booting sequence of bysense. You can nevertheless redo the calibration if this somehow required:

## Run Calibration when sit down

{% code title="python" lineNumbers="true" %}

```python
#import the SDK module
import bysense_sdk as bysense

# Create a boolean connection variable of the start class
bysense_connection = bysense.start.connect()

# Verify the connection status
if bysense_connection.is_connected():
    print(bysense_connection.lastlog())
    
    bysense.start.run_calibration_sit()
    
else:
    print(bysense_connection.lastlog())
    # Handle connection failure as needed
```

{% endcode %}

{% hint style="warning" %}
Before running the calibration make sure the robot is in the sit position as shown in the starting protocol. If you do not do this there is high chance to break the system by wrong calibrated positions and hitting mechanical limits.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://bywerks.gitbook.io/bysense/mission-development/calibration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
