Fuzzy RTOS API
Fuzzy RTOS (1.0)
Download OpenAPI specification:Download
URL: https://flr.io/ License: Apache License, Version 2.0
Interface to FuzzyLogic's RTOS runtime
Add or replace a user-defined controller
Request Body schema: application/jsonrequired
id | integer [ 0 .. 4294967295 ] |
brand | string |
model | string |
custom_name | string |
path | string |
config | string |
Responses
Request samples
- Payload
Content type
application/json
{- "id": 4294967295,
- "brand": "string",
- "model": "string",
- "custom_name": "string",
- "path": "string",
- "config": "string"
}
Response samples
- 200
- 500
Content type
application/json
{- "status": "string",
- "code": -2147483648,
- "message": "string"
}
Start MQTT connection
Request Body schema: application/jsonrequired
ca_cert | string Default: "" |
hostname | string Default: "localhost" |
port | integer [ 0 .. 4294967295 ] Default: 1885 |
bridge_hostname | string Default: "" |
bridge_port | integer [ 0 .. 4294967295 ] Default: 8883 |
Responses
Request samples
- Payload
Content type
application/json
{- "ca_cert": "",
- "hostname": "localhost",
- "port": 1885,
- "bridge_hostname": "",
- "bridge_port": 8883
}
Response samples
- 200
- 500
Content type
application/json
{- "status": "string",
- "code": -2147483648,
- "message": "string"
}
Response samples
- 200
Content type
application/json
{- "robot": {
- "id": 4294967295,
- "brand": "string",
- "model": "string",
- "path": "string"
}, - "controller": {
- "id": 4294967295,
- "brand": "string",
- "model": "string",
- "custom_name": "string",
- "path": "string",
- "config": "string"
}, - "control_mode": "string",
- "joint_positions": [
- 0.1
]
}
Response samples
- 200
Content type
application/json
{- "robot": {
- "id": 4294967295,
- "brand": "string",
- "model": "string",
- "path": "string"
}, - "controller": {
- "id": 4294967295,
- "brand": "string",
- "model": "string",
- "custom_name": "string",
- "path": "string",
- "config": "string"
}, - "control_mode": "string",
- "joint_positions": [
- 0.1
]
}
Start drivers
Request Body schema: application/jsonrequired
controller_id | integer [ 0 .. 4294967295 ] |
robot_id | integer [ 0 .. 4294967295 ] |
dummy_driver | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "controller_id": 4294967295,
- "robot_id": 4294967295,
- "dummy_driver": true
}
Response samples
- 200
- 500
Content type
application/json
{- "status": "string",
- "code": -2147483648,
- "message": "string"
}
Set the value of requested tunables
Request Body schema: application/jsonrequired
Array of objects (TunableValueDto) | |||||
Array
|
Responses
Request samples
- Payload
Content type
application/json
{- "items": [
- {
- "name": "string",
- "value": "string"
}
]
}
Response samples
- 200
Content type
application/json
{- "status": "string",
- "code": -2147483648,
- "message": "string"
}