-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
Description

- Watch for changes in the answer of the
getActuatorsConfig
action for the selected camera UUID. Until it returns something useful (example below), it should disable all the ActuatorState API-related interface components. Use the answer to populate the channels.
curl 'http://localhost:8080/v1/autopilot/control' \
-H 'Content-Type: application/json' \
-X POST \
--data-raw '{"camera_uuid":"bc071802-2c42-8301-ac36-bc0718022c42","action":"getActuatorsConfig"}'
- The channel configurations should only be sent when the user clicks an "Apply" button. This often automatically reboots the autopilot.
- Add a "Set camera to defaults" button to reset the parameters of a camera to the default.
curl 'http://localhost:8080/v1/autopilot/control' \
-H 'Content-Type: application/json' \
-X POST \
--data-raw '{"camera_uuid":"bc071802-2c42-8301-ac36-bc0718022c42","action":"resetActuatorsConfig"}'
- Add a button to export the Lua script
curl 'http://localhost:8080/v1/autopilot/control' \
-H 'Content-Type: application/json' \
-X POST \
--data-raw '{"camera_uuid":"bc071802-2c42-8301-ac36-bc0718022c42","action":"exportLuaScript"}'
- Add a button to configure the "script" channel (this channel should not be connected to anything), we use it to communicate with the script.
Right now, we can keep this minimal with just the channel number configurations, but this same API allows us to configure channels' min, max, and trim.