-
-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more video streaming info #2231
base: main
Are you sure you want to change the base?
Conversation
tbago
commented
Feb 23, 2024
- unify the camera and camera server stream info;
- support multi camera video stream info;
- add camera video stream info usage example;
@@ -506,11 +506,6 @@ Camera::Result CameraImpl::stop_video() | |||
{ | |||
auto cmd_stop_video = make_command_stop_video(); | |||
|
|||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stop video just mean stop recording video to file, so not need stop video streaming.
9e9c4bc
to
502619b
Compare
* unify the camera and camera server stream info; * support multi camera video stream info; * add camera video stream info usage example;
502619b
to
02853b2
Compare
* unify camera information in camera and camera server; * add camera cap flags in camera and camera server; * add basic example about camera information;
|
||
for (const auto& elem : information.camera_cap_flags()) { | ||
obj.camera_cap_flags.push_back(translateFromRpcCameraCapFlags( | ||
static_cast<mavsdk::rpc::camera::Information::CameraCapFlags>(elem))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the auto generate code is static_castmavsdk::rpc::camera::CameraCapFlags missing Information domain. I just manual add Information in auto generate code.
@@ -169,6 +261,11 @@ class CameraServerServiceImpl final : public rpc::camera_server::CameraServerSer | |||
|
|||
obj.definition_file_uri = information.definition_file_uri(); | |||
|
|||
for (const auto& elem : information.camera_cap_flags()) { | |||
obj.camera_cap_flags.push_back(translateFromRpcCameraCapFlags( | |||
static_cast<mavsdk::rpc::camera_server::Information::CameraCapFlags>(elem))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the auto generate code is static_castmavsdk::rpc::camera_server::CameraCapFlags missing Information domain. I just manual add Information in auto generate code.
Quality Gate failedFailed conditions |