-
Notifications
You must be signed in to change notification settings - Fork 95
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 camera and camera server functionality #320
Conversation
In the pre issue, we have alreay have some discuss. 1、For now I think the duplication of proto is ok too; |
If the following commit is ok, then I will continue to add the following funcitons: 2、set video streaming info in camera server to make the subscirbe video streaming working, (support multi video streaming); 3、Add support manual set the camera definition file outside. I know in the camera already support http download inside. |
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.
Thanks, see comment regarding units.
} | ||
float image_interval = 1; // Image capture interval (in s) | ||
float recording_time_s = 2; // Elapsed time since recording started (in s) | ||
float available_capacity = 3; // Available storage capacity. (in MiB) |
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.
I suggest to add the units like the other fields:
float available_capacity = 3; // Available storage capacity. (in MiB) | |
float available_capacity_mib = 3; // Available storage capacity. (in MiB) |
And in other places too.
This PR is all about the basic camera function. |
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.
I think we need to rethink the API. See inline comment.
|
||
message SubscribeStopVideoStreamingRequest {} | ||
message StopVideoStreamingResponse { | ||
int32 stream_id = 1; // video stream id |
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.
Same here, should it have a result?
@tbago just letting you know: I'm now looking into it and will be working on it to get it merged as soon as possible. |
Ok, I would like to contribute to the open source community, so what can I do for now? |
If it's ok I will rebase and force push your branch here with the latest changes I have been doing and we continue from there? |
1981814
to
87fbac0
Compare
Signed-off-by: Julian Oes <[email protected]>
* add storage id in camera side, and then the camera can support multi storage format.
Signed-off-by: Julian Oes <[email protected]>
Signed-off-by: Julian Oes <[email protected]>
87fbac0
to
8184c04
Compare
1、add start stop video streaming in camera server, add streaming id in camera side (the camera can support multi video stream, so the stream id is useful).
2、add subscribe camera mode;
3、add subscribe storage information and capture stauts;