Julian Oes
b02c0dd176
Camera: switch to new REQUEST_MESSAGE commands
...
The used commands like REQUEST_CAMERA_SETTINGS and
REQUEST_CAMERA_INFORMATION are deprecated. Therefore, we should
gradually try to move to the new REQUEST_MESSAGE commands.
This commit does so by sending REQUEST_MESSAGE by default but falling
back to the previous commands on the second try and every other retry
after that.
10 months ago
Don Gagne
fbe6126452
Add camera tracking functionality
1 year ago
davidsastresas
8f28f4cbf0
QGCCameraControl.cc: _dataReady: search for possible definition files in resources:
...
This allows definition files to be embedded in resources. It asks
QGCCorePlugin, so it can be overriden from custom builds too
1 year ago
Patrick José Pereira
b53c25bf60
src: Improve debug messages on the camera stream logic
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2 years ago
olliw42
55200937f6
MAVFtp: Allow proper compId as default ( #10488 )
2 years ago
DESKTOP-TG61LAS\Olli
1cb6d39641
QGCCameraControl: support of ownlaod of .xz, .lzma compressed cam definition files
2 years ago
David Jablonski
7bcff05d7d
camera control: do not save ftp downloaded xml file twice
3 years ago
David Jablonski
27efaa4e2b
applied reviewer comments
3 years ago
David Jablonski
109e84ec88
QGCCameraControl: allow to read camera information xml via ftp
3 years ago
Willian Galvani
615278e1f1
QgcCameraControl: reset _resetting if reset fails
3 years ago
Don Gagne
07259f7f02
Remove back compat for < Qt 5.15
4 years ago
Remek Zajac
5aa27b5ba5
Migrate away from enums deprecated going from Qt5.12 to Qt5.15
...
In some instances (touched by this commit) QGC has been using enums deprecated
in Qt5.15. Enum deprecation itself appears to be a new thing (there in C++14, but
seemingly not there in C++11). We have since formally upgraded to C++17
(https://github.com/mavlink/qgroundcontrol/pull/9760 ), but presumably nobody
recompiled against Qt5.15 until I did, saw the errors and found myself needing
to propose this change.
The change itself is trivial and simply follows the migration notes found against
individual deprecated enums.
4 years ago
Beat Küng
dba07c9227
component information: rework to reflect changed MAVLink API
4 years ago
Patrick José Pereira
d8960dcc19
Camera: QGCCameraControl: Add URL information about camera description file
...
This information is necessary for debug while working with multiple cameras
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
930964671a
QGCCameraControl: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Hugo Trippaers
9b88c47c0f
QTime::msec only returns the msec component. Replaced with msecsTo to get the actual elapsed time in msec.
4 years ago
Don Gagne
473758c525
Fix primaryLink null reference problems ( #9160 )
4 years ago
Don Gagne
66753e2111
VehicleLinkManager: Major refactor on how QGC manages comm links ( #9101 )
...
New VehicleLinkManager implementation
5 years ago
DonLakeFlyer
0313356096
Mavlink update
5 years ago
DonLakeFlyer
477602f567
Change VideoManager::grabImage to automatically generate file name
5 years ago
DonLakeFlyer
d6cd32a538
Unified photo/video control which works with mavlink cameras and just video stream
5 years ago
Gus Grubba
c4052eac02
Add option to ignore camel case in FactGroup.
5 years ago
DonLakeFlyer
b70a4f017c
LinkInterface and Vehicle uses mutexes to synchronize writing bytes to the link instead of queued signals
5 years ago
Patrick José Pereira
432b82d26e
QGCCameraControl: Do not use deprecated QString enum with Qt 5.15.0
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Patrick José Pereira
17c3d09788
QGCCameraControl: Fix deprecated QString::sprintf
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Patrick José Pereira
234e581242
QGCCameraControl: Remove deprecated function of QTime
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Andrew Voznytsa
fb03713fc4
Switch VideoReceiver to new API (big refactoring)
5 years ago
Patrick José Pereira
98c2f5d9fd
QGCCameraControl: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Gus Grubba
988a6eb132
Replace email address
5 years ago
olliw42
225d1d15fc
CameraManager: add BatteryStatus handling
6 years ago
Gus Grubba
2647db0e79
Show how to implement custom video manager
6 years ago
Gus Grubba
7e13b6d493
Better debugging message to identify camera issues.
6 years ago
Gus Grubba
1f8db8fb92
Put camera back to Idle if no response.
6 years ago
Stefan Dunca
64a935701c
Add individual zoom controls
6 years ago
Matej Frančeškin
f1569b4aa7
We don't have to restart video when stream config changes
6 years ago
olliw42
7603d6d69e
correct CameraManager displayed available memory
...
QGCCameraControl::storageFreeStr(): use QGCMapEngine::storageFreeSizeToString()
6 years ago
Patrick José Pereira
237642907f
QGCCameraControl: Remove unused variable rangeList
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Patrick José Pereira
4cf5bb4594
QGCCameraControl: Use const reference in for loop
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Matej Frančeškin
b41a6b9ae5
Configure Video Stream: Add bit rate, frame rate and video encoding parameters
6 years ago
Gus Grubba
85dc293700
Check and respect camera storage status
6 years ago
Gus Grubba
0e7f614ddc
Initial secondary (thermal) video support
6 years ago
Gus Grubba
ae63bfe105
Only report missing video stream when relevant
6 years ago
Gus Grubba
c0aec101ca
Fixed logging naming convention for camera control
6 years ago
Gus Grubba
7a05c93381
CP - Video Stream Names
6 years ago
Gus Grubba
976d14bdc2
Request capture status when taking photos
6 years ago
Gus Grubba
4d851c949c
Make sure video streaming is running before accessing the video receiver.
6 years ago
Gus Grubba
9b4adfc65f
CP - Expose known parameters
6 years ago
Gus Grubba
2c7fb09373
CP - Skip video stream auto configure if using Taisync
6 years ago
Gus Grubba
5776de494b
Handle mode change through (known) parameter (if it exists)
...
Keep track of recording time if camera doesn't provide it.
Make sure camera info is received (if camera ACKs the request)
Keep track of camera's heartbeat. Remove camera if not heard from after a while.
Update MAVLink
6 years ago
Gus Grubba
f5d6ff4d15
Move video streaming handling to the camera API.
6 years ago