Driver adaption
cm_driver_adaptionTrains IPGDriver to learn a vehicle (basic) or circuit-specific race behavior, saves the learned knowledge, and lets you start, wait for, check, or cancel the adaptation run.
Instructions
Let IPGDriver learn the car (basic) or the car on this circuit (race), and save the knowledge. It takes minutes (basic about 2 standalone, 5 to 20 with MATLAB; race as long as the test run allows): run it only when the car changed noticeably, the race driver lacks knowledge, or the user asks, and tell the user the duration first. Start returns at once; then 'wait' until state is done/failed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "cm_driver_adaption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | basic: learn the car (needed first); race: laps of a closed circuit | basic |
| mode | No | auto: the MATLAB session if connected | auto |
| save | No | Save the knowledge (template file or test run; backed up) | |
| action | Yes | wait: until it ends or timeout_s. close: end the CarMaker GUI the server opened for standalone adaptions (it stays open for the next one; it ends with the server) | |
| testrun | No | Load this test run first (needed standalone) | |
| knowledge | No | Knowledge set to learn into (default: the active one, else DefaultDriverKnowledge) | |
| timeout_s | No | Longest time to wait in s, at most 50 (larger values are cut to 50); call again if not finished | |
| learning_rate | No | race: 0 sensitive .. 1 aggressive |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||