# joinCircuit

Command (Circuit navigation).

Used to join manually when the vehicle is back on the circuit but too far from where he left it.

Used to join manually when the vehicle is back on the circuit but too far from where he left it.  
Can only be called when the notification [`onCanJoinCircuit`](https://docs.benomad.com/benav-rnc/notifications/on-can-join-circuit.md) is received with the percentage.

## Command

```json
{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "joinCircuit"
}
```

## Responses

### Success

```json
{
    "id": "1",
    "result": {},
    "jsonrpc": "2.0"
}
```

### Error

Possible error codes:

- `NOT_IN_GUIDANCE`: if circuit navigation is not started
- `UNABLE_TO_JOIN_CIRCUIT`: if the navigation is not a "Circuit", or not in "Free Drive" or if the driver is not actually on the circuit.

```json
{
  "jsonrpc": "2.0",
  "error": {
    "code": 1,
    "message": "UNABLE_TO_JOIN_CIRCUIT"
  },
  "id": "1"
}
```
