Gus Grubba
357d73bcb5
Add "write only" (extended) parameter attribute.
...
Move MAV_PARAM_TYPE to MAV_PARAM_EXT_TYPE as we're now using the proper MAVLink version.
7 years ago
Gus Grubba
bd61c5ebca
Enable time lapse photo mode
...
Handle survey mode state
8 years ago
Gus Grubba
880ee75d33
Camera control tweaks
8 years ago
Gus Grubba
4d66ea3d58
Adding support for custom value.
8 years ago
Gus Grubba
032eef303b
Parse min, max, step and unit off camera definition file
...
Ignore Fact index if there are no enums (avoid adding an "Unknown" entry)
Add function to convert and clamp a (Fact) value.
8 years ago
Gus Grubba
4dd6853079
Adding support for booleans
...
Adding some more logging
8 years ago
Gus Grubba
eac9d306e6
Keep asking for capture status while camera is not idle.
8 years ago
Gus Grubba
2f17ab70d7
Handle capture status retries when capturing images.
...
Allow plugin to validate parameter setting.
8 years ago
Gus Grubba
4bf286341a
Keep track of photo status (image capture)
...
Don't allow "Take Photo" is status is not idle.
Handle In Progress response (basically, do nothing)
Request capture status when stopping video recording.
8 years ago
Gus Grubba
d3f3230a85
Wait a bit between reset and request parameters
8 years ago
Gus Grubba
dec4ee1f1b
Postpone parameter updates for a bit.
8 years ago
Gus Grubba
d9baef94d5
Instead of resetting all parameters when some parameter change, explicitly define list of parameters that must be requested when a given parameter change.
8 years ago
Gus Grubba
696cf7c826
Allow derived classes to process and validate incoming parameters.
...
Retry requests for storage and capture info.
8 years ago
Gus Grubba
aa490d2c6e
Added the concept of a read only parameter.
...
Removed guess work from what parameters must be refreshed/updated when some other parameter changes. Added a "reset" flag that indicates when a certain parameter changes, the list must be reloaded.
Don't send a signal when setting a fact if the new value is the same.
8 years ago
Gus Grubba
c5fc519e51
Do not try to set limited option. Firmware must handle it on its own. Request new option instead.
8 years ago
Gus Grubba
94504df906
Handle parameter out of bounds when setting options change.
...
Increase param ack timeout.
Retry when param set failed.
8 years ago
Gus Grubba
b9355226e8
Storage in MiB instead of kiB
8 years ago
Gus Grubba
1703a30c7e
c++ ownership and memory guards
8 years ago
Gus Grubba
d2964086d4
Removing old garbage
8 years ago
Gus Grubba
51112deb5a
Rename CAMERA_MODE to avoid conflict with mavlink enum
...
Remove debug output
Fact enumStrings and enumValues can not be changed independently. Therefore you only need one signal.
8 years ago
Gus Grubba
94624aa312
Various fixes and optimizations.
8 years ago
Gus Grubba
25d43fd762
MAVLink cleanup
8 years ago
Gus Grubba
5856f8699f
Camera parameters caching.
8 years ago
Gus Grubba
62c380c610
Missing header under Linux
8 years ago
Gus Grubba
b2eb65ca87
Use signals instead.
8 years ago
Gus Grubba
2995ae9f89
Broadcast camera parameter loading done.
8 years ago
Gus Grubba
2eeee80e13
Move init to constructor
8 years ago
Gus Grubba
e1a936e729
Remove test URL
8 years ago
Gus Grubba
558e1043e4
Error messages
8 years ago
Gus Grubba
a9621d2b59
Handle Facts
...
Handle initial storage
Handle image/video capture and storage.
8 years ago
Gus Grubba
a0321b80dd
Camera definition implementation
8 years ago